Ducati factory rider Enea Bastianini set the new MotoGP Sepang lap record on the second day of the first pre-season test.