Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001952/0.001953, allocations: 189.5 kB / 16.25 MB, free: 6.637 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.843/1.843, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.3878/0.3878, allocations: 39.93 MB / 309.4 MB, free: 9.637 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.002077/0.002077, allocations: 67.91 kB / 377.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.156, allocations: 56.89 MB / 434 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.004636/0.1607, allocations: 1.709 MB / 435.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1624, allocations: 0.7728 MB / 436.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1626, allocations: 3.938 kB / 436.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.1631, allocations: 63.83 kB / 436.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1635, allocations: 63.81 kB / 436.6 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1638, allocations: 67.86 kB / 436.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.164, allocations: 95.69 kB / 436.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.273e-05/0.1641, allocations: 7.984 kB / 436.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1642, allocations: 47.78 kB / 436.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1643, allocations: 51.77 kB / 436.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1644, allocations: 0 / 436.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1645, allocations: 27.98 kB / 436.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.1646, allocations: 23.91 kB / 436.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.1646, allocations: 31.81 kB / 437 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1649, allocations: 103.9 kB / 437.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.1649, allocations: 3.984 kB / 437.1 MB, free: 1.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1649, allocations: 0 / 437.1 MB, free: 1.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1649, allocations: 0 / 437.1 MB, free: 1.199 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007819/0.1657, allocations: 402.9 kB / 437.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.1658, allocations: 11.89 kB / 437.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.1658, allocations: 8.844 kB / 437.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1662, allocations: 208.1 kB / 437.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1662, allocations: 4.375 kB / 437.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1662, allocations: 4.125 kB / 437.7 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.1664, allocations: 49.67 kB / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1665, allocations: 0 / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1665, allocations: 0 / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1665, allocations: 0 / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.966e-05/0.1666, allocations: 15.98 kB / 437.8 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.1669, allocations: 185.6 kB / 437.9 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.1671, allocations: 50.62 kB / 438 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.556e-05/0.1672, allocations: 32.7 kB / 438 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.1672, allocations: 4 kB / 438 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.1675, allocations: 63.39 kB / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1675, allocations: 0 / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003905/0.1679, allocations: 97.62 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.168, allocations: 55.41 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1682, allocations: 182.2 kB / 438.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1682, allocations: 25.7 kB / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.1683, allocations: 100.1 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.1683, allocations: 19.8 kB / 438.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.1684, allocations: 17.72 kB / 438.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1685, allocations: 326.8 kB / 438.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.1686, allocations: 15.98 kB / 438.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.1687, allocations: 21.72 kB / 438.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.1688, allocations: 49.64 kB / 439 MB, free: 15.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1688, allocations: 0 / 439 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001511/0.1689, allocations: 85.83 kB / 439.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.169, allocations: 15.97 kB / 439.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.169, allocations: 0 / 439.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.169, allocations: 0 / 439.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.1691, allocations: 8 kB / 439.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1691, allocations: 4 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1692, allocations: 7.906 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1692, allocations: 4 kB / 439.1 MB, free: 14.92 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000112/0.1693, allocations: 129.4 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.1693, allocations: 7.906 kB / 439.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.1694, allocations: 20.3 kB / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1694, allocations: 0 / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1694, allocations: 0 / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1694, allocations: 0 / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1695, allocations: 189.5 kB / 439.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1696, allocations: 0 / 439.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.1696, allocations: 4 kB / 439.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1696, allocations: 0 / 439.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1696, allocations: 7.828 kB / 439.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1696, allocations: 7.922 kB / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1696, allocations: 0 / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.1698, allocations: 109 kB / 439.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1699, allocations: 85 kB / 439.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1699, allocations: 4 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.1699, allocations: 0 / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.17, allocations: 4 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.17, allocations: 7.922 kB / 439.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1701, allocations: 144.1 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1701, allocations: 4 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.1703, allocations: 23.91 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009083/0.1713, allocations: 407 kB / 440.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.1714, allocations: 43.92 kB / 440.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1715, allocations: 0 / 440.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.443e-05/0.1715, allocations: 16 kB / 440.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1718, allocations: 47.7 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.1723, allocations: 217.9 kB / 440.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1726, allocations: 0.7041 MB / 441.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.391e-05/0.1726, allocations: 16.8 kB / 441.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.1727, allocations: 15.42 kB / 441.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1727, allocations: 0 / 441.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of Templates: time 0.004236/0.1769, allocations: 1.451 MB / 442.7 MB, free: 11.17 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)