Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, 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.0022/0.002202, allocations: 188.7 kB / 16.25 MB, free: 6.617 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.537/1.537, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3566/0.3566, allocations: 37.98 MB / 307.4 MB, free: 10.01 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.1. 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.001452/0.001452, allocations: 70.62 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1443, allocations: 56.47 MB / 431.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004247/0.1486, allocations: 1.728 MB / 432.9 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.15, allocations: 0.8038 MB / 433.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1502, allocations: 4 kB / 433.7 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.1506, allocations: 99.73 kB / 433.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.151, allocations: 79.78 kB / 433.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1513, allocations: 79.84 kB / 434 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1516, allocations: 119.7 kB / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1517, allocations: 12.22 kB / 434.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1518, allocations: 55.77 kB / 434.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.152, allocations: 63.81 kB / 434.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.152, allocations: 8 kB / 434.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1521, allocations: 47.97 kB / 434.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.1522, allocations: 31.86 kB / 434.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.1523, allocations: 39.67 kB / 434.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1526, allocations: 131.8 kB / 434.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1526, allocations: 0 / 434.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1526, allocations: 0 / 434.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1526, allocations: 0 / 434.5 MB, free: 3.637 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006554/0.1533, allocations: 454.6 kB / 434.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1533, allocations: 15.89 kB / 435 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.1534, allocations: 20.73 kB / 435 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1537, allocations: 219.8 kB / 435.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1537, allocations: 8.375 kB / 435.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1538, allocations: 4.125 kB / 435.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.154, allocations: 57.67 kB / 435.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.154, allocations: 0 / 435.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.154, allocations: 3.984 kB / 435.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1541, allocations: 4 kB / 435.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1542, allocations: 27.97 kB / 435.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.1547, allocations: 304.8 kB / 435.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1549, allocations: 70.61 kB / 435.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.155, allocations: 24.84 kB / 435.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.155, allocations: 0 / 435.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.1553, allocations: 75.39 kB / 435.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.1553, allocations: 4 kB / 435.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007333/0.1561, allocations: 216.9 kB / 436 MB, free: 1.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1561, allocations: 51.41 kB / 436 MB, free: 1.922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.1564, allocations: 242.6 kB / 436.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1565, allocations: 25.7 kB / 436.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1566, allocations: 116.1 kB / 436.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.1567, allocations: 27.64 kB / 436.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.1567, allocations: 25.72 kB / 436.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1569, allocations: 334.8 kB / 436.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.157, allocations: 27.92 kB / 436.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.1571, allocations: 37.7 kB / 436.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1572, allocations: 73.66 kB / 436.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1572, allocations: 96 / 436.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002787/0.1575, allocations: 121.4 kB / 437 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.1576, allocations: 4 kB / 437 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1576, allocations: 0 / 437 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1576, allocations: 0 / 437 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1577, allocations: 19.98 kB / 437.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.1577, allocations: 0 / 437.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.1578, allocations: 11.94 kB / 437.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1578, allocations: 8.031 kB / 437.1 MB, free: 0.8086 MB / 366.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 (11): * Single equations (assignments): 11 * 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.0001638/0.158, allocations: 133.8 kB / 437.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.158, allocations: 19.8 kB / 437.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.1581, allocations: 21.39 kB / 437.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1581, allocations: 0 / 437.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1581, allocations: 0 / 437.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1581, allocations: 3.938 kB / 437.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.1588, allocations: 427.3 kB / 437.7 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1588, allocations: 0 / 437.7 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.1588, allocations: 8 kB / 437.7 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1588, allocations: 0 / 437.7 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1589, allocations: 11.94 kB / 437.7 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.1589, allocations: 3.984 kB / 437.7 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1589, allocations: 0 / 437.7 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.1593, allocations: 220.2 kB / 437.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.1593, allocations: 88.92 kB / 438 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1594, allocations: 7.938 kB / 438 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.1595, allocations: 7.984 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.1595, allocations: 4 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.1596, allocations: 4 kB / 438 MB, free: 15.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.1597, allocations: 192.2 kB / 438.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1597, allocations: 0 / 438.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.16, allocations: 27.98 kB / 438.2 MB, free: 15.55 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 (9): * Single equations (assignments): 7 * 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.001142/0.1612, allocations: 474.5 kB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1615, allocations: 79.91 kB / 438.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1615, allocations: 4.062 kB / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.1616, allocations: 35.92 kB / 438.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.162, allocations: 27.84 kB / 438.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.1627, allocations: 303.9 kB / 439.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.1632, allocations: 0.7197 MB / 439.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.43e-05/0.1632, allocations: 12.66 kB / 439.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.1633, allocations: 23.42 kB / 439.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1633, allocations: 0 / 439.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of Templates: time 0.005109/0.1684, allocations: 1.795 MB / 441.7 MB, free: 12.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)