Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00128/0.00128, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.48/1.48, allocations: 205.1 MB / 222 MB, free: 4.754 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.404/0.404, allocations: 37.98 MB / 307.3 MB, free: 10.09 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.001394/0.001394, allocations: 74.41 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.155, allocations: 56.46 MB / 431 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003287/0.1583, allocations: 1.817 MB / 432.8 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1599, allocations: 0.874 MB / 433.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.16, allocations: 7.938 kB / 433.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.1606, allocations: 287.4 kB / 434 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.1609, allocations: 195.5 kB / 434.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1613, allocations: 135.8 kB / 434.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1616, allocations: 223.4 kB / 434.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.306e-05/0.1616, allocations: 25.52 kB / 434.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1618, allocations: 115.5 kB / 434.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.1621, allocations: 180 kB / 434.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1621, allocations: 4 kB / 434.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1622, allocations: 39.92 kB / 434.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1624, allocations: 132.6 kB / 435 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1625, allocations: 142.8 kB / 435.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.1629, allocations: 355 kB / 435.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1629, allocations: 0 / 435.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1629, allocations: 0 / 435.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1629, allocations: 7.938 kB / 435.5 MB, free: 2.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001023/0.164, allocations: 0.7114 MB / 436.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.164, allocations: 8.031 kB / 436.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.175e-05/0.1641, allocations: 48.28 kB / 436.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.1647, allocations: 443.9 kB / 436.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1647, allocations: 384 / 436.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1647, allocations: 8.125 kB / 436.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.1649, allocations: 95.28 kB / 436.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.165, allocations: 0 / 436.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.165, allocations: 0 / 436.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.165, allocations: 4 kB / 436.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1651, allocations: 27.98 kB / 436.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.1656, allocations: 370.3 kB / 437.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1659, allocations: 113.2 kB / 437.3 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.166, allocations: 45.62 kB / 437.4 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1661, allocations: 0 / 437.4 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.1664, allocations: 113 kB / 437.5 MB, free: 368 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1664, allocations: 0 / 437.5 MB, free: 368 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000514/0.1669, allocations: 192.9 kB / 437.7 MB, free: 168 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.167, allocations: 85.09 kB / 437.8 MB, free: 64 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1681, allocations: 0.9989 MB / 438.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1681, allocations: 33.69 kB / 438.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1683, allocations: 228.1 kB / 439 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.1684, allocations: 31.64 kB / 439 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.1685, allocations: 25.72 kB / 439.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1687, allocations: 362.8 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.1688, allocations: 31.97 kB / 439.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1689, allocations: 59.36 kB / 439.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1691, allocations: 95.91 kB / 439.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1691, allocations: 0 / 439.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002912/0.1694, allocations: 168.8 kB / 439.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1694, allocations: 4 kB / 439.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1694, allocations: 15.98 kB / 439.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1694, allocations: 0 / 439.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1695, allocations: 19.98 kB / 439.8 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1696, allocations: 4 kB / 439.8 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.1697, allocations: 11.91 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1697, allocations: 11.92 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002126/0.1699, allocations: 221.5 kB / 440.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.17, allocations: 47.44 kB / 440.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.683e-05/0.17, allocations: 59.84 kB / 440.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1701, allocations: 8 kB / 440.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1701, allocations: 0 / 440.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1701, allocations: 3.984 kB / 440.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.1704, allocations: 337.3 kB / 440.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1704, allocations: 0 / 440.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.1704, allocations: 8 kB / 440.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1704, allocations: 0 / 440.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1705, allocations: 11.98 kB / 440.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1705, allocations: 0 / 440.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1705, allocations: 3.938 kB / 440.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.1708, allocations: 205.4 kB / 440.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1709, allocations: 132.5 kB / 440.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.171, allocations: 7.938 kB / 440.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.171, allocations: 7.984 kB / 440.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.1711, allocations: 4 kB / 440.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1711, allocations: 11.98 kB / 440.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007511/0.1719, allocations: 0.7526 MB / 441.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1719, allocations: 0 / 441.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1722, allocations: 40 kB / 441.7 MB, free: 11.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009602/0.1731, allocations: 412.2 kB / 442.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.1734, allocations: 84.02 kB / 442.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1734, allocations: 0 / 442.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1735, allocations: 52.17 kB / 442.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.174, allocations: 70.06 kB / 442.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1752, allocations: 0.923 MB / 443.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.1757, allocations: 0.8391 MB / 444 MB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.1758, allocations: 58.92 kB / 444.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.1759, allocations: 31.42 kB / 444.1 MB, free: 9.488 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1759, allocations: 0 / 444.1 MB, free: 9.488 MB / 382.1 MB Notification: Performance of Templates: time 0.007984/0.1839, allocations: 3.524 MB / 447.7 MB, free: 5.969 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)