If it sounds "exactly as if it ran out of fuel," that's probably what it did.
When warming up, even at fairly high speed, the engine isn't using a lot of fuel. So the problem could still be with fuel supply.
One way to find out would be to remove the air cleaner. Start the engine, warm it up...