Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, 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.001841/0.001841, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.727/1.727, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.4703/0.4703, allocations: 39.93 MB / 309.4 MB, free: 9.633 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.001427/0.001427, allocations: 71.89 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.158, allocations: 56.88 MB / 434 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003362/0.1614, allocations: 1.751 MB / 435.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1628, allocations: 0.7962 MB / 436.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.1629, allocations: 0 / 436.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.1634, allocations: 39.83 kB / 436.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1636, allocations: 39.84 kB / 436.6 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1639, allocations: 83.83 kB / 436.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1641, allocations: 99.7 kB / 436.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1642, allocations: 12.2 kB / 436.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.1643, allocations: 43.78 kB / 436.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.1644, allocations: 27.86 kB / 436.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1644, allocations: 4 kB / 436.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1645, allocations: 47.91 kB / 436.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.1646, allocations: 19.92 kB / 437 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.1646, allocations: 31.75 kB / 437 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1649, allocations: 119.9 kB / 437.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1649, allocations: 0 / 437.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1649, allocations: 0 / 437.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1649, allocations: 0 / 437.1 MB, free: 1.176 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.000607/0.1655, allocations: 410.9 kB / 437.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1656, allocations: 11.89 kB / 437.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.1656, allocations: 12.84 kB / 437.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1659, allocations: 212 kB / 437.7 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1659, allocations: 4.375 kB / 437.7 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1659, allocations: 8.125 kB / 437.7 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1661, allocations: 57.67 kB / 437.8 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1661, allocations: 0 / 437.8 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1661, allocations: 4 kB / 437.8 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1661, allocations: 0 / 437.8 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.1662, allocations: 15.98 kB / 437.8 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.1666, allocations: 292.8 kB / 438.1 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1668, allocations: 62.67 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.1669, allocations: 20.8 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1669, allocations: 0 / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.1671, allocations: 75.22 kB / 438.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1671, allocations: 4 kB / 438.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005774/0.1677, allocations: 161.4 kB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.1678, allocations: 55.34 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.168, allocations: 186.1 kB / 438.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.168, allocations: 33.7 kB / 438.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.1681, allocations: 104.1 kB / 438.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1681, allocations: 23.7 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.1682, allocations: 21.7 kB / 438.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1683, allocations: 330.8 kB / 439.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.1684, allocations: 20 kB / 439.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.1685, allocations: 33.7 kB / 439.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1686, allocations: 69.7 kB / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1687, allocations: 0 / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000175/0.1688, allocations: 93.58 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.1689, allocations: 12.03 kB / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1689, allocations: 0 / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1689, allocations: 0 / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.169, allocations: 15.94 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.169, allocations: 4 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.1691, allocations: 7.922 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1691, allocations: 8 kB / 439.4 MB, free: 14.61 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 (10): * Single equations (assignments): 10 * 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.0001506/0.1693, allocations: 125.6 kB / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1693, allocations: 7.906 kB / 439.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.198e-05/0.1694, allocations: 24.7 kB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1694, allocations: 0 / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1694, allocations: 0 / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1694, allocations: 3.938 kB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.1699, allocations: 395.6 kB / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1699, allocations: 0 / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.17, allocations: 15.98 kB / 440 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.17, allocations: 0 / 440 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.17, allocations: 11.91 kB / 440 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.17, allocations: 4 kB / 440 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.17, allocations: 4.125 kB / 440 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.1703, allocations: 200.3 kB / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.1704, allocations: 88.95 kB / 440.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1704, allocations: 7.938 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.1705, allocations: 7.984 kB / 440.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.1705, allocations: 4 kB / 440.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.1706, allocations: 4 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1707, allocations: 148 kB / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1707, allocations: 0 / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.171, allocations: 20 kB / 440.5 MB, free: 13.46 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 (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.001176/0.1722, allocations: 469.5 kB / 440.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1724, allocations: 63.97 kB / 441 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.1724, allocations: 0 / 441 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.1725, allocations: 36.02 kB / 441 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1729, allocations: 40.09 kB / 441.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.1735, allocations: 235.1 kB / 441.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.174, allocations: 0.7041 MB / 442 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.313e-05/0.1741, allocations: 20.81 kB / 442 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.1742, allocations: 19.44 kB / 442 MB, free: 11.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1742, allocations: 0 / 442 MB, free: 11.86 MB / 382.1 MB Notification: Performance of Templates: time 0.005427/0.1796, allocations: 1.67 MB / 443.7 MB, free: 10.19 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)