Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002602/0.002602, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003151/0.003151, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.593/1.593, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3623/0.3623, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.832e-05, allocations: 2.312 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003782/0.00381, allocations: 2.008 MB / 379.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.006019, allocations: 1.091 MB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.006135, allocations: 4 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.006464, allocations: 43.53 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.006845, allocations: 123.3 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.007139, allocations: 111.6 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.007482, allocations: 211.3 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.00759, allocations: 21.81 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.007801, allocations: 111.6 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.007933, allocations: 59.8 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.00797, allocations: 12 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.008093, allocations: 55.92 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.008176, allocations: 39.83 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.008266, allocations: 47.84 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.008632, allocations: 203.3 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.008636, allocations: 0 / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.008637, allocations: 4 kB / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.008642, allocations: 0 / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001058/0.0097, allocations: 0.5844 MB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.009738, allocations: 8.031 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.009832, allocations: 36.78 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.01018, allocations: 188.2 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.0102, allocations: 4.375 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.01024, allocations: 16.36 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.01065, allocations: 172.9 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.01067, allocations: 7.875 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.01069, allocations: 8 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.0107, allocations: 0 / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.01102, allocations: 79.94 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008894/0.01191, allocations: 0.6224 MB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.01249, allocations: 143.1 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.01268, allocations: 59.64 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.01271, allocations: 7.984 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.01305, allocations: 142.7 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.01305, allocations: 0 / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007464/0.0138, allocations: 229.7 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.01386, allocations: 59.39 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.01419, allocations: 302.8 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.01422, allocations: 29.7 kB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.01438, allocations: 183 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.01442, allocations: 39.73 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/0.01451, allocations: 43.36 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003106/0.01482, allocations: 0.5118 MB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.01504, allocations: 85.61 kB / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.01533, allocations: 140.1 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.01575, allocations: 176 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.01575, allocations: 4 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000608/0.01636, allocations: 260.9 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.0164, allocations: 33.69 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.01641, allocations: 4 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.01642, allocations: 0 / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.01659, allocations: 39.86 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.0166, allocations: 4 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.01675, allocations: 19.88 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.01676, allocations: 12 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.01693, allocations: 181 kB / 385.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.01698, allocations: 31.86 kB / 385.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.0175, allocations: 182.6 kB / 386.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.01751, allocations: 4 kB / 386.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.01752, allocations: 4 kB / 386.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01752, allocations: 0 / 386.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.01776, allocations: 192.5 kB / 386.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01776, allocations: 0 / 386.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.01789, allocations: 19.98 kB / 386.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01789, allocations: 0 / 386.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.01791, allocations: 8 kB / 386.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01791, allocations: 0 / 386.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01791, allocations: 0 / 386.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007491/0.01866, allocations: 292.1 kB / 386.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.01869, allocations: 15.84 kB / 386.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.01873, allocations: 7.984 kB / 386.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.01886, allocations: 15.98 kB / 386.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.01894, allocations: 19.97 kB / 386.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.01896, allocations: 8.031 kB / 386.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002106/0.01917, allocations: 209.8 kB / 386.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01917, allocations: 0 / 386.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.01944, allocations: 39.95 kB / 386.9 MB, free: 8.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002944/0.02238, allocations: 447.9 kB / 387.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.02295, allocations: 228.6 kB / 387.6 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02295, allocations: 256 / 387.6 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.02317, allocations: 71.41 kB / 387.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.02354, allocations: 60.55 kB / 387.7 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.02429, allocations: 326.4 kB / 388 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.02442, allocations: 116.2 kB / 388.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.739e-05/0.02451, allocations: 17.48 kB / 388.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.02458, allocations: 20.5 kB / 388.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02458, allocations: 0 / 388.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of Templates: time 0.008216/0.0328, allocations: 3.096 MB / 391.3 MB, free: 4.699 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.971581444959156]