Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 99.86 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.001304/0.001304, 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.717/1.717, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.4355/0.4355, 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.0006668/0.0006669, allocations: 20 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1564, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002433/0.1589, allocations: 1.374 MB / 435.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1602, allocations: 0.7615 MB / 436.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.1603, allocations: 0 / 436.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1605, allocations: 35.83 kB / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1607, allocations: 43.88 kB / 436.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.161, allocations: 75.72 kB / 436.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1612, allocations: 59.86 kB / 436.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.1613, allocations: 24.2 kB / 436.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.699e-05/0.1613, allocations: 31.86 kB / 436.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1615, allocations: 23.84 kB / 436.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1615, allocations: 4 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1617, allocations: 39.92 kB / 436.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.1617, allocations: 19.91 kB / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.1618, allocations: 41.64 kB / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1619, allocations: 96.02 kB / 436.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1619, allocations: 0 / 436.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1619, allocations: 0 / 436.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.162, allocations: 4 kB / 436.6 MB, free: 2.922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005994/0.1626, allocations: 395 kB / 436.9 MB, free: 2.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.147e-05/0.1627, allocations: 8.031 kB / 437 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1627, allocations: 11.86 kB / 437 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.163, allocations: 198.9 kB / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1631, allocations: 4 kB / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1631, allocations: 7.906 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1633, allocations: 71.39 kB / 437.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1633, allocations: 0 / 437.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1633, allocations: 3.953 kB / 437.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1633, allocations: 0 / 437.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.1634, allocations: 35.91 kB / 437.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1638, allocations: 284.8 kB / 437.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.164, allocations: 62.55 kB / 437.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.164, allocations: 4 kB / 437.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.1642, allocations: 67.47 kB / 437.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.1643, allocations: 0 / 437.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005599/0.1648, allocations: 189.2 kB / 437.9 MB, free: 1.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.1649, allocations: 85.09 kB / 438 MB, free: 1.328 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.165, allocations: 145.8 kB / 438.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1651, allocations: 29.7 kB / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.1651, allocations: 100.1 kB / 438.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.1652, allocations: 27.56 kB / 438.3 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/0.1652, allocations: 0 / 438.3 MB, free: 1.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002681/0.1655, allocations: 322.8 kB / 438.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.1655, allocations: 19.98 kB / 438.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.1656, allocations: 46.56 kB / 438.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.746e-05/0.1657, allocations: 24 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1657, allocations: 7.953 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002024/0.1659, allocations: 101.5 kB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1659, allocations: 8 kB / 438.8 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.166, allocations: 0 / 438.8 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.166, allocations: 0 / 438.8 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1661, allocations: 23.98 kB / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1661, allocations: 0 / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.1662, allocations: 8.062 kB / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.1662, allocations: 4 kB / 438.8 MB, free: 444 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 (11): * Single equations (assignments): 11 * 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.0001239/0.1663, allocations: 122.9 kB / 438.9 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1664, allocations: 11.86 kB / 438.9 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1666, allocations: 118.9 kB / 439.1 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1667, allocations: 4 kB / 439.1 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1667, allocations: 7.922 kB / 439.1 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1667, allocations: 0 / 439.1 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.1672, allocations: 411.2 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1672, allocations: 0 / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.1672, allocations: 11.94 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1672, allocations: 0 / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1672, allocations: 7.984 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1673, allocations: 0 / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1673, allocations: 4 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1675, allocations: 225.9 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.1676, allocations: 89 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1676, allocations: 0 / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1677, allocations: 8 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1677, allocations: 7.984 kB / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.1677, allocations: 4 kB / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.466e-05/0.1678, allocations: 126.5 kB / 439.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1678, allocations: 0 / 439.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1681, allocations: 32 kB / 440 MB, free: 15.15 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 (9): * Single equations (assignments): 7 * 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.001129/0.1693, allocations: 0.5045 MB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1695, allocations: 59.92 kB / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1695, allocations: 0 / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.1695, allocations: 35.92 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.1698, allocations: 28.09 kB / 440.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.1702, allocations: 206.2 kB / 440.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1705, allocations: 0.7082 MB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.075e-05/0.1706, allocations: 16.88 kB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.1706, allocations: 19.42 kB / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1707, allocations: 0 / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of Templates: time 0.004879/0.1755, allocations: 1.927 MB / 443.5 MB, free: 11.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) Environment - environmentSimulation: