Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001226, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001269/0.001269, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4441/0.4441, allocations: 40.01 MB / 310.4 MB, free: 9.996 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.2. 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.0006586/0.0006589, allocations: 16 kB / 378.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1536, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002682/0.1563, allocations: 1.386 MB / 438.2 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1578, allocations: 0.7422 MB / 438.9 MB, free: 424 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.158, allocations: 3.938 kB / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.1584, allocations: 31.91 kB / 439 MB, free: 388 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.1588, allocations: 43.84 kB / 439 MB, free: 344 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.1593, allocations: 75.83 kB / 439.1 MB, free: 268 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1595, allocations: 79.7 kB / 439.2 MB, free: 188 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1596, allocations: 20.19 kB / 439.2 MB, free: 168 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.1598, allocations: 43.72 kB / 439.2 MB, free: 124 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1599, allocations: 23.86 kB / 439.2 MB, free: 100 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.16, allocations: 4 kB / 439.3 MB, free: 96 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1601, allocations: 43.97 kB / 439.3 MB, free: 52 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.1602, allocations: 15.92 kB / 439.3 MB, free: 36 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.008e-05/0.1603, allocations: 37.72 kB / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1605, allocations: 84.02 kB / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1606, allocations: 0 / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.56e-06/0.1606, allocations: 0 / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1606, allocations: 3.938 kB / 439.4 MB, free: 15.91 MB / 382.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.000816/0.1614, allocations: 398.8 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1615, allocations: 12.03 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.1615, allocations: 15.89 kB / 439.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1619, allocations: 198.9 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1619, allocations: 0 / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.1619, allocations: 3.938 kB / 440 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1621, allocations: 61.67 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1621, allocations: 0 / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1622, allocations: 3.984 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1622, allocations: 3.953 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.134e-05/0.1623, allocations: 16 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.1627, allocations: 284.9 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1629, allocations: 58.62 kB / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.163, allocations: 20.84 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.163, allocations: 0 / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.1632, allocations: 75.25 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.1632, allocations: 0 / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006395/0.1639, allocations: 169.3 kB / 440.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1639, allocations: 59.41 kB / 440.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.1642, allocations: 182.1 kB / 441 MB, free: 14.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1643, allocations: 33.64 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.1643, allocations: 100.1 kB / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.1644, allocations: 27.7 kB / 441.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.1644, allocations: 0 / 441.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1646, allocations: 322.8 kB / 441.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.1647, allocations: 27.92 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.1647, allocations: 37.64 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.873e-05/0.1648, allocations: 20 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1648, allocations: 0 / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.165, allocations: 113.5 kB / 441.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.165, allocations: 4 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.165, allocations: 0 / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1651, allocations: 0 / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.1652, allocations: 19.98 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1652, allocations: 0 / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.1652, allocations: 4 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1653, allocations: 0 / 441.7 MB, free: 13.45 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.1654, allocations: 133.9 kB / 441.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.1654, allocations: 11.86 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.1655, allocations: 16.7 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1655, allocations: 0 / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1655, allocations: 0 / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1655, allocations: 7.938 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.166, allocations: 387.4 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.166, allocations: 0 / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.166, allocations: 16.34 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.166, allocations: 0 / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.166, allocations: 8 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1661, allocations: 3.984 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1661, allocations: 80 / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1663, allocations: 208.2 kB / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.1664, allocations: 92.88 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1664, allocations: 8 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.1665, allocations: 7.984 kB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.1665, allocations: 7.938 kB / 442.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.1665, allocations: 4 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1667, allocations: 152 kB / 442.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1667, allocations: 0 / 442.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.167, allocations: 20 kB / 442.7 MB, free: 12.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/0.1681, allocations: 472.5 kB / 443.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1683, allocations: 51.92 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1683, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.1684, allocations: 28.11 kB / 443.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1688, allocations: 39.78 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.1693, allocations: 242.2 kB / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1696, allocations: 0.7043 MB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.209e-05/0.1697, allocations: 13.19 kB / 444.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.1698, allocations: 19.42 kB / 444.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1698, allocations: 0 / 444.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of Templates: time 0.004718/0.1745, allocations: 1.587 MB / 445.9 MB, free: 9.113 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) Environment - environmentSimulation: