Your smelling gas because your car isn't getting spark, but the injectors are still spraying. If it were just one cylinder, I'd say it's possibly a bad or leaky injector, but two going at the same exact time is pretty rare.
If it's under warranty, have it towed in and let them handle and pay for it. Do not drive it while it's misfiring.
If it were me, I'd start pulling spark plugs for cylinder 1 and 3 and check to see how they look. Make sure they're correctly torqued down if they look good. Did you have any recent work done?