I don't think it's quite like that, I think it's more that an important part of these drugs is the release mechanism - and any two given brands will work differently for a given person.
I take long release methylphenidate (Ritalin/Concerta being the most known brands). I started with Medikinet because that's the main recommendation from my healthcare provider. It turned out it releases most of the dosage in the short term and at 40mg doses I constantly felt like I was at an airport with my boarding gate closing in seconds.
Moved to Meflynate, which is also methylphenidate hydrochloride, and now I'm a happy bunny.
My point being - it's not that generics are bad necessarily, it's more like, only a certain brand(s) will work for you. Whether for you that's the more expensive or cheaper one, it's a bit of a lottery really.