My guess is that someone kit-bashed it. I recognize the Marx pickup and others have suggested a Marx motor. It looks like a European tender, with barrel added and a heavily modified engine that was kit-bashed using many European parts.
The boiler looks as if it is hand painted and hand lettered, the railing at the rear looks like it is home-made and soldered together and the same goes for the smokestack struts.