Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 100.3 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.001604/0.001604, 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.795/1.795, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.4253/0.4253, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0006192/0.0006192, allocations: 27.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1639, allocations: 57.51 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002143/0.1661, allocations: 1.362 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1673, allocations: 0.7459 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.1674, allocations: 0 / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1677, allocations: 27.84 kB / 436.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1679, allocations: 47.88 kB / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1683, allocations: 79.72 kB / 436.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.1684, allocations: 63.84 kB / 436.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1686, allocations: 8.219 kB / 436.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1687, allocations: 43.83 kB / 436.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1689, allocations: 31.86 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1689, allocations: 4 kB / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.169, allocations: 24 kB / 436.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.41e-05/0.1691, allocations: 39.77 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.1691, allocations: 37.64 kB / 436.4 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1693, allocations: 100.1 kB / 436.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1693, allocations: 0 / 436.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1694, allocations: 3.938 kB / 436.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1694, allocations: 0 / 436.5 MB, free: 2.949 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.0006951/0.1701, allocations: 426.7 kB / 437 MB, free: 2.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1701, allocations: 12.03 kB / 437 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.1702, allocations: 19.75 kB / 437 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1705, allocations: 207.8 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1705, allocations: 0 / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.1706, allocations: 7.984 kB / 437.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1707, allocations: 61.55 kB / 437.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1708, allocations: 0 / 437.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1708, allocations: 0 / 437.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1708, allocations: 4 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.1709, allocations: 27.94 kB / 437.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1713, allocations: 292.8 kB / 437.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1715, allocations: 62.59 kB / 437.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1715, allocations: 4 kB / 437.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.1717, allocations: 67.52 kB / 437.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.1718, allocations: 0 / 437.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005547/0.1723, allocations: 181.3 kB / 437.9 MB, free: 1.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1724, allocations: 55.41 kB / 437.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1726, allocations: 272.7 kB / 438.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1727, allocations: 29.7 kB / 438.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.1727, allocations: 116.1 kB / 438.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.1728, allocations: 27.64 kB / 438.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.1728, allocations: 4 kB / 438.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1729, allocations: 326.8 kB / 438.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.355e-05/0.173, allocations: 20 kB / 438.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.1731, allocations: 37.64 kB / 438.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.638e-05/0.1731, allocations: 20 kB / 438.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1731, allocations: 4 kB / 438.8 MB, free: 500 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.1733, allocations: 109.4 kB / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1733, allocations: 4 kB / 438.9 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1734, allocations: 4.078 kB / 438.9 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1734, allocations: 4 kB / 438.9 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.1735, allocations: 19.98 kB / 438.9 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1735, allocations: 0 / 438.9 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.1736, allocations: 4.188 kB / 438.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1736, allocations: 4 kB / 438.9 MB, free: 344 kB / 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.00013/0.1737, allocations: 142.8 kB / 439.1 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.1737, allocations: 11.81 kB / 439.1 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.1738, allocations: 25.39 kB / 439.1 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1738, allocations: 7.953 kB / 439.1 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1738, allocations: 0 / 439.1 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1738, allocations: 0 / 439.1 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.1743, allocations: 403.2 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1743, allocations: 4.031 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.1744, allocations: 15.89 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1744, allocations: 0 / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1744, allocations: 8 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1744, allocations: 3.984 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1744, allocations: 0 / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1746, allocations: 221.9 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.1747, allocations: 88.92 kB / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1747, allocations: 0 / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.1748, allocations: 11.98 kB / 439.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1749, allocations: 4 kB / 439.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1749, allocations: 4 kB / 439.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.1751, allocations: 208.4 kB / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1751, allocations: 0 / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1754, allocations: 31.98 kB / 440.1 MB, free: 15.05 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.001069/0.1764, allocations: 465 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.1766, allocations: 59.91 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1766, allocations: 4.062 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.995e-05/0.1767, allocations: 27.98 kB / 440.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.177, allocations: 31.86 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.1775, allocations: 319.1 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1779, allocations: 0.7199 MB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.1779, allocations: 16.89 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.178, allocations: 19.42 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.178, allocations: 0 / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of Templates: time 0.005001/0.183, allocations: 1.622 MB / 443.4 MB, free: 11.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) Environment - environmentSimulation: