Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.134e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.267, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.3832, allocations: 75.12 MB / 395.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.3834, allocations: 67.97 kB / 395.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01696/0.4004, allocations: 4.165 MB / 399.4 MB, free: 1.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.683e-06/0.4005, allocations: 3.938 kB / 399.4 MB, free: 1.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.4005, allocations: 4 kB / 399.4 MB, free: 1.09 MB / 330.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.0005503/0.401, allocations: 419.9 kB / 399.8 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4011, allocations: 12.03 kB / 399.8 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.4012, allocations: 7.906 kB / 399.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.4015, allocations: 198.8 kB / 400 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4015, allocations: 8 kB / 400 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4015, allocations: 0 / 400 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.909e-05/0.4016, allocations: 15.98 kB / 400 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.4017, allocations: 45.62 kB / 400.1 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4018, allocations: 4 kB / 400.1 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4018, allocations: 0 / 400.1 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-06/0.4018, allocations: 0 / 400.1 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.4023, allocations: 285.2 kB / 400.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.4025, allocations: 46.56 kB / 400.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.4025, allocations: 8.859 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.4026, allocations: 0 / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.4027, allocations: 59.48 kB / 400.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.52e-06/0.4027, allocations: 0 / 400.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004288/0.4032, allocations: 101.3 kB / 400.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.4032, allocations: 59.41 kB / 400.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.4035, allocations: 182.5 kB / 400.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.4036, allocations: 25.7 kB / 400.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4037, allocations: 170.5 kB / 401 MB, free: 15.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.4037, allocations: 19.73 kB / 401 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-06/0.4037, allocations: 0 / 401 MB, free: 15.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4039, allocations: 318.8 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.404, allocations: 16 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-05/0.4041, allocations: 20 kB / 401.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.731e-05/0.4042, allocations: 35.91 kB / 401.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-06/0.4042, allocations: 0 / 401.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002338/0.4044, allocations: 93.7 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.4045, allocations: 30.48 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-06/0.4045, allocations: 0 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4045, allocations: 0 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.4046, allocations: 12.06 kB / 401.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.4046, allocations: 11.92 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.4047, allocations: 4 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.4047, allocations: 4 kB / 401.5 MB, free: 14.7 MB / 346.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 () * 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 9.915e-05/0.4048, allocations: 112.9 kB / 401.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.4049, allocations: 8.047 kB / 401.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.4051, allocations: 87.28 kB / 401.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4052, allocations: 0 / 401.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.103e-06/0.4052, allocations: 0 / 401.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4052, allocations: 4 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.4057, allocations: 346.9 kB / 402.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-06/0.4057, allocations: 4 kB / 402.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.4058, allocations: 8 kB / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.519e-06/0.4058, allocations: 0 / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4058, allocations: 3.984 kB / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.125e-06/0.4058, allocations: 0 / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.798e-06/0.4058, allocations: 0 / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.4061, allocations: 171.4 kB / 402.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.4062, allocations: 93 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.4062, allocations: 7.938 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.4063, allocations: 4 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.4064, allocations: 4 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.4064, allocations: 8.172 kB / 402.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.4066, allocations: 148.9 kB / 402.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-07/0.4066, allocations: 0 / 402.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.407, allocations: 43.94 kB / 402.6 MB, free: 13.58 MB / 346.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) * 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.000955/0.408, allocations: 312.6 kB / 402.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.4082, allocations: 111.3 kB / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.75e-06/0.4082, allocations: 0 / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/0.4083, allocations: 19.98 kB / 403 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.4086, allocations: 13.38 kB / 403 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.4091, allocations: 190.3 kB / 403.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4095, allocations: 0.708 MB / 403.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.4095, allocations: 19.36 kB / 403.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.605e-06/0.4096, allocations: 0 / 403.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of Templates: time 0.004989/0.4146, allocations: 1.809 MB / 405.7 MB, free: 10.41 MB / 346.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:_D_cse1,_D_whenCondition1,der(d_t_new.u),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