Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, 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.001117/0.001117, allocations: 196.2 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.795/1.795, allocations: 205.1 MB / 222 MB, free: 4.977 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.3829/0.3829, allocations: 39.93 MB / 309.3 MB, free: 9.539 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.001665/0.001666, allocations: 66.41 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1549, allocations: 56.88 MB / 433.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003904/0.1589, allocations: 1.751 MB / 435.6 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1604, allocations: 0.7961 MB / 436.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1606, allocations: 0 / 436.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.1611, allocations: 103.7 kB / 436.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.1614, allocations: 75.77 kB / 436.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1617, allocations: 79.84 kB / 436.6 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.162, allocations: 107.7 kB / 436.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1621, allocations: 16.2 kB / 436.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1622, allocations: 55.7 kB / 436.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1624, allocations: 59.81 kB / 436.8 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1624, allocations: 4 kB / 436.9 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1626, allocations: 43.92 kB / 436.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.1626, allocations: 27.91 kB / 436.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.1627, allocations: 43.67 kB / 437 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.163, allocations: 139.8 kB / 437.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.163, allocations: 0 / 437.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.163, allocations: 0 / 437.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.163, allocations: 0 / 437.1 MB, free: 1.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006867/0.1637, allocations: 434.8 kB / 437.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1638, allocations: 12.03 kB / 437.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.1638, allocations: 12.75 kB / 437.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.1641, allocations: 227.7 kB / 437.8 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1642, allocations: 4.375 kB / 437.8 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1642, allocations: 12.12 kB / 437.8 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1644, allocations: 65.59 kB / 437.9 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1644, allocations: 0 / 437.9 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1644, allocations: 3.938 kB / 437.9 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1644, allocations: 3.938 kB / 437.9 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1645, allocations: 27.98 kB / 437.9 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.165, allocations: 308.9 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1652, allocations: 74.62 kB / 438.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.1653, allocations: 24.84 kB / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1654, allocations: 0 / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.1656, allocations: 71.38 kB / 438.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.1657, allocations: 4 kB / 438.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006828/0.1663, allocations: 209 kB / 438.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.1664, allocations: 55.41 kB / 438.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1667, allocations: 246.5 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1667, allocations: 25.7 kB / 438.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.1668, allocations: 116.1 kB / 439 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.1669, allocations: 27.56 kB / 439 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.1669, allocations: 33.7 kB / 439.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.167, allocations: 326.8 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.1671, allocations: 27.92 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.471e-05/0.1672, allocations: 49.64 kB / 439.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.1673, allocations: 65.7 kB / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1674, allocations: 0 / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002311/0.1676, allocations: 121.4 kB / 439.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1676, allocations: 8 kB / 439.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1676, allocations: 4.125 kB / 439.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1677, allocations: 0 / 439.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1678, allocations: 19.94 kB / 439.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1678, allocations: 0 / 439.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.1678, allocations: 11.92 kB / 439.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1679, allocations: 4 kB / 439.7 MB, free: 14.34 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001193/0.168, allocations: 141.8 kB / 439.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.168, allocations: 15.94 kB / 439.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.1681, allocations: 17.41 kB / 439.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1681, allocations: 0 / 439.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1681, allocations: 3.984 kB / 439.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1681, allocations: 3.938 kB / 439.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.1686, allocations: 419.7 kB / 440.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1686, allocations: 4 kB / 440.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.1687, allocations: 19.95 kB / 440.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1687, allocations: 0 / 440.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1687, allocations: 7.938 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1687, allocations: 0 / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1687, allocations: 80 / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.169, allocations: 220.1 kB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.169, allocations: 85.02 kB / 440.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.1691, allocations: 15.92 kB / 440.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.1692, allocations: 0 / 440.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1692, allocations: 11.98 kB / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1693, allocations: 8 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1694, allocations: 188.2 kB / 440.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1694, allocations: 0 / 440.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1697, allocations: 24 kB / 440.8 MB, free: 13.07 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 (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.001042/0.1707, allocations: 469.2 kB / 441.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.171, allocations: 67.92 kB / 441.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.171, allocations: 0 / 441.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.1711, allocations: 35.92 kB / 441.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1714, allocations: 36.03 kB / 441.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.172, allocations: 321.4 kB / 441.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1724, allocations: 0.716 MB / 442.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.742e-05/0.1725, allocations: 20.78 kB / 442.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.1725, allocations: 15.44 kB / 442.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1725, allocations: 0 / 442.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of Templates: time 0.004976/0.1775, allocations: 1.74 MB / 444.2 MB, free: 9.641 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)