Behavior of a free surface of a magnetic fluid containing a magnetizable cylinder