Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001376, 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.001693/0.001693, allocations: 192.3 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.88/1.88, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.3978/0.3978, allocations: 39.94 MB / 309.7 MB, free: 9.266 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.001647/0.001647, allocations: 67.91 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1586, allocations: 56.88 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003786/0.1624, allocations: 1.7 MB / 436.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1639, allocations: 0.8016 MB / 437 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.432e-05/0.164, allocations: 0 / 437 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.1644, allocations: 35.83 kB / 437 MB, free: 1.113 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.000316/0.1648, allocations: 55.7 kB / 437.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1651, allocations: 79.75 kB / 437.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.1653, allocations: 95.7 kB / 437.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1655, allocations: 20.19 kB / 437.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1656, allocations: 35.8 kB / 437.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1657, allocations: 31.86 kB / 437.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1658, allocations: 8 kB / 437.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1659, allocations: 47.91 kB / 437.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.166, allocations: 19.92 kB / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.1661, allocations: 31.75 kB / 437.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.1664, allocations: 111.9 kB / 437.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.1664, allocations: 0 / 437.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1664, allocations: 0 / 437.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1664, allocations: 0 / 437.6 MB, free: 0.5859 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.0008656/0.1673, allocations: 410.9 kB / 438 MB, free: 140 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.1674, allocations: 15.89 kB / 438 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.1674, allocations: 16.78 kB / 438 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.1678, allocations: 212 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1679, allocations: 8.375 kB / 438.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.1679, allocations: 4.125 kB / 438.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1681, allocations: 57.67 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1681, allocations: 0 / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1682, allocations: 0 / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1682, allocations: 0 / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.605e-05/0.1683, allocations: 19.98 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.1689, allocations: 292.8 kB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1691, allocations: 58.67 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.1692, allocations: 16.86 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.1692, allocations: 0 / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.1695, allocations: 79.3 kB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.549e-06/0.1696, allocations: 0 / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007331/0.1703, allocations: 165.3 kB / 438.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.1704, allocations: 51.41 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1706, allocations: 190.1 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.1706, allocations: 29.7 kB / 439.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1708, allocations: 104.1 kB / 439.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1708, allocations: 27.7 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.1709, allocations: 29.7 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.1711, allocations: 326.8 kB / 439.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.1712, allocations: 20 kB / 439.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.1713, allocations: 37.7 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1714, allocations: 57.7 kB / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1714, allocations: 0 / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002383/0.1717, allocations: 97.53 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1717, allocations: 8 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1717, allocations: 3.984 kB / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.1717, allocations: 0 / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1719, allocations: 15.94 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1719, allocations: 4 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.1719, allocations: 3.938 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1719, allocations: 4 kB / 439.9 MB, free: 14.03 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.0001222/0.1721, allocations: 129.9 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1721, allocations: 12.09 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.1722, allocations: 16.7 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1722, allocations: 3.938 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1722, allocations: 0 / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1722, allocations: 3.938 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.1727, allocations: 399.2 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1727, allocations: 0 / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.1728, allocations: 8 kB / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1728, allocations: 0 / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1728, allocations: 11.86 kB / 440.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1728, allocations: 4.375 kB / 440.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1728, allocations: 0 / 440.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1731, allocations: 208.2 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.1732, allocations: 85.02 kB / 440.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1732, allocations: 7.938 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1733, allocations: 4 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1733, allocations: 7.984 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1733, allocations: 4 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1735, allocations: 144 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1735, allocations: 4 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1738, allocations: 24 kB / 440.9 MB, free: 12.87 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.001108/0.1749, allocations: 473.3 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1751, allocations: 59.95 kB / 441.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1751, allocations: 4.062 kB / 441.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.1752, allocations: 35.86 kB / 441.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1756, allocations: 35.78 kB / 441.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006604/0.1762, allocations: 227.2 kB / 441.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.1767, allocations: 0.7002 MB / 442.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.13e-05/0.1768, allocations: 17.17 kB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.1768, allocations: 15.44 kB / 442.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.963e-06/0.1768, allocations: 0 / 442.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of Templates: time 0.005401/0.1822, allocations: 1.692 MB / 444.2 MB, free: 9.594 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)