add test from https://trac.modelica.org/Modelica/ticket/1575
partial only