Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, 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.001795/0.001795, allocations: 194.6 kB / 16.14 MB, free: 6.699 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.688/1.688, allocations: 205.1 MB / 222 MB, free: 4.688 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.3662/0.3662, allocations: 39.94 MB / 309.3 MB, free: 9.078 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.001492/0.001492, allocations: 67.91 kB / 376.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1576, allocations: 56.88 MB / 433.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00382/0.1615, allocations: 1.755 MB / 435.6 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.163, allocations: 0.7922 MB / 436.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.1631, allocations: 0 / 436.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.1635, allocations: 55.8 kB / 436.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1637, allocations: 55.81 kB / 436.5 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1639, allocations: 75.84 kB / 436.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1641, allocations: 91.7 kB / 436.6 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1643, allocations: 24.19 kB / 436.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.1644, allocations: 35.8 kB / 436.7 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1645, allocations: 35.83 kB / 436.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1645, allocations: 4 kB / 436.7 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1646, allocations: 39.92 kB / 436.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.1647, allocations: 27.91 kB / 436.8 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.1648, allocations: 35.69 kB / 436.8 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.165, allocations: 135.8 kB / 437 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.165, allocations: 0 / 437 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.165, allocations: 0 / 437 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.165, allocations: 4 kB / 437 MB, free: 0.6602 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.0005457/0.1656, allocations: 438.7 kB / 437.4 MB, free: 188 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1656, allocations: 8.031 kB / 437.4 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.1657, allocations: 16.83 kB / 437.4 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1659, allocations: 219.7 kB / 437.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1659, allocations: 384 / 437.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.166, allocations: 12.11 kB / 437.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1661, allocations: 57.61 kB / 437.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1661, allocations: 4 kB / 437.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1662, allocations: 0 / 437.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1662, allocations: 4 kB / 437.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.268e-05/0.1663, allocations: 15.98 kB / 437.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.1666, allocations: 300.7 kB / 438 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1668, allocations: 62.67 kB / 438.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.1669, allocations: 20.84 kB / 438.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1669, allocations: 0 / 438.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.1671, allocations: 71.33 kB / 438.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1672, allocations: 4 kB / 438.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005493/0.1677, allocations: 169.1 kB / 438.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.1678, allocations: 63.33 kB / 438.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.168, allocations: 259.7 kB / 438.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1681, allocations: 29.7 kB / 438.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1681, allocations: 112.1 kB / 438.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1682, allocations: 27.64 kB / 438.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.1682, allocations: 25.64 kB / 438.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1684, allocations: 334.8 kB / 439.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.727e-05/0.1685, allocations: 12 kB / 439.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.1685, allocations: 41.7 kB / 439.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1687, allocations: 61.64 kB / 439.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1687, allocations: 0 / 439.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.1689, allocations: 101.5 kB / 439.4 MB, free: 14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1689, allocations: 4 kB / 439.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1689, allocations: 0 / 439.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1689, allocations: 4.031 kB / 439.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.169, allocations: 19.94 kB / 439.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1691, allocations: 0 / 439.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.1691, allocations: 15.92 kB / 439.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.1691, allocations: 0 / 439.4 MB, free: 13.95 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 ($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.0001314/0.1693, allocations: 137.5 kB / 439.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.1693, allocations: 15.81 kB / 439.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.1694, allocations: 17.41 kB / 439.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1694, allocations: 0 / 439.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.1694, allocations: 7.984 kB / 439.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1694, allocations: 4.125 kB / 439.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.1699, allocations: 403.2 kB / 440 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1699, allocations: 11.92 kB / 440 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.17, allocations: 7.984 kB / 440 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.17, allocations: 4 kB / 440 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.17, allocations: 3.938 kB / 440 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.17, allocations: 0 / 440 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.17, allocations: 12.34 kB / 440 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1703, allocations: 200.3 kB / 440.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.1703, allocations: 88.92 kB / 440.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.1704, allocations: 11.92 kB / 440.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.1705, allocations: 8 kB / 440.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.1705, allocations: 8 kB / 440.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1705, allocations: 7.984 kB / 440.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1707, allocations: 199 kB / 440.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1707, allocations: 0 / 440.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.171, allocations: 28 kB / 440.6 MB, free: 12.7 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.001065/0.1721, allocations: 469.5 kB / 441 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1723, allocations: 55.97 kB / 441.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1723, allocations: 0 / 441.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.1724, allocations: 31.92 kB / 441.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1728, allocations: 31.92 kB / 441.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.1734, allocations: 313.5 kB / 441.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1737, allocations: 0.72 MB / 442.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.1738, allocations: 12.88 kB / 442.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.1738, allocations: 19.38 kB / 442.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.7e-07/0.1738, allocations: 0 / 442.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of Templates: time 0.004754/0.1786, allocations: 1.669 MB / 443.9 MB, free: 9.363 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)