Both locomotives are US Army Transportation Corps tank locomotives. Hundreds of them were built during WW2 and were widely used across Europe during and after the war. Many were built under license - for instance, the same locomotives were made under license in Yugoslavia.