Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009045/0.0009046, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009518/0.0009519, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4139/0.4139, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.00064/0.0006402, allocations: 27.92 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1603, allocations: 57.51 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.0026/0.1629, allocations: 1.362 MB / 435.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1647, allocations: 0.7342 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.1649, allocations: 0 / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1653, allocations: 35.83 kB / 436.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1656, allocations: 47.88 kB / 436.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.1659, allocations: 71.78 kB / 436.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.1661, allocations: 55.88 kB / 436.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1662, allocations: 20.19 kB / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1663, allocations: 35.84 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.1664, allocations: 27.84 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1664, allocations: 4 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.1665, allocations: 31.92 kB / 436.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.1666, allocations: 19.92 kB / 436.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.1667, allocations: 41.58 kB / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1668, allocations: 84.09 kB / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1668, allocations: 0 / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1668, allocations: 0 / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1668, allocations: 0 / 436.5 MB, free: 2.984 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006086/0.1675, allocations: 391 kB / 436.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1675, allocations: 8.031 kB / 436.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.1676, allocations: 19.77 kB / 436.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1678, allocations: 214.7 kB / 437.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1679, allocations: 4 kB / 437.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1679, allocations: 4 kB / 437.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.168, allocations: 53.67 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1681, allocations: 0 / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1681, allocations: 3.984 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1681, allocations: 4 kB / 437.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.1682, allocations: 15.95 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.1686, allocations: 292.9 kB / 437.5 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1687, allocations: 50.69 kB / 437.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.1688, allocations: 4 kB / 437.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.169, allocations: 67.52 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.169, allocations: 0 / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005872/0.1696, allocations: 173.2 kB / 437.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.1697, allocations: 51.41 kB / 437.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1699, allocations: 182.2 kB / 438 MB, free: 1.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1699, allocations: 33.64 kB / 438 MB, free: 1.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.17, allocations: 104.1 kB / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.17, allocations: 19.72 kB / 438.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.17, allocations: 4 kB / 438.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1702, allocations: 326.8 kB / 438.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.1703, allocations: 19.98 kB / 438.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.1703, allocations: 37.7 kB / 438.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.026e-05/0.1704, allocations: 23.98 kB / 438.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1704, allocations: 0 / 438.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001736/0.1706, allocations: 101.4 kB / 438.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1706, allocations: 8.031 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1706, allocations: 7.953 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1707, allocations: 192 / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.1708, allocations: 16 kB / 438.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1708, allocations: 3.938 kB / 438.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.1708, allocations: 7.984 kB / 438.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1709, allocations: 4 kB / 438.7 MB, free: 0.5508 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.171, allocations: 126.8 kB / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.171, allocations: 7.906 kB / 438.8 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.1711, allocations: 20.7 kB / 438.9 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1711, allocations: 11.89 kB / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1711, allocations: 0 / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1711, allocations: 0 / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.1717, allocations: 387.3 kB / 439.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1717, allocations: 4.375 kB / 439.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.1717, allocations: 11.94 kB / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1717, allocations: 8.031 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1718, allocations: 4 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1718, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1718, allocations: 7.984 kB / 439.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.172, allocations: 214 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1721, allocations: 89 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1721, allocations: 12 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.1722, allocations: 0 / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1722, allocations: 7.984 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1723, allocations: 4 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1724, allocations: 140.1 kB / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1724, allocations: 0 / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1727, allocations: 27.98 kB / 439.8 MB, free: 15.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/0.1737, allocations: 476.6 kB / 440.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1739, allocations: 59.84 kB / 440.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1739, allocations: 0 / 440.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.174, allocations: 31.98 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1743, allocations: 32.05 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.1748, allocations: 230.4 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.1753, allocations: 0.7082 MB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.502e-05/0.1754, allocations: 17.19 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.1754, allocations: 19.42 kB / 441.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1754, allocations: 4 kB / 441.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Templates: time 0.005032/0.1805, allocations: 1.583 MB / 442.9 MB, free: 12.2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) Environment - environmentSimulation: