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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 111.9 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 211.3 kB / 23.74 MB, free: 5.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.618/1.618, allocations: 230.2 MB / 257 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2796/0.2796, allocations: 46.91 MB / 360.1 MB, free: 4.863 MB / 286.1 MB " [Timeout remaining time 179] 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=5000,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=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.012e-05, allocations: 2.281 kB / 0.4953 GB, free: 8.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001696/0.001726, allocations: 0.5307 MB / 0.4958 GB, free: 8.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.002521, allocations: 374.7 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.002551, allocations: 4 kB / 0.4962 GB, free: 7.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.002568, allocations: 3.938 kB / 0.4962 GB, free: 7.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.002611, allocations: 7.938 kB / 0.4962 GB, free: 7.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.00312, allocations: 99.64 kB / 0.4963 GB, free: 7.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.0032, allocations: 23.98 kB / 0.4963 GB, free: 7.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.003252, allocations: 11.92 kB / 0.4963 GB, free: 7.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.003281, allocations: 11.92 kB / 0.4963 GB, free: 7.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.003336, allocations: 19.92 kB / 0.4963 GB, free: 7.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.003355, allocations: 4 kB / 0.4963 GB, free: 7.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.003578, allocations: 115.9 kB / 0.4964 GB, free: 7.344 MB / 366.1 MB Notification: Performance of combineBinaries: time 8.234e-05/0.00366, allocations: 71.16 kB / 0.4965 GB, free: 7.273 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.017e-05/0.003691, allocations: 39.45 kB / 0.4965 GB, free: 7.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.003708, allocations: 7.938 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.165e-06/0.003716, allocations: 0 / 0.4966 GB, free: 7.227 MB / 366.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.0004644/0.00418, allocations: 300.8 kB / 0.4968 GB, free: 6.812 MB / 366.1 MB Notification: Performance of FunctionAlias: time 3.458e-05/0.004215, allocations: 10.8 kB / 0.4969 GB, free: 6.805 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0003351/0.00455, allocations: 208.5 kB / 0.4971 GB, free: 6.574 MB / 366.1 MB Notification: Performance of Simplify 1: time 6.41e-05/0.004614, allocations: 56.33 kB / 0.4971 GB, free: 6.492 MB / 366.1 MB Notification: Performance of Alias: time 0.0004089/0.005023, allocations: 149.1 kB / 0.4972 GB, free: 6.289 MB / 366.1 MB Notification: Performance of Simplify 2: time 7.033e-05/0.005093, allocations: 52.41 kB / 0.4973 GB, free: 6.211 MB / 366.1 MB Notification: Performance of Remove Stream: time 5.924e-05/0.005153, allocations: 52.39 kB / 0.4973 GB, free: 6.133 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002589/0.005411, allocations: 126.9 kB / 0.4975 GB, free: 5.969 MB / 366.1 MB Notification: Performance of Events: time 0.0001484/0.00556, allocations: 59.88 kB / 0.4975 GB, free: 5.91 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001191/0.005679, allocations: 79.98 kB / 0.4976 GB, free: 5.824 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: 3.1037425650283694]