Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000998/0.0009979, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009586/0.000959, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.4133/0.4133, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.0006011/0.0006015, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1539, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002412/0.1564, allocations: 1.358 MB / 435.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1578, allocations: 0.7459 MB / 436 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.158, allocations: 0 / 436 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.1584, allocations: 83.75 kB / 436.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.1586, allocations: 63.84 kB / 436.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.159, allocations: 83.7 kB / 436.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.1592, allocations: 71.84 kB / 436.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1593, allocations: 16.2 kB / 436.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1594, allocations: 43.83 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1596, allocations: 43.83 kB / 436.4 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1596, allocations: 4 kB / 436.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1597, allocations: 23.98 kB / 436.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.1598, allocations: 27.86 kB / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.1599, allocations: 41.64 kB / 436.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1601, allocations: 92.08 kB / 436.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1601, allocations: 0 / 436.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1601, allocations: 0 / 436.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1601, allocations: 0 / 436.6 MB, free: 2.859 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.000695/0.1608, allocations: 406.8 kB / 437 MB, free: 2.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.1609, allocations: 8.031 kB / 437 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.161, allocations: 15.86 kB / 437 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1614, allocations: 222.8 kB / 437.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1614, allocations: 0 / 437.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.1614, allocations: 4 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1616, allocations: 57.61 kB / 437.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1616, allocations: 0 / 437.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.1616, allocations: 3.984 kB / 437.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1617, allocations: 0 / 437.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.1617, allocations: 27.88 kB / 437.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1622, allocations: 288.9 kB / 437.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1624, allocations: 50.69 kB / 437.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.1625, allocations: 11.92 kB / 437.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.1627, allocations: 63.52 kB / 437.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1627, allocations: 0 / 437.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006074/0.1633, allocations: 177.1 kB / 437.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.1634, allocations: 59.39 kB / 438 MB, free: 1.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.1637, allocations: 214.7 kB / 438.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1637, allocations: 33.69 kB / 438.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.1638, allocations: 100.1 kB / 438.3 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.1638, allocations: 31.62 kB / 438.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.1638, allocations: 0 / 438.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.164, allocations: 330.8 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.1641, allocations: 23.98 kB / 438.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.1641, allocations: 33.7 kB / 438.7 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.712e-05/0.1642, allocations: 24 kB / 438.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1642, allocations: 3.938 kB / 438.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.1644, allocations: 97.5 kB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1645, allocations: 7.984 kB / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1645, allocations: 3.984 kB / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1645, allocations: 8 kB / 438.9 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1646, allocations: 15.94 kB / 438.9 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1646, allocations: 0 / 438.9 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.1647, allocations: 8 kB / 438.9 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1647, allocations: 7.984 kB / 438.9 MB, free: 348 kB / 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.1649, allocations: 126.9 kB / 439 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1649, allocations: 11.91 kB / 439 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.165, allocations: 21.39 kB / 439.1 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.165, allocations: 7.953 kB / 439.1 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.165, allocations: 0 / 439.1 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.165, allocations: 0 / 439.1 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.1655, allocations: 403.5 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1655, allocations: 0 / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.1656, allocations: 15.95 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1656, allocations: 4 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1656, allocations: 0 / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1656, allocations: 4.031 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1656, allocations: 7.938 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.1659, allocations: 210 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.166, allocations: 92.91 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.166, allocations: 4 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.1661, allocations: 8 kB / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.1662, allocations: 3.984 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1662, allocations: 4 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1663, allocations: 176.3 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1664, allocations: 0 / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1666, allocations: 24 kB / 440 MB, free: 15.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/0.1678, allocations: 469.2 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.168, allocations: 59.95 kB / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.168, allocations: 0 / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.1681, allocations: 31.92 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1684, allocations: 24.25 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.1689, allocations: 274.4 kB / 440.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1692, allocations: 0.7121 MB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.1693, allocations: 12.88 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.1693, allocations: 15.44 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1693, allocations: 0 / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of Templates: time 0.004952/0.1743, allocations: 1.614 MB / 443.2 MB, free: 11.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) Environment - environmentSimulation: