Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001219/0.001219, allocations: 168.7 kB / 15.95 MB, free: 204 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.872/1.872, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.401/0.401, allocations: 40 MB / 310.4 MB, free: 10.04 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.0005854/0.0005856, allocations: 19.98 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1555, allocations: 57.95 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002954/0.1585, allocations: 1.389 MB / 438.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.16, allocations: 0.746 MB / 438.9 MB, free: 416 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1602, allocations: 7.938 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1606, allocations: 51.86 kB / 439 MB, free: 356 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.1608, allocations: 47.81 kB / 439 MB, free: 308 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.1612, allocations: 75.84 kB / 439.1 MB, free: 232 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1614, allocations: 87.69 kB / 439.2 MB, free: 144 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.1615, allocations: 8.219 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1616, allocations: 43.78 kB / 439.3 MB, free: 92 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.1617, allocations: 35.84 kB / 439.3 MB, free: 56 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1618, allocations: 4 kB / 439.3 MB, free: 52 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.1619, allocations: 35.98 kB / 439.3 MB, free: 16 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.162, allocations: 20 kB / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.162, allocations: 41.64 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1623, allocations: 100 kB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1623, allocations: 3.938 kB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1623, allocations: 0 / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1623, allocations: 0 / 439.5 MB, free: 15.85 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006199/0.1629, allocations: 430.6 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.163, allocations: 8.031 kB / 439.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.163, allocations: 15.81 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1633, allocations: 210.8 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1633, allocations: 0 / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1634, allocations: 4 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1635, allocations: 53.67 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1636, allocations: 3.906 kB / 440.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1636, allocations: 0 / 440.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1636, allocations: 7.953 kB / 440.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/0.1637, allocations: 31.86 kB / 440.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.1641, allocations: 288.9 kB / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1643, allocations: 54.67 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.1643, allocations: 20.86 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1644, allocations: 4 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.1646, allocations: 71.28 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1646, allocations: 0 / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000586/0.1652, allocations: 185 kB / 440.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1652, allocations: 55.34 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1655, allocations: 262.5 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1655, allocations: 29.7 kB / 441.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.1656, allocations: 116 kB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1656, allocations: 23.73 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.1656, allocations: 0 / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1658, allocations: 326.8 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.1658, allocations: 23.98 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/0.1659, allocations: 33.7 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.166, allocations: 24 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.166, allocations: 0 / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.1662, allocations: 109.4 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1662, allocations: 7.438 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.1662, allocations: 0 / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1662, allocations: 4 kB / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.1663, allocations: 20.31 kB / 441.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1664, allocations: 3.984 kB / 441.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.1664, allocations: 4 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1664, allocations: 12.03 kB / 441.9 MB, free: 13.22 MB / 382.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.0001028/0.1665, allocations: 133.6 kB / 442 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1666, allocations: 19.77 kB / 442 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.1666, allocations: 21.39 kB / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1666, allocations: 0 / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1666, allocations: 0 / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1667, allocations: 0 / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.1671, allocations: 411.2 kB / 442.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1671, allocations: 4 kB / 442.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.1672, allocations: 7.984 kB / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1672, allocations: 4.188 kB / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.1672, allocations: 0 / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1672, allocations: 3.938 kB / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1672, allocations: 4 kB / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1674, allocations: 212.5 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.1675, allocations: 96.86 kB / 442.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1675, allocations: 4 kB / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.1676, allocations: 4 kB / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.1677, allocations: 11.92 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1677, allocations: 4 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1678, allocations: 200 kB / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1679, allocations: 0 / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1681, allocations: 31.98 kB / 443 MB, free: 11.97 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.001006/0.1691, allocations: 451.3 kB / 443.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1693, allocations: 67.91 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1694, allocations: 0 / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.953e-05/0.1694, allocations: 23.94 kB / 443.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1698, allocations: 27.97 kB / 443.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.1703, allocations: 310.9 kB / 443.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1706, allocations: 0.716 MB / 444.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.1707, allocations: 21.19 kB / 444.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.1707, allocations: 19.42 kB / 444.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1707, allocations: 0 / 444.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of Templates: time 0.004939/0.1757, allocations: 1.614 MB / 446.3 MB, free: 8.699 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) Environment - environmentSimulation: