Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, 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.00111/0.00111, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.68/1.68, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.3877/0.3877, allocations: 37.97 MB / 307.4 MB, free: 10.07 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.001421/0.001421, allocations: 70.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1576, allocations: 56.47 MB / 431.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003712/0.1614, allocations: 1.724 MB / 432.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1629, allocations: 0.8 MB / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.163, allocations: 0 / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.1635, allocations: 39.83 kB / 433.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1637, allocations: 51.83 kB / 433.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.164, allocations: 71.84 kB / 433.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1642, allocations: 95.7 kB / 434 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1644, allocations: 12.22 kB / 434 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.1645, allocations: 47.77 kB / 434 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.727e-05/0.1646, allocations: 31.8 kB / 434.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1646, allocations: 0 / 434.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1647, allocations: 47.98 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1648, allocations: 27.91 kB / 434.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.1649, allocations: 35.73 kB / 434.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1651, allocations: 111.9 kB / 434.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1651, allocations: 4 kB / 434.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1651, allocations: 3.938 kB / 434.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1651, allocations: 3.984 kB / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007405/0.1659, allocations: 410.9 kB / 434.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1659, allocations: 15.89 kB / 434.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.166, allocations: 12.83 kB / 434.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1662, allocations: 208.8 kB / 434.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1663, allocations: 8.312 kB / 435 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1663, allocations: 8.125 kB / 435 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1665, allocations: 53.67 kB / 435 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1665, allocations: 0 / 435 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1665, allocations: 3.984 kB / 435 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1665, allocations: 3.984 kB / 435 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.1666, allocations: 23.92 kB / 435 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.1672, allocations: 288.8 kB / 435.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1674, allocations: 54.69 kB / 435.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.1675, allocations: 20.84 kB / 435.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.1675, allocations: 4 kB / 435.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/0.1679, allocations: 71.33 kB / 435.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1679, allocations: 0 / 435.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006538/0.1685, allocations: 177.1 kB / 435.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.1686, allocations: 51.41 kB / 435.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1688, allocations: 200 kB / 435.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1688, allocations: 25.7 kB / 435.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.1689, allocations: 104.1 kB / 436 MB, free: 1.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.169, allocations: 27.7 kB / 436 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.169, allocations: 25.7 kB / 436.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1692, allocations: 326.8 kB / 436.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.1693, allocations: 20 kB / 436.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.1694, allocations: 33.7 kB / 436.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1695, allocations: 61.64 kB / 436.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1695, allocations: 8 kB / 436.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.1697, allocations: 93.58 kB / 436.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1697, allocations: 4 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1697, allocations: 4 kB / 436.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1698, allocations: 0 / 436.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1699, allocations: 15.94 kB / 436.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1699, allocations: 0.5625 kB / 436.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.17, allocations: 19.83 kB / 436.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.17, allocations: 7.938 kB / 436.7 MB, free: 1.254 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.000135/0.1701, allocations: 125.8 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1702, allocations: 11.91 kB / 436.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.1702, allocations: 21.39 kB / 436.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1702, allocations: 3.938 kB / 436.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1702, allocations: 0 / 436.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1703, allocations: 3.938 kB / 436.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.1708, allocations: 391.3 kB / 437.2 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1708, allocations: 4.031 kB / 437.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.1708, allocations: 11.98 kB / 437.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1708, allocations: 3.938 kB / 437.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.1709, allocations: 11.94 kB / 437.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1709, allocations: 0 / 437.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1709, allocations: 0 / 437.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.1712, allocations: 196.2 kB / 437.4 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.1712, allocations: 93.02 kB / 437.5 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1713, allocations: 11.92 kB / 437.5 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.1713, allocations: 0 / 437.5 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1714, allocations: 4 kB / 437.5 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.1714, allocations: 7.984 kB / 437.5 MB, free: 268 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.1716, allocations: 148.2 kB / 437.7 MB, free: 120 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1716, allocations: 4 kB / 437.7 MB, free: 116 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1718, allocations: 23.98 kB / 437.7 MB, free: 92 kB / 366.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.001142/0.173, allocations: 477.7 kB / 438.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1732, allocations: 63.89 kB / 438.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1732, allocations: 0 / 438.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.1733, allocations: 35.98 kB / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1737, allocations: 35.78 kB / 438.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.1743, allocations: 259.1 kB / 438.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1746, allocations: 0.7002 MB / 439.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.1747, allocations: 20.86 kB / 439.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.1747, allocations: 19.44 kB / 439.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1747, allocations: 0 / 439.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of Templates: time 0.004928/0.1797, allocations: 1.678 MB / 441 MB, free: 12.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)