The dynamic behavior of the flexible beam, which is pulled into the slit of the elastic wall with a constant velocity, is discussed with multibody dynamics formulation and experiments. The vibration of the free tip of a flexible beam increases rapidly as pulling into the slit, and this behavior is called “Spaghetti Problem”. The effect of gap size of the slit on the behavior of Spaghetti Problem is especially focused. Dynamic behavior of the beam is simulated numerically and examined the accuracy of the presented formulation by changing the gap size and the pulling velocity of the beam as parameters. It is clarified that the presented modeling method simulates the experimental results quite well, and the gap size and the pulling velocity influence the increase of the lateral vibration near the inlet of the slit.