Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001151/0.001151, allocations: 109.9 kB / 17.09 MB, free: 5.98 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.001117/0.001117, allocations: 199 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2536/0.2536, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.502e-05, allocations: 2.281 kB / 442.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001507/0.001542, allocations: 0.557 MB / 443 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000685/0.002238, allocations: 367.2 kB / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.00228, allocations: 0 / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.002304, allocations: 3.938 kB / 443.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.002346, allocations: 3.938 kB / 443.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.002756, allocations: 107.6 kB / 443.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.002833, allocations: 31.92 kB / 443.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.002878, allocations: 7.984 kB / 443.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.002906, allocations: 15.92 kB / 443.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.002957, allocations: 15.92 kB / 443.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.002977, allocations: 4 kB / 443.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.003154, allocations: 111.9 kB / 443.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of combineBinaries: time 6.378e-05/0.003225, allocations: 55.33 kB / 443.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.977e-05/0.003251, allocations: 43.31 kB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.28e-05/0.003268, allocations: 4 kB / 443.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.016e-05/0.003282, allocations: 0 / 443.7 MB, free: 4.43 MB / 318.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.0003101/0.003598, allocations: 292 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.82e-05/0.003622, allocations: 11.89 kB / 444 MB, free: 4.031 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001795/0.003807, allocations: 240.1 kB / 444.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of simplify1: time 1.524e-05/0.003829, allocations: 15.97 kB / 444.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of Alias: time 0.0002587/0.004093, allocations: 128.9 kB / 444.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simplify2: time 1.785e-05/0.004121, allocations: 27.97 kB / 444.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of Events: time 0.0001175/0.004244, allocations: 67.81 kB / 444.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003192/0.00457, allocations: 92 kB / 444.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of Partitioning: time 7.58e-05/0.004656, allocations: 60.09 kB / 444.6 MB, free: 3.316 MB / 318.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: {}