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.001035/0.001035, allocations: 102.3 kB / 18.46 MB, free: 4.613 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.001039/0.001039, allocations: 192.2 kB / 19.39 MB, free: 3.688 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.358/1.358, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2096/0.2096, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.344e-05, allocations: 2.281 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001428/0.00146, allocations: 0.5362 MB / 471.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.002217, allocations: 358.7 kB / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.00226, allocations: 0 / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.002282, allocations: 3.938 kB / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.002324, allocations: 3.938 kB / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.00277, allocations: 111.6 kB / 472.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.00286, allocations: 27.97 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.002916, allocations: 7.984 kB / 472.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.002947, allocations: 11.94 kB / 472.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.003001, allocations: 11.92 kB / 472.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.003022, allocations: 4 kB / 472.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.003235, allocations: 115.9 kB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of combineBinaries: time 6.65e-05/0.00331, allocations: 67.19 kB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.258e-05/0.003338, allocations: 39.41 kB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.154e-05/0.003356, allocations: 3.938 kB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.713e-06/0.003367, allocations: 0 / 472.4 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.0004008/0.003774, allocations: 304 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.162e-05/0.003812, allocations: 15.95 kB / 472.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002584/0.004076, allocations: 216.1 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplify1: time 2.232e-05/0.004106, allocations: 19.97 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Alias: time 0.0003234/0.004434, allocations: 140.6 kB / 473.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplify2: time 2.324e-05/0.004467, allocations: 19.97 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Events: time 0.0001481/0.00462, allocations: 64.06 kB / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001846/0.004813, allocations: 92 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Partitioning: time 9.816e-05/0.004919, allocations: 72.03 kB / 473.4 MB, free: 10.82 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: {}