Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001516/0.001516, allocations: 172.7 kB / 15.95 MB, free: 208 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.769/1.769, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.4893/0.4893, allocations: 40 MB / 310.4 MB, free: 9.914 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.0006519/0.0006524, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1635, allocations: 57.95 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002384/0.1659, allocations: 1.389 MB / 438.2 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1673, allocations: 0.7383 MB / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1675, allocations: 0 / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.1678, allocations: 39.83 kB / 439 MB, free: 396 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1682, allocations: 43.83 kB / 439 MB, free: 352 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1686, allocations: 71.84 kB / 439.1 MB, free: 280 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.1689, allocations: 83.7 kB / 439.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.169, allocations: 20.19 kB / 439.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1692, allocations: 39.78 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1693, allocations: 27.86 kB / 439.2 MB, free: 108 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1693, allocations: 0 / 439.2 MB, free: 108 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1695, allocations: 35.98 kB / 439.3 MB, free: 72 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.1695, allocations: 23.91 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.1696, allocations: 37.64 kB / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1698, allocations: 76.11 kB / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.1698, allocations: 8 kB / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1699, allocations: 0 / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1699, allocations: 0 / 439.4 MB, free: 15.92 MB / 382.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.0006661/0.1705, allocations: 406.8 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1706, allocations: 11.97 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.1707, allocations: 7.906 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.1711, allocations: 210.8 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1712, allocations: 0 / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.1712, allocations: 7.984 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.1714, allocations: 57.67 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1715, allocations: 0 / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1715, allocations: 0 / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1715, allocations: 3.953 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.087e-05/0.1716, allocations: 19.98 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.1721, allocations: 277 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1724, allocations: 62.62 kB / 440.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.1725, allocations: 20.84 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1725, allocations: 4 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.1727, allocations: 71.25 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.1727, allocations: 0 / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006394/0.1734, allocations: 173.3 kB / 440.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.1734, allocations: 51.41 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1737, allocations: 190.1 kB / 441 MB, free: 14.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1737, allocations: 33.7 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.1738, allocations: 96.14 kB / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.1738, allocations: 27.64 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.1739, allocations: 0 / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002643/0.1741, allocations: 322.8 kB / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.965e-05/0.1742, allocations: 23.98 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.1743, allocations: 37.7 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.466e-05/0.1744, allocations: 20 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1744, allocations: 0 / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002363/0.1746, allocations: 101.5 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.1747, allocations: 4 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1747, allocations: 7.984 kB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.1747, allocations: 4.031 kB / 441.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1748, allocations: 15.94 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1749, allocations: 0 / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.1749, allocations: 4 kB / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1749, allocations: 4 kB / 441.6 MB, free: 13.46 MB / 382.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.000312/0.1753, allocations: 130 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1753, allocations: 11.86 kB / 441.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.1754, allocations: 24.64 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1754, allocations: 0 / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.1754, allocations: 4 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1754, allocations: 0 / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009956/0.1764, allocations: 395.6 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.1764, allocations: 4 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.1765, allocations: 12 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1765, allocations: 0 / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1765, allocations: 3.984 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1765, allocations: 0 / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1765, allocations: 8.031 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.1769, allocations: 208.2 kB / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1771, allocations: 88.88 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.1771, allocations: 11.98 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.1772, allocations: 0 / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.1773, allocations: 4 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.1773, allocations: 11.98 kB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1775, allocations: 140.1 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1775, allocations: 0 / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.1779, allocations: 27.98 kB / 442.7 MB, free: 12.29 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.001259/0.1791, allocations: 472.3 kB / 443.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1793, allocations: 55.91 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1794, allocations: 4 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.1795, allocations: 27.98 kB / 443.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1799, allocations: 35.7 kB / 443.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.1805, allocations: 238.4 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.1809, allocations: 0.7043 MB / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.341e-05/0.181, allocations: 21.19 kB / 444.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.1811, allocations: 15.44 kB / 444.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1811, allocations: 0 / 444.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Templates: time 0.005394/0.1865, allocations: 1.583 MB / 445.8 MB, free: 9.125 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) Environment - environmentSimulation: