This paper compares the results of a real linear synchronous motor and its digital twin. It differs from other common publications in that it uses only basic mathematical models representing a particular physical principle. In this way, a minimum of input parameters was achieved. At the same time, all model input parameters are normally listed in the motor datasheet or are easily measurable. Nowadays, digital twins are very important for the development of new machines. Achieving accuracy using the finite element method is possible, but the time requirement does not allow real-time simulations. The digital twin in this paper is based on a mathematical model involving temperature dependence. The real motor is loaded at different operating points to better evaluate the quality of the model. The structure of the control loops has a significant effect on the response of the digital twin, so the design is based on the motor driver used. The text focuses on linear synchronous motors, but the methods used can be generalized to the plane of rotary synchronous motors.