Some components in Double horse head (DHH) pumping unit may occur cracking failure due to high cycle alternating stress, and this makes the research on dynamic stress simulation for them more interesting topic in its maintenance operation. This paper aims to improve the accuracy of dynamic stress simulation model through a parameter optimization method for the cable joints in DHH pumping unit. A series of cylinders was employed to model the steel cable, and the back horse head was also transformed to flexible body, then a rigid-flexible multibody dynamics model with cable was constructed to simulate the dynamic stress of components in DHH pumping unit. Stiffness and damping coefficient in cable joints have a significant effect on the model performance, and an unreasonable value may cause a strong vibrational and undesirable model response, therefore, a Memetic Algorithms based method was proposed to optimize them for improving the simulation accuracy using tested stress as objective function. Results show that the dynamic stress simulated from improved model is much closer to the experimental test compared with the original model, and these optimized parameters are also valid for the model in other working condition.