Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006851/0.006851, allocations: 102 kB / 15.73 MB, free: 6.039 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.0012/0.0012, allocations: 193 kB / 16.67 MB, free: 5.961 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.683/1.683, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.2275/0.2275, 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.001725/0.001726, allocations: 75.89 kB / 433 MB, free: 14.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1564, allocations: 56.46 MB / 489.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004647/0.1611, allocations: 1.672 MB / 491.2 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1629, allocations: 0.8051 MB / 492 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.163, allocations: 0 / 492 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.1635, allocations: 51.77 kB / 492 MB, free: 3.258 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.000328/0.1638, allocations: 51.75 kB / 492.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.1642, allocations: 87.69 kB / 492.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.1644, allocations: 91.7 kB / 492.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1645, allocations: 24.19 kB / 492.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1647, allocations: 35.86 kB / 492.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.668e-05/0.1648, allocations: 31.78 kB / 492.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1648, allocations: 4 kB / 492.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.165, allocations: 43.98 kB / 492.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.1651, allocations: 23.91 kB / 492.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.1651, allocations: 39.73 kB / 492.5 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1654, allocations: 119.6 kB / 492.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1654, allocations: 0 / 492.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1654, allocations: 4 kB / 492.6 MB, free: 2.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1655, allocations: 0 / 492.6 MB, free: 2.711 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007463/0.1662, allocations: 426.9 kB / 493 MB, free: 2.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1663, allocations: 11.89 kB / 493 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.1663, allocations: 12.75 kB / 493 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.1668, allocations: 216.1 kB / 493.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1668, allocations: 384 / 493.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.1668, allocations: 4.125 kB / 493.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.167, allocations: 65.61 kB / 493.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.167, allocations: 0 / 493.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1671, allocations: 4 kB / 493.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1671, allocations: 3.938 kB / 493.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.1672, allocations: 19.98 kB / 493.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.1677, allocations: 300.8 kB / 493.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1679, allocations: 54.56 kB / 493.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.168, allocations: 28.84 kB / 493.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.168, allocations: 0 / 493.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.1682, allocations: 63.39 kB / 493.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1682, allocations: 0 / 493.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006444/0.1689, allocations: 177.2 kB / 493.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.1689, allocations: 51.41 kB / 494 MB, free: 1.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.1692, allocations: 223.5 kB / 494.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1692, allocations: 29.7 kB / 494.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/0.1693, allocations: 112 kB / 494.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1693, allocations: 15.81 kB / 494.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.1694, allocations: 29.7 kB / 494.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1695, allocations: 326.8 kB / 494.7 MB, free: 368 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.1696, allocations: 16 kB / 494.7 MB, free: 352 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.1697, allocations: 45.64 kB / 494.8 MB, free: 300 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1698, allocations: 61.75 kB / 494.8 MB, free: 232 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1698, allocations: 0 / 494.8 MB, free: 232 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002004/0.17, allocations: 105.4 kB / 494.9 MB, free: 120 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.1701, allocations: 7.984 kB / 494.9 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1701, allocations: 0 / 494.9 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1701, allocations: 4 kB / 495 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.1702, allocations: 12 kB / 495 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1702, allocations: 4.031 kB / 495 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.1703, allocations: 7.938 kB / 495 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1703, allocations: 11.98 kB / 495 MB, free: 72 kB / 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 (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.0001606/0.1705, allocations: 133.7 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.1705, allocations: 11.81 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.1705, allocations: 17.39 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1706, allocations: 4 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1706, allocations: 0 / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.1706, allocations: 7.938 kB / 495.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.1711, allocations: 399.3 kB / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1711, allocations: 0 / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.1711, allocations: 8.562 kB / 495.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.1711, allocations: 4 kB / 495.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1712, allocations: 11.81 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1712, allocations: 4 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1712, allocations: 0 / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1714, allocations: 216.2 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.1715, allocations: 85 kB / 495.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1715, allocations: 7.938 kB / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.1716, allocations: 0 / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.1717, allocations: 11.98 kB / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1717, allocations: 4 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1718, allocations: 175.5 kB / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1718, allocations: 0 / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1721, allocations: 27.98 kB / 496.1 MB, free: 14.86 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.001083/0.1732, allocations: 458.5 kB / 496.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1734, allocations: 59.86 kB / 496.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1735, allocations: 0 / 496.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.1735, allocations: 36.06 kB / 496.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1739, allocations: 39.72 kB / 496.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.1745, allocations: 254.8 kB / 496.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1749, allocations: 0.7081 MB / 497.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.69e-05/0.1749, allocations: 12.88 kB / 497.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.175, allocations: 19.42 kB / 497.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 1.8e-07/0.175, allocations: 0 / 497.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of Templates: time 0.0049/0.1799, allocations: 1.747 MB / 499.4 MB, free: 11.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)