Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, 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.00188/0.00188, allocations: 190.6 kB / 16.14 MB, free: 6.711 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.581/1.581, allocations: 205.1 MB / 222 MB, free: 4.98 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.3281/0.3281, allocations: 37.98 MB / 307.3 MB, free: 9.801 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.003013/0.003013, allocations: 63.91 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1544, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003239/0.1577, allocations: 1.732 MB / 432.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1591, allocations: 0.7961 MB / 433.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.1592, allocations: 7.938 kB / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1596, allocations: 91.8 kB / 433.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.1598, allocations: 83.77 kB / 433.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1601, allocations: 79.78 kB / 433.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1603, allocations: 107.7 kB / 433.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.1603, allocations: 16.2 kB / 433.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.1604, allocations: 43.78 kB / 434 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1605, allocations: 67.73 kB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1606, allocations: 3.938 kB / 434 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.1607, allocations: 43.98 kB / 434.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.1607, allocations: 27.91 kB / 434.1 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.1608, allocations: 35.69 kB / 434.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.161, allocations: 123.8 kB / 434.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.161, allocations: 0 / 434.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.161, allocations: 0 / 434.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.161, allocations: 0 / 434.3 MB, free: 3.797 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.0005479/0.1616, allocations: 438.8 kB / 434.7 MB, free: 3.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1616, allocations: 8.031 kB / 434.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1617, allocations: 12.84 kB / 434.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1619, allocations: 220.8 kB / 434.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1619, allocations: 384 / 434.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.162, allocations: 12.12 kB / 434.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1621, allocations: 49.67 kB / 435 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1621, allocations: 0 / 435 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1621, allocations: 4 kB / 435 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1621, allocations: 0 / 435 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.284e-05/0.1622, allocations: 23.92 kB / 435 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1626, allocations: 296.8 kB / 435.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1628, allocations: 58.62 kB / 435.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.1628, allocations: 20.84 kB / 435.4 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1629, allocations: 7.938 kB / 435.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.1631, allocations: 71.39 kB / 435.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1631, allocations: 0 / 435.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005216/0.1636, allocations: 181.1 kB / 435.6 MB, free: 2.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1636, allocations: 51.41 kB / 435.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1639, allocations: 242.2 kB / 435.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1639, allocations: 29.7 kB / 436 MB, free: 1.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.1639, allocations: 112.1 kB / 436.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.164, allocations: 23.7 kB / 436.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.164, allocations: 21.72 kB / 436.1 MB, free: 1.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.1641, allocations: 330.8 kB / 436.4 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.1642, allocations: 23.98 kB / 436.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.1643, allocations: 41.7 kB / 436.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.1644, allocations: 61.7 kB / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1644, allocations: 192 / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.1646, allocations: 109.4 kB / 436.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1646, allocations: 7.938 kB / 436.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1646, allocations: 0 / 436.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1646, allocations: 0 / 436.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.1647, allocations: 19.98 kB / 436.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1647, allocations: 0 / 436.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.1648, allocations: 7.938 kB / 436.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.1648, allocations: 0 / 436.7 MB, free: 1.121 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 (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.0001022/0.1649, allocations: 137.9 kB / 436.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.1649, allocations: 7.906 kB / 436.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.165, allocations: 21.39 kB / 436.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.165, allocations: 0 / 436.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.165, allocations: 0 / 436.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.165, allocations: 3.938 kB / 436.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.1654, allocations: 403.2 kB / 437.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1654, allocations: 3.984 kB / 437.3 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.1655, allocations: 15.97 kB / 437.3 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1655, allocations: 0 / 437.3 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1655, allocations: 7.938 kB / 437.3 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1655, allocations: 3.938 kB / 437.3 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1655, allocations: 0 / 437.3 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1657, allocations: 208.3 kB / 437.5 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1658, allocations: 88.91 kB / 437.6 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.1658, allocations: 12.31 kB / 437.6 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1659, allocations: 0 / 437.6 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1659, allocations: 15.92 kB / 437.6 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.166, allocations: 8 kB / 437.6 MB, free: 100 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1661, allocations: 184.3 kB / 437.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1661, allocations: 0 / 437.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1664, allocations: 24 kB / 437.8 MB, free: 15.89 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.0009962/0.1674, allocations: 461.2 kB / 438.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.1676, allocations: 63.89 kB / 438.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1676, allocations: 0 / 438.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.1677, allocations: 27.98 kB / 438.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.168, allocations: 43.92 kB / 438.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.1685, allocations: 293.1 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1687, allocations: 0.7082 MB / 439.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.1688, allocations: 16.88 kB / 439.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.1688, allocations: 19.44 kB / 439.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1688, allocations: 0 / 439.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of Templates: time 0.004344/0.1732, allocations: 1.654 MB / 441.1 MB, free: 12.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)