Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 99.89 kB / 15.98 MB, free: 6.336 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.001295/0.001295, allocations: 192.2 kB / 16.9 MB, free: 6.184 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.841/1.841, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2444/0.2444, allocations: 43.51 MB / 313.6 MB, free: 0.7188 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: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 69.22 kB / 382.2 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1566, allocations: 57.79 MB / 440 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003631/0.1603, allocations: 2.055 MB / 442.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1617, allocations: 0.878 MB / 442.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1619, allocations: 0 / 442.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.1623, allocations: 43.77 kB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1626, allocations: 59.69 kB / 443 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1629, allocations: 107.3 kB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.1631, allocations: 203.4 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1633, allocations: 33.84 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1634, allocations: 79.64 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1635, allocations: 83.59 kB / 443.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.1635, allocations: 12 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1636, allocations: 47.98 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.1637, allocations: 47.77 kB / 443.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.1638, allocations: 63.61 kB / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.164, allocations: 191.5 kB / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1641, allocations: 0 / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1641, allocations: 3.938 kB / 443.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1641, allocations: 0 / 443.9 MB, free: 3.453 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008661/0.1649, allocations: 0.5487 MB / 444.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.165, allocations: 15.89 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.1651, allocations: 16.75 kB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1654, allocations: 260.6 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1654, allocations: 8.375 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.1654, allocations: 12.12 kB / 444.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.1658, allocations: 148.7 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1658, allocations: 0 / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1658, allocations: 12 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1659, allocations: 0 / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.1663, allocations: 107.9 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.1668, allocations: 0.5438 MB / 445.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.1674, allocations: 162.5 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.1676, allocations: 72.78 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.1677, allocations: 4 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.1681, allocations: 143.2 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1681, allocations: 0 / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007874/0.1689, allocations: 249.3 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.1689, allocations: 59.34 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1691, allocations: 231.1 kB / 446.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1692, allocations: 29.7 kB / 446.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.1692, allocations: 124.4 kB / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1693, allocations: 39.53 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.1693, allocations: 37.7 kB / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.1694, allocations: 330.8 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.1697, allocations: 71.94 kB / 447.1 MB, free: 20 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.1699, allocations: 110.2 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.1704, allocations: 197.8 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1704, allocations: 0 / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006315/0.1711, allocations: 254.9 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.1711, allocations: 37.7 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1712, allocations: 0 / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1712, allocations: 4 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1714, allocations: 39.84 kB / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1714, allocations: 0 / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.1716, allocations: 36 kB / 447.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.1716, allocations: 4 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001566/0.1718, allocations: 135.1 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.1718, allocations: 15.81 kB / 447.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.1719, allocations: 21.41 kB / 447.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1719, allocations: 7.922 kB / 447.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/0.1719, allocations: 4 kB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.172, allocations: 3.938 kB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.1722, allocations: 233.5 kB / 448.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1723, allocations: 4 kB / 448.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1724, allocations: 23.97 kB / 448.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1724, allocations: 0 / 448.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1725, allocations: 4 kB / 448.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.1725, allocations: 7.922 kB / 448.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1725, allocations: 3.984 kB / 448.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.1734, allocations: 304.5 kB / 448.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1736, allocations: 96.94 kB / 448.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.1736, allocations: 4 kB / 448.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1738, allocations: 23.91 kB / 448.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.174, allocations: 23.98 kB / 448.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.174, allocations: 7.984 kB / 448.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1742, allocations: 164.6 kB / 448.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1742, allocations: 0 / 448.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1745, allocations: 43.98 kB / 448.9 MB, free: 14.1 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001078/0.1756, allocations: 416.6 kB / 449.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.1762, allocations: 219.2 kB / 449.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1763, allocations: 0 / 449.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.1765, allocations: 79.88 kB / 449.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1769, allocations: 44.2 kB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.1777, allocations: 352.2 kB / 449.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.178, allocations: 0.7279 MB / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.1782, allocations: 29.47 kB / 450.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.1782, allocations: 23.38 kB / 450.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1782, allocations: 3.938 kB / 450.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Templates: time 0.007866/0.1861, allocations: 2.682 MB / 453.4 MB, free: 9.562 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)