Great question. There are expansion joints in the concrete itself (not the rail) every 18m, and the rail is stressed. Between that and being secured so tightly, it isn't going anywhere.
Buckling is a real thing in ballasted track in environments with big temperature swings, if you aren't careful!
Buckling is a real thing in ballasted track in environments with big temperature swings, if you aren't careful!