Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005039/0.005044, allocations: 348 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.78/3.78, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003554/0.003554, allocations: 226.1 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.6274/0.6274, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008283/0.0008288, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1215, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.5415, allocations: 75.85 MB / 0.6808 GB, free: 36.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5418, allocations: 71.97 kB / 0.6809 GB, free: 36.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0168/0.5586, allocations: 4.192 MB / 0.685 GB, free: 32.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5587, allocations: 7.25 kB / 0.685 GB, free: 32.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.5587, allocations: 3.938 kB / 0.685 GB, free: 32.68 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.0005072/0.5592, allocations: 437.7 kB / 0.6854 GB, free: 32.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5593, allocations: 12.03 kB / 0.6854 GB, free: 32.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.5593, allocations: 7.906 kB / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.5596, allocations: 211.7 kB / 0.6856 GB, free: 31.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5596, allocations: 4 kB / 0.6856 GB, free: 31.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.5597, allocations: 3.875 kB / 0.6856 GB, free: 31.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.5598, allocations: 45.69 kB / 0.6857 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5598, allocations: 0 / 0.6857 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5598, allocations: 0 / 0.6857 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5599, allocations: 6.328 kB / 0.6857 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.5599, allocations: 15.98 kB / 0.6857 GB, free: 31.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.5604, allocations: 298.4 kB / 0.686 GB, free: 31.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.5607, allocations: 44.75 kB / 0.686 GB, free: 31.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.5607, allocations: 16.94 kB / 0.686 GB, free: 31.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.5607, allocations: 3.938 kB / 0.6861 GB, free: 31.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.5609, allocations: 69.67 kB / 0.6861 GB, free: 31.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/0.5609, allocations: 0 / 0.6861 GB, free: 31.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005052/0.5614, allocations: 121.3 kB / 0.6862 GB, free: 31.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.5615, allocations: 51.41 kB / 0.6863 GB, free: 31.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.5617, allocations: 212.4 kB / 0.6865 GB, free: 30.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5618, allocations: 29.7 kB / 0.6865 GB, free: 30.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.5618, allocations: 110.7 kB / 0.6866 GB, free: 30.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.5619, allocations: 7.906 kB / 0.6866 GB, free: 30.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.5619, allocations: 0 / 0.6866 GB, free: 30.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.562, allocations: 326.8 kB / 0.6869 GB, free: 30.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.5621, allocations: 23.98 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.5621, allocations: 23.73 kB / 0.687 GB, free: 30.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.5623, allocations: 58.42 kB / 0.687 GB, free: 30.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5623, allocations: 0 / 0.687 GB, free: 30.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002662/0.5626, allocations: 139.7 kB / 0.6872 GB, free: 30.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.5626, allocations: 35.08 kB / 0.6872 GB, free: 30.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5626, allocations: 0 / 0.6872 GB, free: 30.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.5627, allocations: 0 / 0.6872 GB, free: 30.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.5628, allocations: 11.98 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5628, allocations: 0.5938 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.681e-05/0.5629, allocations: 10.83 kB / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.5629, allocations: 4 kB / 0.6872 GB, free: 30.16 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.0001179/0.563, allocations: 139.3 kB / 0.6874 GB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.5631, allocations: 7.906 kB / 0.6874 GB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.5633, allocations: 86.67 kB / 0.6875 GB, free: 29.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5633, allocations: 4.688 kB / 0.6875 GB, free: 29.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5634, allocations: 0 / 0.6875 GB, free: 29.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5634, allocations: 3.031 kB / 0.6875 GB, free: 29.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.5638, allocations: 370.4 kB / 0.6878 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5638, allocations: 0 / 0.6878 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.5639, allocations: 11.98 kB / 0.6878 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5639, allocations: 0 / 0.6878 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5639, allocations: 0 / 0.6878 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5639, allocations: 3.125 kB / 0.6878 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5639, allocations: 5.297 kB / 0.6878 GB, free: 29.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.5641, allocations: 179.9 kB / 0.688 GB, free: 29.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.5642, allocations: 96.94 kB / 0.6881 GB, free: 29.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.5643, allocations: 9.781 kB / 0.6881 GB, free: 29.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.5644, allocations: 0 / 0.6881 GB, free: 29.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.5644, allocations: 7.984 kB / 0.6881 GB, free: 29.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.5644, allocations: 7.953 kB / 0.6881 GB, free: 29.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.5646, allocations: 151.9 kB / 0.6883 GB, free: 29.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.5646, allocations: 0 / 0.6883 GB, free: 29.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003958/0.565, allocations: 38.03 kB / 0.6883 GB, free: 28.98 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.0009763/0.566, allocations: 365.6 kB / 0.6887 GB, free: 28.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.5663, allocations: 117.2 kB / 0.6888 GB, free: 28.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.5664, allocations: 0 / 0.6888 GB, free: 28.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.101e-05/0.5664, allocations: 19.94 kB / 0.6888 GB, free: 28.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.5669, allocations: 19.27 kB / 0.6888 GB, free: 28.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.5675, allocations: 236 kB / 0.689 GB, free: 28.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.5676, allocations: 0.7146 MB / 0.6897 GB, free: 27.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.228e-05/0.5677, allocations: 16.06 kB / 0.6897 GB, free: 27.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.5678, allocations: 11.44 kB / 0.6898 GB, free: 27.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5678, allocations: 4 kB / 0.6898 GB, free: 27.63 MB / 362.7 MB Notification: Performance of Templates: time 0.00565/0.5735, allocations: 1.576 MB / 0.6913 GB, free: 26.18 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.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.verboseRead,t_new.y[1],time