Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00425/0.00425, allocations: 349.4 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 4.035/4.035, 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.003655/0.003654, allocations: 222.1 kB / 397.9 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.5499/0.5499, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004676, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 48.71 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5685, allocations: 76.08 MB / 0.681 GB, free: 36.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5688, allocations: 75.97 kB / 0.6811 GB, free: 36.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.586, allocations: 4.65 MB / 0.6856 GB, free: 31.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5861, allocations: 0 / 0.6856 GB, free: 31.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.5861, allocations: 4 kB / 0.6857 GB, free: 31.99 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.0004643/0.5866, allocations: 418 kB / 0.6861 GB, free: 31.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.5866, allocations: 8.031 kB / 0.6861 GB, free: 31.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.5867, allocations: 7.906 kB / 0.6861 GB, free: 31.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.5869, allocations: 199.5 kB / 0.6863 GB, free: 31.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5869, allocations: 2.562 kB / 0.6863 GB, free: 31.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.587, allocations: 4 kB / 0.6863 GB, free: 31.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.5871, allocations: 59.39 kB / 0.6863 GB, free: 31.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5871, allocations: 4 kB / 0.6863 GB, free: 31.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.5871, allocations: 3.344 kB / 0.6863 GB, free: 31.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.5872, allocations: 0 / 0.6863 GB, free: 31.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.42e-05/0.5872, allocations: 15.98 kB / 0.6863 GB, free: 31.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.5876, allocations: 284.8 kB / 0.6866 GB, free: 30.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.5878, allocations: 46.56 kB / 0.6867 GB, free: 30.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.5879, allocations: 11.83 kB / 0.6867 GB, free: 30.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.5879, allocations: 0 / 0.6867 GB, free: 30.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.5881, allocations: 64.03 kB / 0.6867 GB, free: 30.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.5881, allocations: 4 kB / 0.6867 GB, free: 30.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004522/0.5885, allocations: 102.1 kB / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.5886, allocations: 85.75 kB / 0.6869 GB, free: 30.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.5887, allocations: 147.4 kB / 0.6871 GB, free: 30.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5888, allocations: 35.14 kB / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.5888, allocations: 92.14 kB / 0.6872 GB, free: 30.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.5889, allocations: 15.73 kB / 0.6872 GB, free: 30.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.5889, allocations: 3 kB / 0.6872 GB, free: 30.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.589, allocations: 318.8 kB / 0.6875 GB, free: 29.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.589, allocations: 23.98 kB / 0.6875 GB, free: 29.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.5891, allocations: 33.7 kB / 0.6876 GB, free: 29.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.009e-05/0.5892, allocations: 49.45 kB / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5892, allocations: 0 / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002203/0.5894, allocations: 125 kB / 0.6877 GB, free: 29.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.5895, allocations: 33.7 kB / 0.6877 GB, free: 29.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5895, allocations: 0 / 0.6877 GB, free: 29.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5895, allocations: 0 / 0.6877 GB, free: 29.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.5896, allocations: 9.406 kB / 0.6878 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.5896, allocations: 0 / 0.6878 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.5897, allocations: 11.94 kB / 0.6878 GB, free: 29.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.5898, allocations: 4 kB / 0.6878 GB, free: 29.58 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 8.993e-05/0.5899, allocations: 118.9 kB / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.5899, allocations: 14.67 kB / 0.6879 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.5901, allocations: 92.38 kB / 0.688 GB, free: 29.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5902, allocations: 0 / 0.688 GB, free: 29.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5902, allocations: 0 / 0.688 GB, free: 29.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5902, allocations: 7.453 kB / 0.688 GB, free: 29.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.5906, allocations: 346.4 kB / 0.6883 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5906, allocations: 3.984 kB / 0.6883 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.5906, allocations: 8 kB / 0.6883 GB, free: 28.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5907, allocations: 0 / 0.6883 GB, free: 28.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5907, allocations: 4 kB / 0.6883 GB, free: 28.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.5907, allocations: 0 / 0.6883 GB, free: 28.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5907, allocations: 7.953 kB / 0.6883 GB, free: 28.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.5909, allocations: 170.5 kB / 0.6885 GB, free: 28.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.5909, allocations: 81.11 kB / 0.6886 GB, free: 28.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.591, allocations: 6.875 kB / 0.6886 GB, free: 28.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.5911, allocations: 4 kB / 0.6886 GB, free: 28.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.5911, allocations: 3.984 kB / 0.6886 GB, free: 28.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.5912, allocations: 15.3 kB / 0.6886 GB, free: 28.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.5913, allocations: 114 kB / 0.6887 GB, free: 28.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5913, allocations: 0 / 0.6887 GB, free: 28.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000396/0.5917, allocations: 51.92 kB / 0.6888 GB, free: 28.47 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.001239/0.5929, allocations: 440.6 kB / 0.6892 GB, free: 28.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.5932, allocations: 103.4 kB / 0.6893 GB, free: 28.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5933, allocations: 0 / 0.6893 GB, free: 28.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.5933, allocations: 23.92 kB / 0.6893 GB, free: 28.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.5938, allocations: 19.98 kB / 0.6893 GB, free: 28.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.5943, allocations: 174.4 kB / 0.6895 GB, free: 27.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.5945, allocations: 0.6916 MB / 0.6902 GB, free: 27.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.841e-05/0.5945, allocations: 11.98 kB / 0.6902 GB, free: 27.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.5946, allocations: 15.44 kB / 0.6902 GB, free: 27.19 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5946, allocations: 0 / 0.6902 GB, free: 27.19 MB / 362.7 MB Notification: Performance of Templates: time 0.005831/0.6004, allocations: 1.769 MB / 0.6919 GB, free: 25.57 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