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.001425/0.001425, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001706/0.001706, allocations: 191.7 kB / 16.25 MB, free: 6.621 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.637/1.637, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3546/0.3546, allocations: 37.99 MB / 307.4 MB, free: 10.05 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.001408/0.001408, allocations: 74.61 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1606, allocations: 56.47 MB / 431.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003445/0.1641, allocations: 1.685 MB / 432.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1656, allocations: 0.7844 MB / 433.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.1657, allocations: 0 / 433.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.166, allocations: 79.83 kB / 433.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1662, allocations: 71.73 kB / 433.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.1665, allocations: 71.91 kB / 433.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1666, allocations: 99.69 kB / 434 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.1667, allocations: 11.92 kB / 434 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.972e-05/0.1668, allocations: 55.77 kB / 434.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.834e-05/0.1669, allocations: 55.81 kB / 434.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1669, allocations: 0 / 434.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.167, allocations: 27.94 kB / 434.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.1671, allocations: 15.98 kB / 434.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.1671, allocations: 43.66 kB / 434.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1673, allocations: 107.9 kB / 434.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1673, allocations: 0 / 434.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1673, allocations: 0 / 434.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1673, allocations: 0 / 434.3 MB, free: 3.832 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.0005649/0.1679, allocations: 414.9 kB / 434.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.168, allocations: 11.89 kB / 434.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.168, allocations: 12.84 kB / 434.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1682, allocations: 208.7 kB / 434.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1683, allocations: 4.375 kB / 434.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1683, allocations: 8.125 kB / 435 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1684, allocations: 57.61 kB / 435 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-06/0.1685, allocations: 0 / 435 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1685, allocations: 0 / 435 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1685, allocations: 0 / 435 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/0.1686, allocations: 11.98 kB / 435 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.1688, allocations: 185.7 kB / 435.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1689, allocations: 50.62 kB / 435.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.169, allocations: 24.78 kB / 435.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1691, allocations: 3.938 kB / 435.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.1692, allocations: 63.39 kB / 435.3 MB, free: 2.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 3.727e-06/0.1693, allocations: 3.984 kB / 435.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002863/0.1695, allocations: 93.58 kB / 435.4 MB, free: 2.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.1696, allocations: 55.41 kB / 435.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.1698, allocations: 214.3 kB / 435.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1699, allocations: 25.7 kB / 435.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.17, allocations: 112.1 kB / 435.8 MB, free: 2.102 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.17, allocations: 11.75 kB / 435.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.17, allocations: 25.66 kB / 435.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1702, allocations: 326.8 kB / 436.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.1703, allocations: 19.98 kB / 436.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.1704, allocations: 29.69 kB / 436.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1705, allocations: 37.97 kB / 436.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1705, allocations: 8 kB / 436.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002207/0.1708, allocations: 85.45 kB / 436.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1708, allocations: 4 kB / 436.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1708, allocations: 8.031 kB / 436.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1708, allocations: 3.938 kB / 436.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.1709, allocations: 8 kB / 436.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1709, allocations: 0 / 436.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.171, allocations: 7.906 kB / 436.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.171, allocations: 7.984 kB / 436.4 MB, free: 1.496 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.0001709/0.1712, allocations: 129.7 kB / 436.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1712, allocations: 7.906 kB / 436.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.1713, allocations: 20.98 kB / 436.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1713, allocations: 4 kB / 436.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1713, allocations: 0 / 436.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1713, allocations: 0 / 436.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.1715, allocations: 193.5 kB / 436.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1715, allocations: 0 / 436.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.1716, allocations: 4 kB / 436.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1716, allocations: 0 / 436.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1716, allocations: 4 kB / 436.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1716, allocations: 0 / 436.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1716, allocations: 0 / 436.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.172, allocations: 120.8 kB / 436.9 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.172, allocations: 85.02 kB / 437 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1721, allocations: 0 / 437 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.1721, allocations: 3.984 kB / 437 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.1722, allocations: 4 kB / 437 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1722, allocations: 8.125 kB / 437 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.1724, allocations: 156.2 kB / 437.1 MB, free: 0.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1724, allocations: 0 / 437.1 MB, free: 0.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.1727, allocations: 19.98 kB / 437.2 MB, free: 0.6484 MB / 366.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.001099/0.1738, allocations: 418.4 kB / 437.6 MB, free: 264 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.174, allocations: 43.92 kB / 437.6 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.174, allocations: 0 / 437.6 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.1741, allocations: 20 kB / 437.6 MB, free: 200 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1744, allocations: 35.7 kB / 437.7 MB, free: 164 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.175, allocations: 230.3 kB / 437.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.1753, allocations: 0.708 MB / 438.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.1753, allocations: 12.56 kB / 438.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.1754, allocations: 19.42 kB / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1754, allocations: 0 / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of Templates: time 0.00459/0.18, allocations: 1.467 MB / 440.1 MB, free: 13.68 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)