Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001213/0.001213, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.841/1.841, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.3635/0.3635, allocations: 39.93 MB / 309.4 MB, free: 8.992 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.001435/0.001435, allocations: 71.91 kB / 377.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1543, allocations: 56.88 MB / 434 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003284/0.1577, allocations: 1.755 MB / 435.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.159, allocations: 0.7923 MB / 436.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.1591, allocations: 0 / 436.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.1595, allocations: 79.77 kB / 436.6 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1598, allocations: 67.78 kB / 436.7 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.16, allocations: 75.86 kB / 436.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1602, allocations: 107.7 kB / 436.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1603, allocations: 16.2 kB / 436.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.1604, allocations: 55.77 kB / 436.9 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.1605, allocations: 55.83 kB / 437 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1605, allocations: 4 kB / 437 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.681e-05/0.1606, allocations: 43.98 kB / 437 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.1607, allocations: 27.84 kB / 437.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.1608, allocations: 31.75 kB / 437.1 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.161, allocations: 123.8 kB / 437.2 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.161, allocations: 0 / 437.2 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.161, allocations: 0 / 437.2 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.161, allocations: 0 / 437.2 MB, free: 0.4922 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.0005415/0.1615, allocations: 422.9 kB / 437.6 MB, free: 32 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1616, allocations: 11.89 kB / 437.6 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1616, allocations: 12.75 kB / 437.7 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.162, allocations: 216.8 kB / 437.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.162, allocations: 384 / 437.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.162, allocations: 12.12 kB / 437.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1622, allocations: 49.67 kB / 437.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1622, allocations: 0 / 437.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1622, allocations: 4 kB / 437.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1622, allocations: 8 kB / 437.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.1623, allocations: 19.92 kB / 438 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1627, allocations: 288.8 kB / 438.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1628, allocations: 62.61 kB / 438.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1629, allocations: 20.84 kB / 438.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1629, allocations: 7.938 kB / 438.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.1631, allocations: 67.39 kB / 438.4 MB, free: 15.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1631, allocations: 0 / 438.4 MB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006495/0.1638, allocations: 177.1 kB / 438.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1638, allocations: 51.41 kB / 438.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.164, allocations: 214.2 kB / 438.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.164, allocations: 33.7 kB / 438.9 MB, free: 14.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.1641, allocations: 100.1 kB / 439 MB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1642, allocations: 27.64 kB / 439 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.1642, allocations: 29.66 kB / 439 MB, free: 14.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1643, allocations: 326.8 kB / 439.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.1644, allocations: 23.98 kB / 439.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.1646, allocations: 33.7 kB / 439.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.1647, allocations: 53.72 kB / 439.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1647, allocations: 0 / 439.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.1649, allocations: 113.4 kB / 439.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1649, allocations: 4 kB / 439.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1649, allocations: 4 kB / 439.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1649, allocations: 0 / 439.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.165, allocations: 16.36 kB / 439.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.165, allocations: 3.938 kB / 439.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.1651, allocations: 19.95 kB / 439.6 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1651, allocations: 8 kB / 439.6 MB, free: 13.86 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.0001126/0.1652, allocations: 121.8 kB / 439.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1653, allocations: 11.91 kB / 439.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.1653, allocations: 13.41 kB / 439.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.1653, allocations: 4 kB / 439.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1653, allocations: 0 / 439.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1653, allocations: 7.922 kB / 439.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.1658, allocations: 395.2 kB / 440.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1658, allocations: 0 / 440.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.1659, allocations: 12 kB / 440.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1659, allocations: 192 / 440.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1659, allocations: 7.938 kB / 440.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1659, allocations: 7.922 kB / 440.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1659, allocations: 0 / 440.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1662, allocations: 212.4 kB / 440.4 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.1662, allocations: 92.92 kB / 440.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1663, allocations: 3.938 kB / 440.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.1663, allocations: 4 kB / 440.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1664, allocations: 7.984 kB / 440.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1664, allocations: 4 kB / 440.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1666, allocations: 164.2 kB / 440.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1666, allocations: 4 kB / 440.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1668, allocations: 23.98 kB / 440.7 MB, free: 12.68 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.001104/0.1679, allocations: 461.6 kB / 441.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1682, allocations: 63.91 kB / 441.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1682, allocations: 0 / 441.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.786e-05/0.1683, allocations: 31.94 kB / 441.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1686, allocations: 31.83 kB / 441.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.1693, allocations: 259.2 kB / 441.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.1697, allocations: 0.7079 MB / 442.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.855e-05/0.1698, allocations: 25.17 kB / 442.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.1698, allocations: 15.44 kB / 442.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1698, allocations: 0 / 442.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of Templates: time 0.00534/0.1752, allocations: 1.681 MB / 443.9 MB, free: 9.395 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)