Ante,
A triangle wave can be extremely linear if you use an integrator that is made from an opamp that has a voltage-gain of 100,000 or more, and use a low frequency.
Of course the linearity drops at higher frequencies.
Gross linearity error can be seen as a departure from a straight line on a...