Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001885, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.767/1.767, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.4602/0.4602, allocations: 39.93 MB / 309.7 MB, free: 9.301 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.001799/0.001799, allocations: 66.92 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.156, allocations: 56.89 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.004717/0.1608, allocations: 1.693 MB / 436.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1626, allocations: 0.8016 MB / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.1627, allocations: 0 / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.1633, allocations: 83.69 kB / 437.1 MB, free: 1.074 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1636, allocations: 71.73 kB / 437.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1639, allocations: 91.69 kB / 437.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1641, allocations: 103.7 kB / 437.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1642, allocations: 12.22 kB / 437.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1643, allocations: 51.77 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1644, allocations: 55.81 kB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1645, allocations: 4 kB / 437.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1646, allocations: 47.92 kB / 437.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.1646, allocations: 23.92 kB / 437.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.1647, allocations: 39.72 kB / 437.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.1649, allocations: 119.8 kB / 437.7 MB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.165, allocations: 0 / 437.7 MB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.165, allocations: 7.938 kB / 437.7 MB, free: 468 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.165, allocations: 0 / 437.7 MB, free: 468 kB / 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.0007328/0.1657, allocations: 410.9 kB / 438.1 MB, free: 8 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.1658, allocations: 15.94 kB / 438.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.1658, allocations: 12.75 kB / 438.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1661, allocations: 208 kB / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1661, allocations: 4.375 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1662, allocations: 8.125 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1663, allocations: 53.67 kB / 438.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1663, allocations: 0 / 438.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1664, allocations: 7.922 kB / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1664, allocations: 0 / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.1665, allocations: 19.98 kB / 438.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.1669, allocations: 300.8 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1671, allocations: 58.67 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.1672, allocations: 20.8 kB / 438.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1672, allocations: 3.938 kB / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.1675, allocations: 75.39 kB / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1675, allocations: 0 / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005847/0.1681, allocations: 173.1 kB / 439 MB, free: 14.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.1681, allocations: 51.41 kB / 439.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1684, allocations: 223 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1684, allocations: 29.7 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.1685, allocations: 104.1 kB / 439.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.1685, allocations: 23.66 kB / 439.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.1686, allocations: 29.7 kB / 439.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1687, allocations: 326.8 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.1688, allocations: 16 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.1688, allocations: 37.7 kB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.169, allocations: 65.7 kB / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.169, allocations: 0 / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1692, allocations: 109.6 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1692, allocations: 7.984 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1692, allocations: 3.938 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1693, allocations: 4 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/0.1694, allocations: 12 kB / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1694, allocations: 0 / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1694, allocations: 11.94 kB / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1694, allocations: 3.984 kB / 440.1 MB, free: 13.84 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.000122/0.1696, allocations: 125.9 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1696, allocations: 11.91 kB / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.1697, allocations: 21.39 kB / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1697, allocations: 3.938 kB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1697, allocations: 0 / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1697, allocations: 3.938 kB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.1701, allocations: 391.3 kB / 440.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1701, allocations: 7.938 kB / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.1702, allocations: 12.39 kB / 440.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1702, allocations: 4 kB / 440.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1702, allocations: 3.938 kB / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1702, allocations: 4 kB / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.1702, allocations: 4 kB / 440.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1705, allocations: 200.2 kB / 440.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.1706, allocations: 88.92 kB / 440.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1706, allocations: 11.92 kB / 440.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.1707, allocations: 0 / 440.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1707, allocations: 11.94 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1707, allocations: 7.984 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.1709, allocations: 155.2 kB / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1709, allocations: 0 / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1711, allocations: 28 kB / 441.1 MB, free: 12.65 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.001141/0.1723, allocations: 456.9 kB / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1725, allocations: 67.89 kB / 441.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1725, allocations: 0 / 441.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.1726, allocations: 28.11 kB / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.173, allocations: 35.78 kB / 441.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.1736, allocations: 243.1 kB / 442 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1739, allocations: 0.7118 MB / 442.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.174, allocations: 12.88 kB / 442.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.174, allocations: 23.42 kB / 442.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.174, allocations: 0 / 442.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Templates: time 0.005135/0.1792, allocations: 1.705 MB / 444.4 MB, free: 9.359 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)