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.Test56.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.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_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.707e-05, allocations: 7.984 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2638, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.3818, allocations: 75.33 MB / 395.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.382, allocations: 71.95 kB / 395.4 MB, free: 5.039 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.4004, allocations: 4.339 MB / 399.8 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.256e-06/0.4005, allocations: 3.938 kB / 399.8 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.4005, allocations: 4 kB / 399.8 MB, free: 0.6875 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.000529/0.4011, allocations: 400 kB / 400.2 MB, free: 252 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4011, allocations: 12.02 kB / 400.2 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.4012, allocations: 7.906 kB / 400.2 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.4015, allocations: 196.1 kB / 400.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4015, allocations: 0 / 400.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.4016, allocations: 7.938 kB / 400.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.173e-05/0.4017, allocations: 15.94 kB / 400.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.4018, allocations: 59.39 kB / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4018, allocations: 0 / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.4018, allocations: 4 kB / 400.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-06/0.4019, allocations: 0 / 400.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.4023, allocations: 253.5 kB / 400.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.4025, allocations: 46.56 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.4026, allocations: 16.8 kB / 400.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.441e-06/0.4026, allocations: 0 / 400.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.4027, allocations: 59.48 kB / 400.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.172e-06/0.4027, allocations: 0 / 400.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004128/0.4032, allocations: 105.3 kB / 400.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.4032, allocations: 85.11 kB / 401 MB, free: 15.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.4034, allocations: 125.9 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.4035, allocations: 25.7 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.241e-05/0.4036, allocations: 154.6 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.4036, allocations: 27.64 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-06/0.4036, allocations: 0 / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4038, allocations: 318.8 kB / 401.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.4039, allocations: 16 kB / 401.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.4039, allocations: 33.72 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/0.404, allocations: 23.98 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.404, allocations: 0 / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002184/0.4043, allocations: 89.64 kB / 401.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.4043, allocations: 33.7 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4043, allocations: 0 / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4044, allocations: 0 / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.4044, allocations: 8 kB / 401.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.679e-06/0.4045, allocations: 0 / 401.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.4045, allocations: 7.984 kB / 401.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.4046, allocations: 4.031 kB / 401.9 MB, free: 14.37 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.0001009/0.4047, allocations: 112.9 kB / 402 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.4047, allocations: 7.906 kB / 402 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.405, allocations: 82.02 kB / 402.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.405, allocations: 4 kB / 402.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.375e-06/0.405, allocations: 3.938 kB / 402.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.021e-06/0.405, allocations: 0 / 402.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.4055, allocations: 319.1 kB / 402.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-06/0.4055, allocations: 0 / 402.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.4056, allocations: 11.94 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4056, allocations: 0 / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4056, allocations: 0 / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.988e-06/0.4056, allocations: 0 / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.337e-06/0.4056, allocations: 0 / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.4058, allocations: 175.4 kB / 402.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.4059, allocations: 85.02 kB / 402.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.406, allocations: 4 kB / 402.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.4061, allocations: 4.234 kB / 402.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.4061, allocations: 4 kB / 402.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.4062, allocations: 4 kB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.4063, allocations: 109 kB / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.4063, allocations: 0 / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004099/0.4067, allocations: 47.92 kB / 402.8 MB, free: 13.33 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.001168/0.4079, allocations: 382.7 kB / 403.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.4081, allocations: 99.41 kB / 403.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.594e-06/0.4082, allocations: 0 / 403.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.968e-05/0.4082, allocations: 23.88 kB / 403.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4085, allocations: 17.36 kB / 403.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.4089, allocations: 132.1 kB / 403.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.4093, allocations: 0.7002 MB / 404.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.4094, allocations: 11.44 kB / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.531e-06/0.4094, allocations: 4 kB / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of Templates: time 0.004714/0.4141, allocations: 1.888 MB / 406 MB, free: 10.08 MB / 346.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_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.verboseRead,t_new.y[1],time