Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005629/0.005629, allocations: 107.5 kB / 15.74 MB, free: 6.051 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.001137/0.001137, allocations: 192.9 kB / 16.67 MB, free: 5.98 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1991/0.1991, allocations: 38.01 MB / 307.9 MB, free: 5.977 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.00175/0.00175, allocations: 67.91 kB / 433 MB, free: 14.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.158, allocations: 56.47 MB / 489.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003466/0.1616, allocations: 1.637 MB / 491.1 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.163, allocations: 0.7857 MB / 491.9 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.91e-05/0.1631, allocations: 0 / 491.9 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.1635, allocations: 87.69 kB / 492 MB, free: 3.41 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.0002666/0.1638, allocations: 71.73 kB / 492.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.164, allocations: 79.75 kB / 492.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1642, allocations: 99.75 kB / 492.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.1642, allocations: 7.984 kB / 492.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1644, allocations: 55.77 kB / 492.3 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1645, allocations: 55.75 kB / 492.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1645, allocations: 4 kB / 492.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.1646, allocations: 28 kB / 492.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.1647, allocations: 19.92 kB / 492.4 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.1647, allocations: 39.72 kB / 492.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1649, allocations: 103.6 kB / 492.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.1649, allocations: 0 / 492.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.165, allocations: 0 / 492.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.165, allocations: 0 / 492.6 MB, free: 2.855 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006122/0.1656, allocations: 418.8 kB / 493 MB, free: 2.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1656, allocations: 11.89 kB / 493 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.1657, allocations: 16.84 kB / 493 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.166, allocations: 208.1 kB / 493.2 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.166, allocations: 384 / 493.2 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.166, allocations: 8.125 kB / 493.2 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1662, allocations: 45.67 kB / 493.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1662, allocations: 0 / 493.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1662, allocations: 8 kB / 493.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1663, allocations: 0 / 493.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.854e-05/0.1663, allocations: 11.98 kB / 493.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.1665, allocations: 193.5 kB / 493.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1667, allocations: 46.62 kB / 493.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.1668, allocations: 28.77 kB / 493.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.1668, allocations: 4 kB / 493.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.167, allocations: 67.39 kB / 493.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.1671, allocations: 0 / 493.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.00032/0.1674, allocations: 97.52 kB / 493.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1674, allocations: 55.39 kB / 493.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.1677, allocations: 211.6 kB / 494 MB, free: 1.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1677, allocations: 25.7 kB / 494 MB, free: 1.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.1678, allocations: 108.1 kB / 494.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.1678, allocations: 11.75 kB / 494.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.1679, allocations: 21.72 kB / 494.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1681, allocations: 326.8 kB / 494.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.1682, allocations: 15.98 kB / 494.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.1682, allocations: 29.7 kB / 494.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1683, allocations: 41.66 kB / 494.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.1684, allocations: 0 / 494.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001719/0.1685, allocations: 101.6 kB / 494.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1686, allocations: 4 kB / 494.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.1686, allocations: 0 / 494.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1686, allocations: 4 kB / 494.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.1687, allocations: 8 kB / 494.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1687, allocations: 160 / 494.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.1688, allocations: 7.906 kB / 494.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1688, allocations: 7.969 kB / 494.7 MB, free: 0.5195 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001413/0.169, allocations: 141.7 kB / 494.8 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.169, allocations: 11.84 kB / 494.8 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.169, allocations: 16.98 kB / 494.8 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1691, allocations: 4 kB / 494.8 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1691, allocations: 0 / 494.8 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1691, allocations: 0 / 494.8 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.1693, allocations: 193.5 kB / 495 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1693, allocations: 0 / 495 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.1693, allocations: 4 kB / 495 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1693, allocations: 0 / 495 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1694, allocations: 3.938 kB / 495 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1694, allocations: 4 kB / 495 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.1694, allocations: 4 kB / 495 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1696, allocations: 112.9 kB / 495.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.1697, allocations: 81.02 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.1697, allocations: 4 kB / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.1697, allocations: 3.984 kB / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1698, allocations: 4 kB / 495.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1698, allocations: 4 kB / 495.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.17, allocations: 159.2 kB / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.17, allocations: 0 / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.1702, allocations: 16 kB / 495.4 MB, free: 15.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001158/0.1714, allocations: 423.9 kB / 495.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.1716, allocations: 35.92 kB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1716, allocations: 4 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.1716, allocations: 16.06 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1719, allocations: 39.77 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.1726, allocations: 214 kB / 496.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.173, allocations: 0.708 MB / 496.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.173e-05/0.173, allocations: 12.8 kB / 496.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.1731, allocations: 19.42 kB / 496.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1731, allocations: 0 / 496.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of Templates: time 0.004954/0.1781, allocations: 1.497 MB / 498.4 MB, free: 12.69 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)