Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, 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.001123/0.001123, allocations: 195.8 kB / 16.26 MB, free: 6.621 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.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.3376/0.3376, 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.001429/0.001429, allocations: 66.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1509, allocations: 56.47 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003785/0.1547, allocations: 1.821 MB / 433 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1564, allocations: 0.8663 MB / 433.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1565, allocations: 4 kB / 433.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.1572, allocations: 307.3 kB / 434.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.1576, allocations: 195.5 kB / 434.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.158, allocations: 123.8 kB / 434.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.1583, allocations: 247.3 kB / 434.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.1584, allocations: 21.47 kB / 434.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.1586, allocations: 131.5 kB / 434.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1588, allocations: 199.5 kB / 435.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1588, allocations: 4 kB / 435.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.159, allocations: 43.98 kB / 435.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1591, allocations: 143.6 kB / 435.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1593, allocations: 142.8 kB / 435.4 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.1597, allocations: 367 kB / 435.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1597, allocations: 0 / 435.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1597, allocations: 3.938 kB / 435.8 MB, free: 2.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.1597, allocations: 0 / 435.8 MB, free: 2.359 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.00105/0.1608, allocations: 0.7342 MB / 436.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1609, allocations: 11.89 kB / 436.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.1609, allocations: 48.28 kB / 436.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.1615, allocations: 443.9 kB / 437 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1615, allocations: 8.359 kB / 437 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.1615, allocations: 8.125 kB / 437 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.1618, allocations: 83.36 kB / 437.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1618, allocations: 3.938 kB / 437.1 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1618, allocations: 7.984 kB / 437.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1618, allocations: 4 kB / 437.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1619, allocations: 27.98 kB / 437.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1624, allocations: 370.4 kB / 437.5 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1627, allocations: 109.2 kB / 437.6 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1628, allocations: 57.55 kB / 437.7 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1628, allocations: 0 / 437.7 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.1631, allocations: 116.9 kB / 437.8 MB, free: 160 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1631, allocations: 0 / 437.8 MB, free: 160 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005792/0.1637, allocations: 189.5 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.1638, allocations: 85.09 kB / 438.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.1649, allocations: 1.026 MB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.165, allocations: 33.7 kB / 439.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.1652, allocations: 228.1 kB / 439.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.1652, allocations: 35.55 kB / 439.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.1653, allocations: 29.72 kB / 439.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1655, allocations: 370.8 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.1656, allocations: 32.05 kB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.1657, allocations: 59.42 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1659, allocations: 91.34 kB / 439.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1659, allocations: 0 / 439.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002799/0.1662, allocations: 165 kB / 440.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1662, allocations: 7.938 kB / 440.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1662, allocations: 4 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1663, allocations: 0 / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1664, allocations: 23.98 kB / 440.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1664, allocations: 8 kB / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/0.1665, allocations: 15.83 kB / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1665, allocations: 8 kB / 440.2 MB, free: 13.68 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.000231/0.1668, allocations: 221.7 kB / 440.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.1668, allocations: 55.33 kB / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.761e-05/0.1669, allocations: 60 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1669, allocations: 4 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.167, allocations: 0 / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.167, allocations: 0 / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.1673, allocations: 341.5 kB / 440.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1673, allocations: 7.984 kB / 440.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.1674, allocations: 12 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1674, allocations: 0 / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1674, allocations: 0 / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1674, allocations: 4 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1674, allocations: 3.938 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1677, allocations: 205.2 kB / 441.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.1679, allocations: 136.5 kB / 441.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.1679, allocations: 4 kB / 441.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.168, allocations: 4 kB / 441.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.1681, allocations: 7.984 kB / 441.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.1681, allocations: 8 kB / 441.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007998/0.1689, allocations: 0.7721 MB / 442 MB, free: 11.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1689, allocations: 0 / 442 MB, free: 11.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1692, allocations: 44 kB / 442 MB, free: 11.71 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.0009911/0.1702, allocations: 426.6 kB / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1705, allocations: 83.89 kB / 442.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1705, allocations: 0 / 442.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1706, allocations: 39.92 kB / 442.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.171, allocations: 78.05 kB / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1724, allocations: 0.9565 MB / 443.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.1728, allocations: 0.8466 MB / 444.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.173, allocations: 54.94 kB / 444.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.173, allocations: 35.36 kB / 444.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1731, allocations: 0 / 444.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of Templates: time 0.008245/0.1813, allocations: 3.688 MB / 448.2 MB, free: 5.484 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)