Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00944/0.00944, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.993/1.993, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4197/0.4197, allocations: 40.01 MB / 310.7 MB, free: 9.672 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.2. 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.0005549/0.0005549, allocations: 16 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1561, allocations: 57.95 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002488/0.1587, allocations: 1.553 MB / 439 MB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1603, allocations: 0.8703 MB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.1604, allocations: 0 / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.1608, allocations: 151.7 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.1611, allocations: 123.6 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1615, allocations: 139.8 kB / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.1618, allocations: 203.4 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.162, allocations: 29.52 kB / 440.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1621, allocations: 91.55 kB / 440.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1623, allocations: 123.6 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1623, allocations: 4 kB / 440.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1624, allocations: 43.98 kB / 440.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.1625, allocations: 39.78 kB / 440.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.1626, allocations: 101.2 kB / 440.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1628, allocations: 183.5 kB / 441 MB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1629, allocations: 4 kB / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1629, allocations: 3.938 kB / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1629, allocations: 0 / 441 MB, free: 14.24 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000699/0.1636, allocations: 0.4905 MB / 441.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1636, allocations: 12.03 kB / 441.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.1637, allocations: 24.56 kB / 441.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.164, allocations: 263.6 kB / 441.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.164, allocations: 4.375 kB / 441.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1641, allocations: 8.125 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1643, allocations: 99.34 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1643, allocations: 3.938 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1643, allocations: 8 kB / 442 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1643, allocations: 0 / 442 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1644, allocations: 35.97 kB / 442 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.165, allocations: 440.9 kB / 442.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1652, allocations: 117.3 kB / 442.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/0.1654, allocations: 37.7 kB / 442.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1654, allocations: 7.938 kB / 442.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.1657, allocations: 120.9 kB / 442.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.1657, allocations: 0 / 442.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009413/0.1667, allocations: 352.1 kB / 443 MB, free: 12.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.1667, allocations: 85.05 kB / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.1671, allocations: 355 kB / 443.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1671, allocations: 25.7 kB / 443.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.1672, allocations: 144.4 kB / 443.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.1673, allocations: 47.36 kB / 443.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.1673, allocations: 21.72 kB / 443.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1674, allocations: 334.8 kB / 444 MB, free: 11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1675, allocations: 47.97 kB / 444.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1676, allocations: 67.41 kB / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1679, allocations: 123.3 kB / 444.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1679, allocations: 0 / 444.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002868/0.1682, allocations: 181.2 kB / 444.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1682, allocations: 4 kB / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1682, allocations: 0 / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1682, allocations: 8.062 kB / 444.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1683, allocations: 27.98 kB / 444.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.1684, allocations: 11.88 kB / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/0.1684, allocations: 8 kB / 444.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1685, allocations: 9.047 kB / 444.5 MB, free: 10.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001302/0.1686, allocations: 149.8 kB / 444.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.1686, allocations: 27.7 kB / 444.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.1687, allocations: 37.72 kB / 444.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1687, allocations: 11.94 kB / 444.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1687, allocations: 3.938 kB / 444.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1687, allocations: 3.984 kB / 444.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/0.1695, allocations: 0.6163 MB / 445.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1695, allocations: 7.938 kB / 445.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.1695, allocations: 20 kB / 445.4 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1696, allocations: 4 kB / 445.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1696, allocations: 7.984 kB / 445.4 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1696, allocations: 4 kB / 445.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1696, allocations: 0 / 445.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.17, allocations: 368 kB / 445.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.17, allocations: 100.8 kB / 445.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.1701, allocations: 4 kB / 445.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1702, allocations: 4 kB / 445.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.1703, allocations: 19.92 kB / 445.9 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.1703, allocations: 11.98 kB / 445.9 MB, free: 8.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002765/0.1706, allocations: 261.9 kB / 446.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1706, allocations: 0 / 446.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.1709, allocations: 43.98 kB / 446.2 MB, free: 8.691 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001048/0.172, allocations: 468.3 kB / 446.6 MB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1723, allocations: 119.8 kB / 446.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1723, allocations: 0 / 446.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1724, allocations: 63.89 kB / 446.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.1729, allocations: 56.78 kB / 446.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.1738, allocations: 494.2 kB / 447.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.1742, allocations: 0.744 MB / 448.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.1743, allocations: 37.91 kB / 448.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.1744, allocations: 27.44 kB / 448.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1744, allocations: 3.938 kB / 448.2 MB, free: 6.668 MB / 382.1 MB Notification: Performance of Templates: time 0.006737/0.1811, allocations: 2.527 MB / 450.7 MB, free: 4.145 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) Environment - environmentSimulation: