Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004028/0.004034, allocations: 349.3 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.987/3.987, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003622/0.003622, allocations: 214.1 kB / 397.8 MB, free: 4.902 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4834/0.4834, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006563/0.0006566, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09268, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4387/0.5315, allocations: 76.09 MB / 0.681 GB, free: 36.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/0.5319, allocations: 73.56 kB / 0.6811 GB, free: 36.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02496/0.5569, allocations: 4.641 MB / 0.6856 GB, free: 32.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5569, allocations: 0 / 0.6856 GB, free: 32.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.557, allocations: 8 kB / 0.6857 GB, free: 32.01 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005852/0.5576, allocations: 418 kB / 0.6861 GB, free: 31.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5576, allocations: 8.031 kB / 0.6861 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.5577, allocations: 7.906 kB / 0.6861 GB, free: 31.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.558, allocations: 192.1 kB / 0.6863 GB, free: 31.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.558, allocations: 4 kB / 0.6863 GB, free: 31.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.5581, allocations: 3.984 kB / 0.6863 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.5583, allocations: 61.44 kB / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5583, allocations: 0 / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.5584, allocations: 0 / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.5584, allocations: 0 / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.943e-05/0.5585, allocations: 18.98 kB / 0.6863 GB, free: 31.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.5591, allocations: 288.8 kB / 0.6866 GB, free: 30.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.5594, allocations: 46.56 kB / 0.6867 GB, free: 30.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.5595, allocations: 13.62 kB / 0.6867 GB, free: 30.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.5595, allocations: 0 / 0.6867 GB, free: 30.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.5598, allocations: 62.72 kB / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.795e-06/0.5598, allocations: 3.938 kB / 0.6867 GB, free: 30.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006808/0.5605, allocations: 116.5 kB / 0.6868 GB, free: 30.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.5606, allocations: 77.11 kB / 0.6869 GB, free: 30.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.5608, allocations: 145.7 kB / 0.6871 GB, free: 30.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.5608, allocations: 29.64 kB / 0.6871 GB, free: 30.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.5609, allocations: 100.9 kB / 0.6872 GB, free: 30.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.561, allocations: 19.75 kB / 0.6872 GB, free: 30.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.561, allocations: 0 / 0.6872 GB, free: 30.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.5611, allocations: 318.8 kB / 0.6875 GB, free: 29.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.5612, allocations: 20 kB / 0.6875 GB, free: 29.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.5613, allocations: 33.7 kB / 0.6876 GB, free: 29.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.5615, allocations: 58 kB / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5615, allocations: 0.6875 kB / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003611/0.5619, allocations: 119.3 kB / 0.6877 GB, free: 29.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.5619, allocations: 37.47 kB / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.562, allocations: 0 / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.562, allocations: 4 kB / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.5621, allocations: 8 kB / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5622, allocations: 0 / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.5623, allocations: 3.953 kB / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.5623, allocations: 4 kB / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.00014/0.5625, allocations: 123.9 kB / 0.6879 GB, free: 29.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.5625, allocations: 11.03 kB / 0.6879 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.5629, allocations: 85.58 kB / 0.688 GB, free: 29.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.563, allocations: 0 / 0.688 GB, free: 29.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.563, allocations: 4 kB / 0.688 GB, free: 29.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.563, allocations: 0 / 0.688 GB, free: 29.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.5636, allocations: 350.4 kB / 0.6883 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5636, allocations: 6.625 kB / 0.6883 GB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/0.5637, allocations: 4 kB / 0.6883 GB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.5637, allocations: 0 / 0.6883 GB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.5638, allocations: 11.98 kB / 0.6884 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5638, allocations: 0 / 0.6884 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5638, allocations: 3.953 kB / 0.6884 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.5641, allocations: 172.1 kB / 0.6885 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.5642, allocations: 81.09 kB / 0.6886 GB, free: 28.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.5642, allocations: 11.09 kB / 0.6886 GB, free: 28.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.5644, allocations: 0 / 0.6886 GB, free: 28.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.5645, allocations: 4 kB / 0.6886 GB, free: 28.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.5645, allocations: 7.938 kB / 0.6886 GB, free: 28.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.5647, allocations: 111.9 kB / 0.6887 GB, free: 28.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.375e-06/0.5647, allocations: 0 / 0.6887 GB, free: 28.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006434/0.5654, allocations: 55.86 kB / 0.6888 GB, free: 28.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001969/0.5674, allocations: 430.6 kB / 0.6892 GB, free: 28.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.5678, allocations: 110 kB / 0.6893 GB, free: 28.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.5679, allocations: 0 / 0.6893 GB, free: 28.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.469e-05/0.568, allocations: 23.92 kB / 0.6893 GB, free: 28.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.5687, allocations: 15.98 kB / 0.6893 GB, free: 28.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.5693, allocations: 174.2 kB / 0.6895 GB, free: 27.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.5696, allocations: 0.7001 MB / 0.6902 GB, free: 27.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.5697, allocations: 8.703 kB / 0.6902 GB, free: 27.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.672e-05/0.5698, allocations: 15.42 kB / 0.6902 GB, free: 27.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5698, allocations: 0 / 0.6902 GB, free: 27.21 MB / 362.7 MB Notification: Performance of Templates: time 0.008292/0.5781, allocations: 1.769 MB / 0.6919 GB, free: 25.59 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,t_new.tableOnFile,t_new.tableOnFileRead,t_new.verboseRead,t_new.y[1],time