Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002772/0.002778, allocations: 362 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.284/4.284, allocations: 388.9 MB / 405.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003526/0.003525, allocations: 222.6 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5716/0.5716, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5248/0.6377, allocations: 82.37 MB / 0.7605 GB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.6381, allocations: 78.39 kB / 0.7606 GB, free: 2.949 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02265/0.6607, allocations: 5.416 MB / 0.7659 GB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6608, allocations: 0 / 0.7659 GB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.6608, allocations: 0 / 0.7659 GB, free: 14.62 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007572/0.6616, allocations: 473.2 kB / 0.7663 GB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.6616, allocations: 12.77 kB / 0.7664 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.6617, allocations: 11.91 kB / 0.7664 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.6621, allocations: 205.2 kB / 0.7666 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.6621, allocations: 4 kB / 0.7666 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.6622, allocations: 4 kB / 0.7666 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.6624, allocations: 81.64 kB / 0.7667 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6625, allocations: 0 / 0.7667 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.6625, allocations: 3.5 kB / 0.7667 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6625, allocations: 0 / 0.7667 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.6627, allocations: 38.59 kB / 0.7667 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.6633, allocations: 323.4 kB / 0.767 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.6636, allocations: 76.47 kB / 0.7671 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.6637, allocations: 27.91 kB / 0.7671 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.6637, allocations: 4 kB / 0.7671 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.664, allocations: 82.75 kB / 0.7672 GB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.664, allocations: 0 / 0.7672 GB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009055/0.6649, allocations: 218.8 kB / 0.7674 GB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.665, allocations: 81.11 kB / 0.7675 GB, free: 12.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.6653, allocations: 162 kB / 0.7676 GB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.6653, allocations: 29.52 kB / 0.7677 GB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.6654, allocations: 99.34 kB / 0.7677 GB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.6655, allocations: 26.09 kB / 0.7678 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.6655, allocations: 4 kB / 0.7678 GB, free: 12.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6657, allocations: 322.3 kB / 0.7681 GB, free: 12.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.6658, allocations: 42.05 kB / 0.7681 GB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.666, allocations: 70.72 kB / 0.7682 GB, free: 12.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.6662, allocations: 70.88 kB / 0.7683 GB, free: 12.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6662, allocations: 4.031 kB / 0.7683 GB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004707/0.6667, allocations: 177.6 kB / 0.7684 GB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.6668, allocations: 37.52 kB / 0.7685 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6668, allocations: 0 / 0.7685 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6668, allocations: 4 kB / 0.7685 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.667, allocations: 15.98 kB / 0.7685 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.667, allocations: 4 kB / 0.7685 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.6671, allocations: 4 kB / 0.7685 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.6671, allocations: 7.25 kB / 0.7685 GB, free: 11.94 MB / 362.7 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001462/0.6673, allocations: 129.6 kB / 0.7686 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.6673, allocations: 7.906 kB / 0.7686 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.6678, allocations: 151.5 kB / 0.7688 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6678, allocations: 4 kB / 0.7688 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6678, allocations: 0 / 0.7688 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6678, allocations: 0 / 0.7688 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.6686, allocations: 439.8 kB / 0.7692 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6687, allocations: 0 / 0.7692 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.6688, allocations: 19.92 kB / 0.7692 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.6688, allocations: 0 / 0.7692 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.6688, allocations: 4 kB / 0.7692 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6688, allocations: 0 / 0.7692 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6689, allocations: 288 / 0.7692 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.6693, allocations: 238 kB / 0.7695 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6695, allocations: 104.1 kB / 0.7695 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.6695, allocations: 11.92 kB / 0.7696 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.6696, allocations: 0 / 0.7696 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.6697, allocations: 11.23 kB / 0.7696 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6697, allocations: 7.938 kB / 0.7696 GB, free: 10.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.6699, allocations: 122 kB / 0.7697 GB, free: 10.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6699, allocations: 0 / 0.7697 GB, free: 10.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000439/0.6704, allocations: 55.56 kB / 0.7697 GB, free: 10.69 MB / 362.7 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 (11): * Single equations (assignments): 9 * 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.001581/0.6719, allocations: 0.5238 MB / 0.7703 GB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.6724, allocations: 168 kB / 0.7704 GB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6724, allocations: 0 / 0.7704 GB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.6726, allocations: 42.98 kB / 0.7705 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.6731, allocations: 30.41 kB / 0.7705 GB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.6738, allocations: 236.2 kB / 0.7707 GB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.6742, allocations: 0.7004 MB / 0.7714 GB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.6743, allocations: 28.47 kB / 0.7714 GB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.6744, allocations: 18.5 kB / 0.7714 GB, free: 9.145 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6744, allocations: 0 / 0.7714 GB, free: 9.145 MB / 362.7 MB Notification: Performance of Templates: time 0.007799/0.6822, allocations: 2.089 MB / 0.7735 GB, free: 7.074 MB / 362.7 MB