Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009245/0.0009245, allocations: 114.5 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 217.1 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.125/1.125, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1738/0.1738, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/9.889e-06, allocations: 2.281 kB / 481.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0009999/0.001017, allocations: 0.5427 MB / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005492/0.001577, allocations: 366.6 kB / 482.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.001607, allocations: 0 / 482.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.001625, allocations: 0 / 482.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.875e-05/0.00166, allocations: 7.938 kB / 482.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.00198, allocations: 99.64 kB / 482.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.721e-05/0.002046, allocations: 23.98 kB / 482.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.002088, allocations: 15.88 kB / 482.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.002114, allocations: 15.97 kB / 483 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.002159, allocations: 23.86 kB / 483 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.002174, allocations: 0 / 483 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.002344, allocations: 115.9 kB / 483.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of combineBinaries: time 5.573e-05/0.002406, allocations: 55.23 kB / 483.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.819e-05/0.002429, allocations: 39.41 kB / 483.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.042e-05/0.002444, allocations: 4 kB / 483.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.811e-06/0.002454, allocations: 0 / 483.2 MB, free: 2.875 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 (9) * Number of variables: 9 (9) Notification: Performance of Bindings: time 0.0002805/0.002738, allocations: 296 kB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.316e-05/0.002767, allocations: 11.95 kB / 483.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002062/0.002979, allocations: 232.1 kB / 483.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simplify1: time 1.809e-05/0.003004, allocations: 15.97 kB / 483.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Alias: time 0.0002206/0.003229, allocations: 136.6 kB / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simplify2: time 2.123e-05/0.003266, allocations: 24.16 kB / 483.9 MB, free: 2 MB / 350.1 MB Notification: Performance of Events: time 0.0001034/0.003375, allocations: 63.83 kB / 484 MB, free: 1.938 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001154/0.003497, allocations: 88.06 kB / 484 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Partitioning: time 7.999e-05/0.003584, allocations: 68.09 kB / 484.1 MB, free: 1.762 MB / 350.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real y2dd slice: {} [ALGB] (1) Real ydd slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) k2 = k2a + k2b * time ($RES_SIM_6) slice: {} [SCAL] (1) y = smooth(2, if $SEV_0 then k1 * ((-1.0) + time) ^ 2.0 else if $SEV_1 then -k2 * ((-1.0) + time) ^ 2.0 else if $SEV_2 then Modelica.Fluid.Utilities.regSquare2.regSquare2_utility((-1.0) + time, x_small, k1, k2, false, 1.0) else -Modelica.Fluid.Utilities.regSquare2.regSquare2_utility(-((-1.0) + time), x_small, k2, k1, false, 1.0)) ($RES_SIM_5) slice: {}