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.Test57.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.Test57,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.Test57") Notification: Performance of loadModel(ModelicaTest): time 2.078/2.078, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.407e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2676, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.3845, allocations: 75.34 MB / 395.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.3848, allocations: 63.97 kB / 395.4 MB, free: 5.039 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.4024, allocations: 4.342 MB / 399.8 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.305e-06/0.4024, allocations: 4 kB / 399.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.4024, allocations: 0 / 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.0005174/0.403, allocations: 407.3 kB / 400.2 MB, free: 248 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.403, allocations: 8.031 kB / 400.2 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.4031, allocations: 7.906 kB / 400.2 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.4034, allocations: 204.1 kB / 400.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4034, allocations: 0 / 400.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.4035, allocations: 7.938 kB / 400.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.559e-05/0.4036, allocations: 15.92 kB / 400.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.4037, allocations: 63.39 kB / 400.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4037, allocations: 0 / 400.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4038, allocations: 0 / 400.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-06/0.4038, allocations: 0 / 400.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.4042, allocations: 257.5 kB / 400.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.4044, allocations: 46.5 kB / 400.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.4045, allocations: 16.86 kB / 400.8 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.4045, allocations: 0 / 400.8 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.4046, allocations: 55.48 kB / 400.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.454e-06/0.4047, allocations: 0 / 400.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004255/0.4051, allocations: 101.4 kB / 400.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.4052, allocations: 77.11 kB / 401 MB, free: 15.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4053, allocations: 129.9 kB / 401.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.4054, allocations: 33.69 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.4055, allocations: 154.6 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.4055, allocations: 19.75 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.4056, allocations: 0 / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4057, allocations: 314.8 kB / 401.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.4058, allocations: 23.98 kB / 401.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.4059, allocations: 29.72 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.406, allocations: 24.02 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-06/0.406, allocations: 0 / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003825/0.4064, allocations: 85.62 kB / 401.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.4065, allocations: 29.8 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4066, allocations: 3.938 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.4066, allocations: 4 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.4067, allocations: 7.984 kB / 401.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4068, allocations: 4 kB / 401.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.4069, allocations: 0 / 401.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.4069, allocations: 4 kB / 401.8 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.0001173/0.4071, allocations: 120.9 kB / 402 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.4071, allocations: 7.906 kB / 402 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.4074, allocations: 82.06 kB / 402.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.397e-06/0.4074, allocations: 0 / 402.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.523e-06/0.4074, allocations: 3.938 kB / 402.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4074, allocations: 0 / 402.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.4079, allocations: 315.2 kB / 402.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.469e-06/0.4079, allocations: 8 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.408, allocations: 11.98 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.819e-06/0.408, allocations: 4 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.408, allocations: 0 / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.25e-06/0.408, allocations: 0 / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.439e-06/0.408, allocations: 0 / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.4083, allocations: 171.4 kB / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.4084, allocations: 85 kB / 402.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.4084, allocations: 4 kB / 402.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.4085, allocations: 4 kB / 402.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.4086, allocations: 7.984 kB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4086, allocations: 0 / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.4087, allocations: 108.5 kB / 402.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4087, allocations: 0 / 402.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004275/0.4092, allocations: 43.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.4103, allocations: 384.9 kB / 403.2 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.4106, allocations: 103.4 kB / 403.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.673e-06/0.4106, allocations: 0 / 403.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.4107, allocations: 23.88 kB / 403.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.411, allocations: 17.36 kB / 403.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.4113, allocations: 132.1 kB / 403.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.4117, allocations: 0.6963 MB / 404.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.4118, allocations: 15.42 kB / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.538e-06/0.4118, allocations: 0 / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of Templates: time 0.004694/0.4165, allocations: 1.892 MB / 406.1 MB, free: 10.07 MB / 346.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_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