If two magazines were used, I'd suspect the gun. I'd be inclined to think it is a break-in thing but you didn't tell me how long you had the gun. The slide has much less velocity when released by hand or from the slide release than it does when firing.
Many things could be at fault:
-Interference between the slide stop and the top cartridge in the magazine.
-Burr on the feed ramp.
-Ammunition incompatible with gun.
-Binding recoil spring or locking lugs keeping the slide from going into battery.
If the malfunction is merely the slide failing to go fully into battery, it's a break-in thing to be sure. Thoroughly clean the gun and then grease the recoil lug contact area (the area where the rear blocky part of the barrel contacts the slide). Use Tetra-Grease or a similar super-grease. Grease the slide rails where they contact the steel inserts on the frame. Grease the inserts also. Finally, grease the slide stop.
Fire the gun. Be sure to take two types of ammo with you. Try loading three rounds in the mag to see if you can duplicate the malfunction when firing the gun.
Break-in is a normal period of time where the gun must wear away high spots or irregularities on contact surfaces. On most guns, you can count on 200 rounds being reasonable. After this, many recommend shooting a further 10 boxes through the gun to make sure you will not have any malfunctions at all. I do this without cleaning the gun in a marathon afternoon session usually. If it doesn't jam here, you're set. Clean and lube it again and trust it with your life.
------------------
God made us in his own image.
Thomas Jefferson made us free.
John Browning made us equal.
Without Browning, we might not know about the other two...