Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001337, allocations: 105.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 177.5 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2057/0.2057, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.741e-05, allocations: 2.281 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00191/0.001946, allocations: 0.5351 MB / 471.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008174/0.002776, allocations: 370.7 kB / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.002823, allocations: 0 / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.002849, allocations: 3.938 kB / 472.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.002899, allocations: 0 / 472.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.003493, allocations: 107.6 kB / 472.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.536e-05/0.003587, allocations: 35.91 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.003648, allocations: 4 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.003683, allocations: 11.92 kB / 472.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.00375, allocations: 19.91 kB / 472.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.003773, allocations: 4 kB / 472.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.004043, allocations: 115.9 kB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001029/0.004154, allocations: 67.16 kB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.224e-05/0.004182, allocations: 39.41 kB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.004202, allocations: 0 / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.796e-06/0.004218, allocations: 4 kB / 472.5 MB, free: 11.94 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.000447/0.004669, allocations: 296 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.255e-05/0.004709, allocations: 11.98 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002896/0.005006, allocations: 228.1 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplify1: time 2.2e-05/0.005037, allocations: 15.97 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Alias: time 0.0003734/0.005416, allocations: 140.5 kB / 473.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplify2: time 2.607e-05/0.005454, allocations: 20.17 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001623/0.005622, allocations: 78.73 kB / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Events: time 0.0001583/0.005792, allocations: 67.88 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001141/0.005915, allocations: 68.03 kB / 473.4 MB, free: 10.84 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: {}