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.Test51.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.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_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.444e-05/2.451e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2657, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.3817, allocations: 75.1 MB / 395.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.382, allocations: 75.94 kB / 395.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.3991, allocations: 4.157 MB / 399.3 MB, free: 1.113 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.967e-06/0.3992, allocations: 3.938 kB / 399.3 MB, free: 1.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3992, allocations: 0 / 399.3 MB, free: 1.109 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.000553/0.3998, allocations: 415.9 kB / 399.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3998, allocations: 8.031 kB / 399.8 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.3999, allocations: 19.89 kB / 399.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.4002, allocations: 202.8 kB / 400 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4002, allocations: 0 / 400 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.4003, allocations: 8 kB / 400 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.873e-05/0.4004, allocations: 19.92 kB / 400 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.4005, allocations: 41.69 kB / 400 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4005, allocations: 3.938 kB / 400.1 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4005, allocations: 4 kB / 400.1 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-06/0.4006, allocations: 0 / 400.1 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.401, allocations: 281.3 kB / 400.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.4013, allocations: 46.56 kB / 400.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.4013, allocations: 12.86 kB / 400.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.4013, allocations: 3.938 kB / 400.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.4015, allocations: 55.48 kB / 400.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.496e-06/0.4015, allocations: 0 / 400.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004337/0.402, allocations: 101.4 kB / 400.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.402, allocations: 55.34 kB / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.4023, allocations: 190.5 kB / 400.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.4023, allocations: 25.7 kB / 400.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4025, allocations: 162.5 kB / 401 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.4025, allocations: 23.73 kB / 401 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-06/0.4025, allocations: 0 / 401 MB, free: 15.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4027, allocations: 318.8 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.4028, allocations: 20 kB / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.011e-05/0.4028, allocations: 16 kB / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.113e-05/0.4029, allocations: 23.98 kB / 401.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-06/0.4029, allocations: 4 kB / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002368/0.4032, allocations: 97.64 kB / 401.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.4032, allocations: 34.48 kB / 401.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.555e-06/0.4033, allocations: 0 / 401.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4033, allocations: 0 / 401.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.4034, allocations: 8 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.293e-06/0.4034, allocations: 0 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.4035, allocations: 7.984 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4035, allocations: 0 / 401.5 MB, free: 14.73 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 0.0001045/0.4036, allocations: 116.9 kB / 401.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.4036, allocations: 7.906 kB / 401.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.4039, allocations: 91.39 kB / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.716e-06/0.4039, allocations: 0 / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4039, allocations: 0 / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.942e-06/0.4039, allocations: 0 / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.4044, allocations: 347 kB / 402.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-06/0.4045, allocations: 3.938 kB / 402.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.4045, allocations: 8 kB / 402.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4045, allocations: 0 / 402.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.4046, allocations: 7.984 kB / 402.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.061e-06/0.4046, allocations: 7.922 kB / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.332e-06/0.4046, allocations: 0 / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.4048, allocations: 175.7 kB / 402.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.4049, allocations: 92.98 kB / 402.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.405, allocations: 4 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.4051, allocations: 4 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.4051, allocations: 4 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.4052, allocations: 4 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002117/0.4054, allocations: 156.9 kB / 402.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.4054, allocations: 0 / 402.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.4058, allocations: 35.94 kB / 402.6 MB, free: 13.59 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.0009587/0.4068, allocations: 316.6 kB / 402.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.407, allocations: 103.4 kB / 403 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.047e-06/0.4071, allocations: 0 / 403 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.604e-05/0.4071, allocations: 16 kB / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.4074, allocations: 21.36 kB / 403 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.4079, allocations: 186.3 kB / 403.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.4084, allocations: 0.7119 MB / 403.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.4084, allocations: 19.42 kB / 403.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.621e-06/0.4084, allocations: 3.938 kB / 403.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of Templates: time 0.004572/0.413, allocations: 1.801 MB / 405.7 MB, free: 10.42 MB / 346.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_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