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.00567/0.00567, allocations: 106.4 kB / 21.99 MB, free: 5.207 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.001803/0.001803, allocations: 206.5 kB / 25.3 MB, free: 3.215 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.272/1.272, allocations: 230.2 MB / 258.7 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 179] 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.1964/0.1964, allocations: 46.94 MB / 362.1 MB, free: 4.414 MB / 286.1 MB " [Timeout remaining time 180] 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 1.495e-05/1.495e-05, allocations: 4.812 kB / 0.4978 GB, free: 7.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001253/0.001267, allocations: 0.5401 MB / 0.4983 GB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006366/0.001904, allocations: 378.7 kB / 0.4986 GB, free: 6.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.001925, allocations: 0 / 0.4986 GB, free: 6.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.001945, allocations: 7.938 kB / 0.4986 GB, free: 6.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.46e-05/0.001969, allocations: 3.938 kB / 0.4987 GB, free: 6.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.002302, allocations: 99.64 kB / 0.4987 GB, free: 6.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.002363, allocations: 23.92 kB / 0.4988 GB, free: 6.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.002406, allocations: 15.92 kB / 0.4988 GB, free: 6.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.002424, allocations: 11.94 kB / 0.4988 GB, free: 6.555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.002468, allocations: 23.91 kB / 0.4988 GB, free: 6.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.002479, allocations: 0 / 0.4988 GB, free: 6.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.002666, allocations: 119.8 kB / 0.4989 GB, free: 6.414 MB / 366.1 MB Notification: Performance of combineBinaries: time 7.091e-05/0.002737, allocations: 75.14 kB / 0.499 GB, free: 6.34 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.435e-05/0.002772, allocations: 47.34 kB / 0.4991 GB, free: 6.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.18e-05/0.002783, allocations: 4 kB / 0.4991 GB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.43e-06/0.002789, allocations: 4 kB / 0.4991 GB, free: 6.285 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.0003805/0.003169, allocations: 320.2 kB / 0.4994 GB, free: 5.852 MB / 366.1 MB Notification: Performance of FunctionAlias: time 4.193e-05/0.003211, allocations: 31.77 kB / 0.4994 GB, free: 5.82 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0002766/0.003488, allocations: 256.1 kB / 0.4996 GB, free: 5.543 MB / 366.1 MB Notification: Performance of Simplify 1: time 9.441e-05/0.003582, allocations: 92.62 kB / 0.4997 GB, free: 5.406 MB / 366.1 MB Notification: Performance of Alias: time 0.000319/0.003901, allocations: 184.8 kB / 0.4999 GB, free: 5.168 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0001198/0.004021, allocations: 96.69 kB / 0.5 GB, free: 5.027 MB / 366.1 MB Notification: Performance of Remove Stream: time 7.784e-05/0.004099, allocations: 52.42 kB / 0.5 GB, free: 4.949 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002204/0.004319, allocations: 136.5 kB / 0.5002 GB, free: 4.762 MB / 366.1 MB Notification: Performance of Events: time 0.0001367/0.004456, allocations: 63.88 kB / 0.5002 GB, free: 4.699 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001181/0.004574, allocations: 76.06 kB / 0.5003 GB, free: 4.617 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.328668450936675] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'ydd', 'k1', 'k2', 'y2', 'y2d', 'y2dd'] 0.011096973903477192 0.024539898 0.018943874000000003 Calling exit ...