7: I'm 99% sure none of my washers have ever had an integrated lint trap. I ziptie a mesh-sock trap onto the drain hose so it doesn't clog the washtub drain, and the amount of stuff it accumulates means that any machine-internal lint trap would've been clogged solid in the first few months. There's no mention of one in the manual, either.
I wonder if I didn't drain it upward into a washtub, but downward into a floor drain, if that would eliminate the water-left-in-hoses problem...
On mine it is a circular item that you can twist out. If I do it before draining water comes dumping out of that. So I drain then clean that thing. Bit of hot water and a bit of scrubbing.
Have you tried vinegar in the wash and wool dryer balls? I pre-wash with vinegar and add an extra rinse cycle. It's way better than fabric sheets and the balls also speed up the drying process.
And vinegar is a pretty good cleaning agent all by itself.
I think washers may leave a bit of water in the "sump" so that the pump doesn't run dry. Running dry is typically not good for pumps. Shouldn't need to be a lot though.
If you're pouring bleach into your machine, it can erode the rubber seals. I use Dettol instead (I think it's called Lysol in the States), which seems to do the job.
How I got rid of it.
1) do not use liquid detergents. powder only. My working theory is the medium used to make it gooey was sticking and giving the mold a good medium to live in.
2) do not use liquid fabric softeners. see #1. I use a fabric sheet on drying.
3) clean cycle once a month
4) washer tablet in with the wash clean cycle, I alternate with bleach every other month.
5) leave the door open between washes
6) drain out the water from the 'pigtail' once every 6 months, or whatever the documentation recommends. It is not just for when you move it. It is meant for the next step.
7) clean out the lint trap. Many have this just before the drain out and before the pump. That thing can get really gunked up. especially with liquid detergents/softners. I use the same schedule as the drain out.
#1 and #2 were the main sources for me. Took about 2-3 weeks before the smell was gone.
For my samsung I would say about a 1/4 gallon is left in the hoses.