Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, 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.001376/0.001376, allocations: 191.5 kB / 16.13 MB, free: 6.656 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.64/1.64, allocations: 205.1 MB / 222 MB, free: 4.77 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.3701/0.3701, allocations: 39.94 MB / 309.3 MB, free: 9.355 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.001227/0.001228, allocations: 70.88 kB / 376.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1592, allocations: 56.88 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003946/0.1632, allocations: 1.759 MB / 435.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1649, allocations: 0.7962 MB / 436.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.165, allocations: 0 / 436.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1654, allocations: 43.81 kB / 436.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1656, allocations: 59.75 kB / 436.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1659, allocations: 75.84 kB / 436.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1661, allocations: 99.69 kB / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.1662, allocations: 12.22 kB / 436.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.1663, allocations: 43.78 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.1664, allocations: 31.84 kB / 436.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1664, allocations: 4 kB / 436.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1666, allocations: 39.97 kB / 436.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.1666, allocations: 23.86 kB / 436.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.1667, allocations: 39.67 kB / 436.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1669, allocations: 131.8 kB / 437 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1669, allocations: 0 / 437 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1669, allocations: 4 kB / 437 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1669, allocations: 0 / 437 MB, free: 0.9453 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.000538/0.1675, allocations: 438.7 kB / 437.4 MB, free: 480 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1675, allocations: 12.02 kB / 437.4 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.1676, allocations: 12.83 kB / 437.4 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1678, allocations: 223.7 kB / 437.6 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1679, allocations: 8.359 kB / 437.6 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1679, allocations: 8.125 kB / 437.6 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.168, allocations: 53.67 kB / 437.7 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.168, allocations: 0 / 437.7 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1681, allocations: 0 / 437.7 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1681, allocations: 0 / 437.7 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.1681, allocations: 19.98 kB / 437.7 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.1685, allocations: 296.8 kB / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1687, allocations: 62.61 kB / 438.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.1688, allocations: 24.84 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1688, allocations: 0 / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.169, allocations: 67.39 kB / 438.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.169, allocations: 0 / 438.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005193/0.1695, allocations: 193 kB / 438.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1696, allocations: 51.41 kB / 438.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.1698, allocations: 255.7 kB / 438.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1698, allocations: 33.7 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.1699, allocations: 112.1 kB / 438.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.17, allocations: 23.66 kB / 438.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.17, allocations: 29.64 kB / 438.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1702, allocations: 334.8 kB / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/0.1702, allocations: 19.98 kB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.1703, allocations: 37.66 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1704, allocations: 57.7 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1704, allocations: 0 / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1706, allocations: 113.4 kB / 439.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1707, allocations: 8.031 kB / 439.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1707, allocations: 0 / 439.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1707, allocations: 0 / 439.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.1708, allocations: 19.94 kB / 439.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1708, allocations: 0 / 439.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.1709, allocations: 11.92 kB / 439.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1709, allocations: 0 / 439.4 MB, free: 14.23 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 9.954e-05/0.171, allocations: 133.8 kB / 439.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.171, allocations: 15.81 kB / 439.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.1711, allocations: 21.41 kB / 439.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1711, allocations: 3.984 kB / 439.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1711, allocations: 0 / 439.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1711, allocations: 3.938 kB / 439.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.1715, allocations: 403.2 kB / 440 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1715, allocations: 0 / 440 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.1716, allocations: 11.98 kB / 440 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1716, allocations: 0 / 440 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1716, allocations: 11.97 kB / 440 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1716, allocations: 384 / 440 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1716, allocations: 0 / 440 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1718, allocations: 204.2 kB / 440.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.1719, allocations: 88.92 kB / 440.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1719, allocations: 11.92 kB / 440.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.172, allocations: 16 kB / 440.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.172, allocations: 3.984 kB / 440.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1721, allocations: 7.984 kB / 440.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1722, allocations: 203 kB / 440.5 MB, free: 13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1722, allocations: 0 / 440.5 MB, free: 13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1725, allocations: 24 kB / 440.6 MB, free: 12.98 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.001076/0.1736, allocations: 474 kB / 441 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1738, allocations: 59.92 kB / 441.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1738, allocations: 0 / 441.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.1738, allocations: 27.92 kB / 441.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1742, allocations: 28.05 kB / 441.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.1747, allocations: 321.4 kB / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1749, allocations: 0.716 MB / 442.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.175, allocations: 12.88 kB / 442.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.175, allocations: 15.44 kB / 442.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.175, allocations: 0 / 442.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Templates: time 0.004512/0.1796, allocations: 1.673 MB / 443.9 MB, free: 9.641 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)