Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001631/0.001631, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.688 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.4281/0.4281, allocations: 39.93 MB / 309.4 MB, free: 9.375 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.001398/0.001398, allocations: 71.91 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1496, allocations: 56.89 MB / 434 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004632/0.1543, allocations: 1.948 MB / 436 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.156, allocations: 0.835 MB / 436.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1562, allocations: 4 kB / 436.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.1568, allocations: 35.83 kB / 436.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1571, allocations: 47.78 kB / 436.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.1575, allocations: 99.75 kB / 437 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.1579, allocations: 135.6 kB / 437.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.1581, allocations: 29.75 kB / 437.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1583, allocations: 63.64 kB / 437.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1584, allocations: 47.72 kB / 437.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.1584, allocations: 4 kB / 437.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1586, allocations: 55.97 kB / 437.3 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1587, allocations: 27.92 kB / 437.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1588, allocations: 55.66 kB / 437.4 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.1592, allocations: 143.4 kB / 437.5 MB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1592, allocations: 0 / 437.5 MB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1592, allocations: 4 kB / 437.5 MB, free: 472 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1592, allocations: 0 / 437.5 MB, free: 472 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001045/0.1603, allocations: 480.5 kB / 438 MB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.1604, allocations: 11.89 kB / 438 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.1605, allocations: 24.73 kB / 438 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1609, allocations: 220.8 kB / 438.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.1609, allocations: 4.375 kB / 438.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.161, allocations: 12.12 kB / 438.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.1613, allocations: 107.9 kB / 438.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1613, allocations: 0 / 438.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1613, allocations: 0 / 438.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1613, allocations: 8 kB / 438.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.1615, allocations: 55.89 kB / 438.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/0.1623, allocations: 0.5086 MB / 438.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.1627, allocations: 90.66 kB / 439 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.1628, allocations: 36.78 kB / 439.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1628, allocations: 4 kB / 439.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.1631, allocations: 87.31 kB / 439.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1631, allocations: 0 / 439.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004233/0.1635, allocations: 141.4 kB / 439.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.1636, allocations: 59.34 kB / 439.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1638, allocations: 187.5 kB / 439.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1638, allocations: 25.7 kB / 439.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.1639, allocations: 123.9 kB / 439.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1639, allocations: 23.72 kB / 439.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.164, allocations: 29.7 kB / 439.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1641, allocations: 326.8 kB / 440.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.1642, allocations: 27.98 kB / 440.1 MB, free: 13.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1643, allocations: 64.27 kB / 440.1 MB, free: 13.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1645, allocations: 100.1 kB / 440.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.1645, allocations: 4 kB / 440.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002747/0.1648, allocations: 137.4 kB / 440.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1649, allocations: 4 kB / 440.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1649, allocations: 3.984 kB / 440.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1649, allocations: 4 kB / 440.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.165, allocations: 19.94 kB / 440.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.165, allocations: 8.453 kB / 440.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.1651, allocations: 15.84 kB / 440.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1651, allocations: 4 kB / 440.4 MB, free: 13.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001308/0.1652, allocations: 129.8 kB / 440.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1653, allocations: 19.8 kB / 440.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.1653, allocations: 17.34 kB / 440.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1653, allocations: 3.938 kB / 440.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1654, allocations: 4 kB / 440.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1654, allocations: 0 / 440.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1656, allocations: 209.6 kB / 440.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1656, allocations: 0 / 440.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.1657, allocations: 15.98 kB / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1657, allocations: 0 / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1657, allocations: 11.98 kB / 440.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.1657, allocations: 3.938 kB / 440.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1657, allocations: 3.938 kB / 440.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.1661, allocations: 184.8 kB / 441 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.1662, allocations: 92.92 kB / 441.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.1662, allocations: 0 / 441.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.1663, allocations: 15.98 kB / 441.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.1663, allocations: 8 kB / 441.1 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1664, allocations: 4 kB / 441.1 MB, free: 12.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1665, allocations: 137.2 kB / 441.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1665, allocations: 0 / 441.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1667, allocations: 24 kB / 441.3 MB, free: 12.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0009579/0.1677, allocations: 411.2 kB / 441.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.168, allocations: 91.84 kB / 441.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.168, allocations: 0 / 441.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1681, allocations: 35.97 kB / 441.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1684, allocations: 31.84 kB / 441.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.1691, allocations: 308.6 kB / 442.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.1695, allocations: 0.7201 MB / 442.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.036e-05/0.1696, allocations: 17.42 kB / 442.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.1696, allocations: 19.38 kB / 442.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1696, allocations: 3.938 kB / 442.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of Templates: time 0.005016/0.1746, allocations: 1.837 MB / 444.8 MB, free: 8.828 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)