Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.000982, allocations: 86.72 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.0008424/0.0008425, 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.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.4087/0.4087, allocations: 40.01 MB / 310.4 MB, free: 9.668 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.0006902/0.0006908, allocations: 16 kB / 378.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.16, allocations: 57.95 MB / 436.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002585/0.1627, allocations: 1.382 MB / 438.2 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.1653, allocations: 1.317 MB / 439.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1655, allocations: 0 / 439.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1659, allocations: 31.89 kB / 439.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.1662, allocations: 51.78 kB / 439.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.1665, allocations: 79.83 kB / 439.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1667, allocations: 79.77 kB / 439.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1668, allocations: 8.219 kB / 439.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1669, allocations: 43.77 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1671, allocations: 35.66 kB / 439.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1671, allocations: 4 kB / 439.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1673, allocations: 51.91 kB / 439.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.1674, allocations: 11.98 kB / 439.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.1675, allocations: 41.64 kB / 439.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1677, allocations: 96.02 kB / 440 MB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1677, allocations: 3.938 kB / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1677, allocations: 0 / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1677, allocations: 0 / 440 MB, free: 15.01 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.0006832/0.1684, allocations: 391 kB / 440.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1684, allocations: 8.031 kB / 440.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.1685, allocations: 7.906 kB / 440.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.1689, allocations: 210.8 kB / 440.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1689, allocations: 4 kB / 440.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1689, allocations: 0 / 440.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1691, allocations: 75.31 kB / 440.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.1692, allocations: 3.953 kB / 440.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1692, allocations: 0 / 440.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1692, allocations: 0 / 440.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.1693, allocations: 19.98 kB / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.1698, allocations: 288.9 kB / 441 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.17, allocations: 50.69 kB / 441.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.1701, allocations: 28.8 kB / 441.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1701, allocations: 0 / 441.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.1703, allocations: 75.33 kB / 441.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1703, allocations: 0 / 441.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006242/0.171, allocations: 169.2 kB / 441.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.171, allocations: 81.05 kB / 441.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1712, allocations: 154.3 kB / 441.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1713, allocations: 25.7 kB / 441.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.1713, allocations: 92.14 kB / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1714, allocations: 31.64 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.1714, allocations: 4 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1715, allocations: 326.8 kB / 442 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.1716, allocations: 16 kB / 442 MB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.1717, allocations: 38.56 kB / 442.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.075e-05/0.1718, allocations: 32.05 kB / 442.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1718, allocations: 0 / 442.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002128/0.172, allocations: 101.5 kB / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.172, allocations: 8 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.172, allocations: 0 / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1721, allocations: 0 / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.1722, allocations: 16.17 kB / 442.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1722, allocations: 4 kB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.1723, allocations: 7.938 kB / 442.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1723, allocations: 7.938 kB / 442.3 MB, free: 12.54 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.0001361/0.1724, allocations: 129.8 kB / 442.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.1724, allocations: 7.906 kB / 442.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.1725, allocations: 12.72 kB / 442.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1725, allocations: 0 / 442.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1725, allocations: 0 / 442.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1725, allocations: 3.938 kB / 442.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.173, allocations: 395.3 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.173, allocations: 0 / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.1731, allocations: 12.03 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1731, allocations: 0 / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1731, allocations: 4 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1731, allocations: 0 / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1731, allocations: 0 / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1734, allocations: 208.1 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.1735, allocations: 93 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1735, allocations: 4 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.1736, allocations: 4 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.1737, allocations: 7.984 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.1737, allocations: 12.36 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1738, allocations: 118.7 kB / 443.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1738, allocations: 0 / 443.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.1741, allocations: 35.94 kB / 443.3 MB, free: 11.41 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.001158/0.1753, allocations: 0.4969 MB / 443.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1755, allocations: 71.89 kB / 443.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1755, allocations: 0 / 443.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.512e-05/0.1756, allocations: 23.94 kB / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1759, allocations: 27.97 kB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.1764, allocations: 202.1 kB / 444.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.1767, allocations: 0.6965 MB / 444.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.752e-05/0.1768, allocations: 16.88 kB / 444.8 MB, free: 9.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.1768, allocations: 19.44 kB / 444.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1769, allocations: 4 kB / 444.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of Templates: time 0.005023/0.1819, allocations: 1.838 MB / 446.7 MB, free: 7.984 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) Environment - environmentSimulation: