Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002791/0.002791, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.751/1.751, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.3739/0.3739, allocations: 39.94 MB / 309.7 MB, free: 9.273 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.001569/0.001569, allocations: 78.39 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1497, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.004354/0.1542, allocations: 1.681 MB / 436.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1566, allocations: 1.408 MB / 437.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1567, allocations: 7.938 kB / 437.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.1571, allocations: 31.83 kB / 437.6 MB, free: 0.5312 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1574, allocations: 55.7 kB / 437.7 MB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1577, allocations: 87.75 kB / 437.8 MB, free: 400 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1579, allocations: 87.7 kB / 437.9 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.158, allocations: 24.2 kB / 437.9 MB, free: 288 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.287e-05/0.1581, allocations: 39.8 kB / 437.9 MB, free: 248 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.1583, allocations: 43.77 kB / 438 MB, free: 204 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1583, allocations: 8 kB / 438 MB, free: 196 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1585, allocations: 59.97 kB / 438 MB, free: 136 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.1585, allocations: 11.94 kB / 438 MB, free: 124 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.1586, allocations: 39.78 kB / 438.1 MB, free: 84 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.1589, allocations: 120.1 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.159, allocations: 4 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.159, allocations: 0 / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.159, allocations: 4 kB / 438.2 MB, free: 15.95 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.0006315/0.1596, allocations: 394.9 kB / 438.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1597, allocations: 15.89 kB / 438.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.1597, allocations: 12.78 kB / 438.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.16, allocations: 204.1 kB / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.16, allocations: 4.375 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1601, allocations: 4.125 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1603, allocations: 75.39 kB / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1603, allocations: 3.906 kB / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1603, allocations: 0 / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1603, allocations: 0 / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.1604, allocations: 23.92 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.1609, allocations: 288.8 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1611, allocations: 54.67 kB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.1612, allocations: 24.84 kB / 439.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.1612, allocations: 0 / 439.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/0.1615, allocations: 67.33 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1615, allocations: 4 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000669/0.1622, allocations: 173.2 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.1623, allocations: 89.09 kB / 439.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1624, allocations: 141.8 kB / 439.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1625, allocations: 33.7 kB / 439.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.1625, allocations: 96.12 kB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1626, allocations: 23.66 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1626, allocations: 21.7 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1628, allocations: 326.8 kB / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.1629, allocations: 24 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.163, allocations: 38.56 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1631, allocations: 65.7 kB / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1631, allocations: 0 / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.1633, allocations: 97.58 kB / 440.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1633, allocations: 7.984 kB / 440.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1633, allocations: 12 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1634, allocations: 0 / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1635, allocations: 12.38 kB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1635, allocations: 0 / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.1635, allocations: 15.83 kB / 440.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.1636, allocations: 12 kB / 440.5 MB, free: 13.39 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 (10): * Single equations (assignments): 10 * 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.0001229/0.1637, allocations: 117.2 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1637, allocations: 11.91 kB / 440.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.1638, allocations: 8.719 kB / 440.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1638, allocations: 8 kB / 440.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1638, allocations: 3.984 kB / 440.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.1638, allocations: 3.938 kB / 440.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.1643, allocations: 387.3 kB / 441.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1643, allocations: 0 / 441.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.1644, allocations: 11.94 kB / 441.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1644, allocations: 0 / 441.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1644, allocations: 11.86 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/0.1644, allocations: 8.031 kB / 441.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1644, allocations: 0 / 441.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1647, allocations: 196.3 kB / 441.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.1648, allocations: 81.02 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.1648, allocations: 7.938 kB / 441.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.1649, allocations: 8.172 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.165, allocations: 8 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.165, allocations: 7.938 kB / 441.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1652, allocations: 118.9 kB / 441.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1652, allocations: 3.938 kB / 441.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.1655, allocations: 35.98 kB / 441.5 MB, free: 12.27 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 (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.001287/0.1668, allocations: 0.4929 MB / 442 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.167, allocations: 63.89 kB / 442.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.167, allocations: 7.938 kB / 442.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.1671, allocations: 32.05 kB / 442.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1674, allocations: 27.84 kB / 442.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.1679, allocations: 190.7 kB / 442.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1682, allocations: 0.7002 MB / 443.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.1683, allocations: 12.88 kB / 443.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.1683, allocations: 23.42 kB / 443.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1683, allocations: 0 / 443.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of Templates: time 0.005133/0.1735, allocations: 1.937 MB / 445 MB, free: 8.754 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1)