Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.00153, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00119/0.00119, allocations: 192.4 kB / 16.13 MB, free: 6.656 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.632/1.632, allocations: 205.1 MB / 222 MB, free: 4.738 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.382/0.382, allocations: 37.98 MB / 307.3 MB, free: 10.08 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.001592/0.001592, allocations: 63.92 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.16, allocations: 56.47 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003988/0.1641, allocations: 1.732 MB / 432.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1655, allocations: 0.8038 MB / 433.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.1657, allocations: 4 kB / 433.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.1661, allocations: 75.77 kB / 433.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.1664, allocations: 71.78 kB / 433.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1667, allocations: 71.8 kB / 433.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.167, allocations: 107.7 kB / 433.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1671, allocations: 12.22 kB / 433.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1673, allocations: 51.78 kB / 433.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1674, allocations: 51.81 kB / 434 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1674, allocations: 4 kB / 434 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1676, allocations: 43.92 kB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.1676, allocations: 19.91 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.1677, allocations: 31.75 kB / 434.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1679, allocations: 115.9 kB / 434.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1679, allocations: 4 kB / 434.2 MB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1679, allocations: 0 / 434.2 MB, free: 3.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1679, allocations: 4 kB / 434.2 MB, free: 3.863 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.0005848/0.1685, allocations: 418.9 kB / 434.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1686, allocations: 12.03 kB / 434.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.1686, allocations: 8.844 kB / 434.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1689, allocations: 220.7 kB / 434.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1689, allocations: 4.359 kB / 434.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.169, allocations: 8.125 kB / 434.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1691, allocations: 53.67 kB / 434.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1691, allocations: 4 kB / 434.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1692, allocations: 0 / 434.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1692, allocations: 4 kB / 434.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.1692, allocations: 15.98 kB / 434.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1696, allocations: 296.8 kB / 435.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.1698, allocations: 54.67 kB / 435.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.1699, allocations: 20.86 kB / 435.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1699, allocations: 0 / 435.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.1701, allocations: 67.39 kB / 435.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1701, allocations: 0 / 435.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005677/0.1706, allocations: 181 kB / 435.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1707, allocations: 51.41 kB / 435.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.1709, allocations: 222.3 kB / 435.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1709, allocations: 29.64 kB / 435.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.171, allocations: 104.1 kB / 435.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.171, allocations: 27.64 kB / 436 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.1711, allocations: 21.72 kB / 436 MB, free: 1.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1712, allocations: 334.8 kB / 436.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.1713, allocations: 19.94 kB / 436.3 MB, free: 1.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.1714, allocations: 41.7 kB / 436.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1715, allocations: 57.7 kB / 436.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1715, allocations: 0 / 436.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.1717, allocations: 101.5 kB / 436.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1717, allocations: 4 kB / 436.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1717, allocations: 0 / 436.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1717, allocations: 7.984 kB / 436.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.1718, allocations: 19.97 kB / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1718, allocations: 0 / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.1719, allocations: 7.938 kB / 436.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1719, allocations: 4 kB / 436.6 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.0001137/0.172, allocations: 125.8 kB / 436.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1721, allocations: 19.8 kB / 436.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.1721, allocations: 17.39 kB / 436.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1721, allocations: 0 / 436.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1721, allocations: 4 kB / 436.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1722, allocations: 7.938 kB / 436.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.1726, allocations: 391.3 kB / 437.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1726, allocations: 0 / 437.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1727, allocations: 12.36 kB / 437.1 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1727, allocations: 0 / 437.1 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1727, allocations: 3.938 kB / 437.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1727, allocations: 8.234 kB / 437.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1727, allocations: 0 / 437.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.173, allocations: 216.1 kB / 437.4 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.173, allocations: 85.02 kB / 437.5 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.1731, allocations: 11.92 kB / 437.5 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.1731, allocations: 4 kB / 437.5 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1732, allocations: 4 kB / 437.5 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1732, allocations: 4.172 kB / 437.5 MB, free: 256 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1733, allocations: 164.2 kB / 437.6 MB, free: 92 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1733, allocations: 3.938 kB / 437.6 MB, free: 88 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1736, allocations: 20 kB / 437.7 MB, free: 68 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.001024/0.1746, allocations: 458.9 kB / 438.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1748, 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.585e-06/0.1748, allocations: 0 / 438.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.1749, allocations: 31.92 kB / 438.2 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.0003421/0.1753, allocations: 27.98 kB / 438.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.1757, allocations: 264.8 kB / 438.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.176, allocations: 0.7121 MB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.1761, allocations: 17.19 kB / 439.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.1762, allocations: 19.42 kB / 439.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1762, allocations: 0 / 439.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of Templates: time 0.004434/0.1806, allocations: 1.655 MB / 440.9 MB, free: 12.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)