As John says, if you amble along in traffic for any length of time the system fills with soot, when you rev it hard it dislodges it so what you are actually seeing is soot not smoke, go back giving it a good thrash on the way and it will probably pass.
Peter