The optimal-velocity model is extended in simulating traffic dynamics on nonlinear roads. The objective velocity for the extended model is continuously varied with change of road curvature. Dynamical transition appears in the congested phase for the model. The transition is caused by the structure change between the finite-lifetime jam and the infinite one.