Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00204/0.00204, allocations: 192.1 kB / 16.13 MB, free: 6.652 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.745/1.745, allocations: 205.1 MB / 222 MB, free: 4.75 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.3564/0.3564, allocations: 37.98 MB / 307.3 MB, free: 10.03 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.001279/0.001279, allocations: 64.77 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 56.47 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004112/0.164, allocations: 1.732 MB / 432.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.166, allocations: 0.8038 MB / 433.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1661, allocations: 4 kB / 433.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.1666, allocations: 51.81 kB / 433.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1669, allocations: 59.8 kB / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.1673, allocations: 67.86 kB / 433.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1675, allocations: 99.69 kB / 433.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1677, allocations: 20.19 kB / 433.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1678, allocations: 39.8 kB / 433.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1679, allocations: 35.78 kB / 433.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.168, allocations: 0 / 433.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1681, allocations: 43.91 kB / 434 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.1682, allocations: 23.92 kB / 434 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/0.1683, allocations: 39.69 kB / 434 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1686, allocations: 135.8 kB / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1686, allocations: 0 / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1686, allocations: 0 / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1686, allocations: 0 / 434.2 MB, free: 3.91 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.0006965/0.1693, allocations: 438.7 kB / 434.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1694, allocations: 12.03 kB / 434.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.1694, allocations: 12.75 kB / 434.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1697, allocations: 219.7 kB / 434.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1698, allocations: 4.375 kB / 434.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1698, allocations: 12.12 kB / 434.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.17, allocations: 57.67 kB / 434.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.17, allocations: 0 / 434.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.17, allocations: 3.984 kB / 434.9 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1701, allocations: 0 / 434.9 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1702, allocations: 19.98 kB / 434.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.1707, allocations: 296.8 kB / 435.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1709, allocations: 58.67 kB / 435.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/0.171, allocations: 20.86 kB / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.171, allocations: 0 / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002872/0.1713, allocations: 71.31 kB / 435.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1713, allocations: 0 / 435.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007407/0.1721, allocations: 185 kB / 435.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.1722, allocations: 55.34 kB / 435.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.1725, allocations: 254.8 kB / 435.8 MB, free: 2.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1725, allocations: 25.7 kB / 435.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.1726, allocations: 116.1 kB / 436 MB, free: 1.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.1727, allocations: 27.64 kB / 436 MB, free: 1.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.1727, allocations: 21.72 kB / 436 MB, free: 1.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1729, allocations: 338.8 kB / 436.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.173, allocations: 16 kB / 436.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/0.1731, allocations: 33.7 kB / 436.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1732, allocations: 65.83 kB / 436.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1733, allocations: 0 / 436.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003004/0.1736, allocations: 101.4 kB / 436.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.1736, allocations: 12.02 kB / 436.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1736, allocations: 8.094 kB / 436.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1737, allocations: 0 / 436.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1738, allocations: 15.94 kB / 436.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1738, allocations: 7.984 kB / 436.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.96e-05/0.1739, allocations: 7.938 kB / 436.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1739, allocations: 7.984 kB / 436.6 MB, free: 1.191 MB / 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 ($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.0001498/0.1741, allocations: 133.8 kB / 436.8 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.1741, allocations: 11.81 kB / 436.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.1742, allocations: 21.78 kB / 436.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1742, allocations: 4 kB / 436.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1742, allocations: 0 / 436.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1742, allocations: 7.922 kB / 436.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.1749, allocations: 403.3 kB / 437.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.1749, allocations: 3.984 kB / 437.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.1749, allocations: 11.98 kB / 437.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1749, allocations: 0 / 437.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.175, allocations: 11.97 kB / 437.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.175, allocations: 0 / 437.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.175, allocations: 3.938 kB / 437.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.1754, allocations: 200.2 kB / 437.4 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.1754, allocations: 88.92 kB / 437.5 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1755, allocations: 7.938 kB / 437.5 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1755, allocations: 11.98 kB / 437.5 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1756, allocations: 8 kB / 437.5 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1756, allocations: 4 kB / 437.5 MB, free: 176 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.1758, allocations: 204 kB / 437.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1758, allocations: 0 / 437.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.1761, allocations: 24 kB / 437.8 MB, free: 15.95 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.001014/0.1771, allocations: 473 kB / 438.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1773, allocations: 51.97 kB / 438.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1774, allocations: 0 / 438.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.1774, allocations: 35.92 kB / 438.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1778, allocations: 23.98 kB / 438.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.1784, allocations: 313.7 kB / 438.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.1789, allocations: 0.716 MB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.911e-05/0.1789, allocations: 25.11 kB / 439.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.179, allocations: 15.44 kB / 439.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.179, allocations: 0 / 439.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of Templates: time 0.005713/0.1847, allocations: 1.682 MB / 441.1 MB, free: 12.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)