Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001853/0.001853, allocations: 195.5 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4119/0.4119, allocations: 37.97 MB / 307.3 MB, free: 10.05 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 60.55 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.16, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003812/0.1639, allocations: 1.944 MB / 433 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1655, allocations: 0.8427 MB / 433.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1656, allocations: 0 / 433.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.166, allocations: 39.83 kB / 433.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.1663, allocations: 47.78 kB / 433.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1666, allocations: 91.83 kB / 434 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.1668, allocations: 127.6 kB / 434.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.167, allocations: 29.75 kB / 434.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1671, allocations: 55.66 kB / 434.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1672, allocations: 51.7 kB / 434.2 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1672, allocations: 4 kB / 434.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1674, allocations: 35.98 kB / 434.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.1674, allocations: 23.92 kB / 434.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.633e-05/0.1675, allocations: 51.59 kB / 434.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1678, allocations: 139.5 kB / 434.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1678, allocations: 0 / 434.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1678, allocations: 4 kB / 434.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1678, allocations: 0 / 434.5 MB, free: 3.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008166/0.1686, allocations: 476.5 kB / 435 MB, free: 3.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1687, allocations: 12.03 kB / 435 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.1688, allocations: 12.75 kB / 435 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.1691, allocations: 232.7 kB / 435.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1691, allocations: 4.375 kB / 435.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1691, allocations: 12.12 kB / 435.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.1694, allocations: 108.2 kB / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1694, allocations: 0 / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1694, allocations: 0 / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1695, allocations: 4 kB / 435.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1696, allocations: 51.91 kB / 435.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.1702, allocations: 0.5164 MB / 435.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.1706, allocations: 82.67 kB / 436 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1707, allocations: 40.83 kB / 436 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1707, allocations: 0 / 436 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.171, allocations: 87.31 kB / 436.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.171, allocations: 0 / 436.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003921/0.1714, allocations: 141.4 kB / 436.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1714, allocations: 63.34 kB / 436.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1716, allocations: 187.5 kB / 436.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1716, allocations: 25.7 kB / 436.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.1717, allocations: 124 kB / 436.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1718, allocations: 31.61 kB / 436.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.1718, allocations: 25.7 kB / 436.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.172, allocations: 326.8 kB / 437 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.1721, allocations: 35.92 kB / 437 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1722, allocations: 64.27 kB / 437.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1724, allocations: 100.2 kB / 437.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1724, allocations: 0 / 437.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002602/0.1726, allocations: 137.7 kB / 437.3 MB, free: 452 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1727, allocations: 8 kB / 437.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1727, allocations: 0 / 437.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1727, allocations: 4 kB / 437.4 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1728, allocations: 32.05 kB / 437.4 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1728, allocations: 4 kB / 437.4 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.1729, allocations: 15.92 kB / 437.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1729, allocations: 7.938 kB / 437.4 MB, free: 380 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0001154/0.1731, allocations: 129.8 kB / 437.5 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.1731, allocations: 15.81 kB / 437.6 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.1731, allocations: 21.39 kB / 437.6 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1732, allocations: 3.938 kB / 437.6 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1732, allocations: 0 / 437.6 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1732, allocations: 4 kB / 437.6 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1734, allocations: 201.6 kB / 437.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1734, allocations: 4 kB / 437.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.1735, allocations: 15.98 kB / 437.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1735, allocations: 0 / 437.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1735, allocations: 0 / 437.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1735, allocations: 7.938 kB / 437.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1735, allocations: 3.938 kB / 437.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.1739, allocations: 180.8 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.174, allocations: 96.88 kB / 438.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.174, allocations: 0 / 438.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.1741, allocations: 11.94 kB / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.1741, allocations: 7.984 kB / 438.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1742, allocations: 4 kB / 438.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1743, allocations: 137.2 kB / 438.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1743, allocations: 0 / 438.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1745, allocations: 28.06 kB / 438.3 MB, free: 15.42 MB / 382.1 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009744/0.1755, allocations: 422.4 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.1758, allocations: 83.83 kB / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1758, allocations: 0 / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.792e-05/0.1759, allocations: 36.17 kB / 438.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1762, allocations: 40.34 kB / 438.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.1768, allocations: 305.5 kB / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.1772, allocations: 0.7084 MB / 439.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.439e-05/0.1773, allocations: 17.42 kB / 439.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.1773, allocations: 19.42 kB / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1773, allocations: 4 kB / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.004808/0.1821, allocations: 1.787 MB / 441.7 MB, free: 11.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)