Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002661/0.002665, allocations: 347.2 kB / 15.94 MB, free: 6.219 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.935/3.935, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.005161/0.005161, allocations: 221.4 kB / 397.9 MB, free: 4.973 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.5968/0.5968, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006851/0.0006854, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.166, allocations: 48.72 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4849/0.651, allocations: 76.08 MB / 0.681 GB, free: 36.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.6513, allocations: 67.97 kB / 0.6811 GB, free: 36.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.6696, allocations: 4.642 MB / 0.6856 GB, free: 32.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6696, allocations: 0 / 0.6856 GB, free: 32.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.6697, allocations: 4 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.0005607/0.6702, allocations: 414 kB / 0.686 GB, free: 31.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6703, allocations: 12.69 kB / 0.6861 GB, free: 31.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.6703, allocations: 7.906 kB / 0.6861 GB, free: 31.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.6706, allocations: 196.9 kB / 0.6863 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.6706, allocations: 4 kB / 0.6863 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.6707, allocations: 4 kB / 0.6863 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.6708, allocations: 58.41 kB / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.6709, allocations: 0 / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.6709, allocations: 3.984 kB / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.6709, allocations: 0 / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.671, allocations: 12 kB / 0.6863 GB, free: 31.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.6714, allocations: 292.8 kB / 0.6866 GB, free: 30.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.6717, allocations: 44.06 kB / 0.6867 GB, free: 30.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.6717, allocations: 19.94 kB / 0.6867 GB, free: 30.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.6717, allocations: 0 / 0.6867 GB, free: 30.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.6719, allocations: 65.77 kB / 0.6867 GB, free: 30.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.6719, allocations: 1.5 kB / 0.6867 GB, free: 30.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000501/0.6724, allocations: 108.9 kB / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.6725, allocations: 84.55 kB / 0.6869 GB, free: 30.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.6727, allocations: 149.6 kB / 0.6871 GB, free: 30.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.6727, allocations: 29.64 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.6727, allocations: 92.14 kB / 0.6872 GB, free: 30.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.6728, allocations: 11.75 kB / 0.6872 GB, free: 30.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.6728, allocations: 8 kB / 0.6872 GB, free: 30.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.6729, allocations: 314.8 kB / 0.6875 GB, free: 29.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.6729, allocations: 23.98 kB / 0.6875 GB, free: 29.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.673, allocations: 37.14 kB / 0.6876 GB, free: 29.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.6731, allocations: 53.45 kB / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6731, allocations: 0 / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002443/0.6734, allocations: 119.3 kB / 0.6877 GB, free: 29.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.6734, allocations: 33.69 kB / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6735, allocations: 0 / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.6735, allocations: 0 / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.6736, allocations: 11.5 kB / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6736, allocations: 4 kB / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.6737, allocations: 7.953 kB / 0.6878 GB, free: 29.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.6738, allocations: 7.984 kB / 0.6878 GB, free: 29.59 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.00011/0.6739, allocations: 115.9 kB / 0.6879 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.6739, allocations: 7.906 kB / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.6742, allocations: 92.52 kB / 0.688 GB, free: 29.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6742, allocations: 0 / 0.688 GB, free: 29.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6743, allocations: 3.531 kB / 0.688 GB, free: 29.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6743, allocations: 0 / 0.688 GB, free: 29.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.6747, allocations: 357.7 kB / 0.6883 GB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6747, allocations: 4 kB / 0.6883 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.6748, allocations: 7.984 kB / 0.6883 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.6748, allocations: 0 / 0.6883 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.6748, allocations: 4 kB / 0.6884 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.6748, allocations: 0 / 0.6884 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6749, allocations: 7.047 kB / 0.6884 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.6751, allocations: 167.5 kB / 0.6885 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.6751, allocations: 85.09 kB / 0.6886 GB, free: 28.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.6752, allocations: 4 kB / 0.6886 GB, free: 28.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.6753, allocations: 0 / 0.6886 GB, free: 28.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.6753, allocations: 9.672 kB / 0.6886 GB, free: 28.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.6754, allocations: 3.953 kB / 0.6886 GB, free: 28.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.899e-05/0.6755, allocations: 118.7 kB / 0.6887 GB, free: 28.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6755, allocations: 0 / 0.6887 GB, free: 28.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.6759, allocations: 53.39 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.001222/0.6771, allocations: 434 kB / 0.6892 GB, free: 28.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.6775, allocations: 103.4 kB / 0.6893 GB, free: 28.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6775, allocations: 8 kB / 0.6893 GB, free: 28.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.442e-05/0.6776, allocations: 23.92 kB / 0.6893 GB, free: 28.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.678, allocations: 18.22 kB / 0.6893 GB, free: 28.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.6785, allocations: 170 kB / 0.6895 GB, free: 27.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.6787, allocations: 0.6947 MB / 0.6902 GB, free: 27.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.359e-05/0.6788, allocations: 13.92 kB / 0.6902 GB, free: 27.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.6789, allocations: 15.44 kB / 0.6902 GB, free: 27.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6789, allocations: 3.406 kB / 0.6902 GB, free: 27.21 MB / 362.7 MB Notification: Performance of Templates: time 0.006273/0.6852, allocations: 1.759 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