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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 110.4 kB / 20.54 MB, free: 1.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 188.2 kB / 23.72 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 225.6 MB / 252.3 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1947/0.1947, allocations: 44.92 MB / 352.4 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 180] 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=5000,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=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.239e-05, allocations: 2.281 kB / 495.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001367/0.001389, allocations: 0.5323 MB / 496.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000652/0.002041, allocations: 377 kB / 496.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.002072, allocations: 4 kB / 496.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.002086, allocations: 3.938 kB / 496.8 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.189e-05/0.002118, allocations: 7.938 kB / 496.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.002484, allocations: 95.66 kB / 496.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.46e-05/0.002549, allocations: 31.91 kB / 496.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.002594, allocations: 7.938 kB / 497 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.369e-05/0.002617, allocations: 15.92 kB / 497 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.002661, allocations: 19.92 kB / 497 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.002673, allocations: 0 / 497 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.002865, allocations: 123.9 kB / 497.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of combineBinaries: time 6.34e-05/0.002928, allocations: 55.31 kB / 497.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.714e-05/0.002955, allocations: 51.3 kB / 497.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.134e-05/0.002967, allocations: 4 kB / 497.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.512e-06/0.002973, allocations: 3.938 kB / 497.2 MB, free: 0.5898 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.000374/0.003347, allocations: 298.9 kB / 497.5 MB, free: 184 kB / 350.1 MB Notification: Performance of FunctionAlias: time 3.546e-05/0.003383, allocations: 22.73 kB / 497.5 MB, free: 164 kB / 350.1 MB Notification: Performance of Early Inline: time 0.000242/0.003625, allocations: 200.5 kB / 497.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Simplify 1: time 6.478e-05/0.003689, allocations: 60.34 kB / 497.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Alias: time 0.0002969/0.003986, allocations: 133 kB / 497.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Simplify 2: time 6.493e-05/0.004051, allocations: 60.53 kB / 498 MB, free: 15.58 MB / 366.1 MB Notification: Performance of Remove Stream: time 5.136e-05/0.004103, allocations: 56.39 kB / 498 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Detect States: time 0.000195/0.004298, allocations: 116 kB / 498.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Events: time 0.0001302/0.004428, allocations: 59.88 kB / 498.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001094/0.004537, allocations: 80.05 kB / 498.3 MB, free: 15.2 MB / 366.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real y2dd [ALGB] (1) Real ydd (2|2) Unmatched Equations *************************** [SCAL] (1) k2 = k2a + k2b * time ($RES_SIM_6) [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) " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.396032956428826]