Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.538e-05, allocations: 4 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2728, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.3985, allocations: 81.5 MB / 439.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.3988, allocations: 75.95 kB / 439.6 MB, free: 13.25 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02809/0.4269, allocations: 6.85 MB / 446.5 MB, free: 6.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4269, allocations: 3.938 kB / 446.5 MB, free: 6.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.4269, allocations: 4 kB / 446.5 MB, free: 6.375 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008531/0.4278, allocations: 0.6137 MB / 447.1 MB, free: 5.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4279, allocations: 12.03 kB / 447.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.451e-05/0.428, allocations: 27.62 kB / 447.1 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.4285, allocations: 280 kB / 447.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4286, allocations: 0 / 447.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.4286, allocations: 19.94 kB / 447.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001365/0.4288, allocations: 39.98 kB / 447.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.429, allocations: 87.31 kB / 447.5 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.429, allocations: 7.906 kB / 447.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.429, allocations: 8 kB / 447.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.804e-06/0.4291, allocations: 3.984 kB / 447.6 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.4298, allocations: 485.3 kB / 448 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.4301, allocations: 109.4 kB / 448.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.4302, allocations: 33.84 kB / 448.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.4302, allocations: 0 / 448.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.4305, allocations: 105.1 kB / 448.3 MB, free: 4.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.532e-06/0.4305, allocations: 4 kB / 448.3 MB, free: 4.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009621/0.4314, allocations: 332 kB / 448.6 MB, free: 4.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4315, allocations: 77.11 kB / 448.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.4321, allocations: 369 kB / 449 MB, free: 3.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.4322, allocations: 33.64 kB / 449.1 MB, free: 3.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.4323, allocations: 198.9 kB / 449.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.4324, allocations: 47.44 kB / 449.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.4324, allocations: 0 / 449.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4326, allocations: 326.8 kB / 449.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.4328, allocations: 64.17 kB / 449.7 MB, free: 2.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.433, allocations: 99.61 kB / 449.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.4332, allocations: 67.97 kB / 449.9 MB, free: 2.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-06/0.4332, allocations: 0 / 449.9 MB, free: 2.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000562/0.4338, allocations: 237.3 kB / 450.1 MB, free: 2.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/0.4339, allocations: 72.55 kB / 450.2 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.294e-06/0.4339, allocations: 4 kB / 450.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4339, allocations: 0 / 450.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.4341, allocations: 35.97 kB / 450.2 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.49e-06/0.4342, allocations: 3.938 kB / 450.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.4343, allocations: 11.94 kB / 450.2 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.4344, allocations: 16 kB / 450.2 MB, free: 2.328 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0001316/0.4345, allocations: 124.9 kB / 450.4 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.4346, allocations: 27.91 kB / 450.4 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.4351, allocations: 208.2 kB / 450.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4351, allocations: 4 kB / 450.6 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-06/0.4352, allocations: 0 / 450.6 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.4352, allocations: 3.984 kB / 450.6 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4362, allocations: 0.6365 MB / 451.2 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.763e-06/0.4363, allocations: 3.984 kB / 451.2 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4364, allocations: 20.38 kB / 451.3 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.939e-06/0.4364, allocations: 0 / 451.3 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.4364, allocations: 11.98 kB / 451.3 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.559e-06/0.4364, allocations: 0 / 451.3 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.4365, allocations: 4 kB / 451.3 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.437, allocations: 405.2 kB / 451.7 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.4372, allocations: 132.7 kB / 451.8 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.4373, allocations: 7.953 kB / 451.8 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.4375, allocations: 4 kB / 451.8 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.4376, allocations: 23.97 kB / 451.8 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.4376, allocations: 8 kB / 451.8 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004064/0.438, allocations: 292.5 kB / 452.1 MB, free: 320 kB / 378.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.4381, allocations: 0 / 452.1 MB, free: 320 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005748/0.4386, allocations: 87.86 kB / 452.2 MB, free: 232 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001947/0.4406, allocations: 0.5612 MB / 452.8 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005667/0.4412, allocations: 306.7 kB / 453.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.35e-06/0.4412, allocations: 128 / 453.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.4414, allocations: 67.86 kB / 453.1 MB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.4419, allocations: 37.8 kB / 453.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.4428, allocations: 431 kB / 453.6 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.4433, allocations: 0.7749 MB / 454.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.4434, allocations: 23.44 kB / 454.4 MB, free: 14.03 MB / 394.7 MB Notification: Performance of SimCode: time 2.058e-06/0.4435, allocations: 0 / 454.4 MB, free: 14.03 MB / 394.7 MB Notification: Performance of Templates: time 0.008035/0.4515, allocations: 3.825 MB / 458.2 MB, free: 10.21 MB / 394.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable t_new_2.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable t_new_2.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable t_new_2.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable t_new_2.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:_D_cse1,_D_cse2,_D_whenCondition1,_D_whenCondition2,der(d_t_new.u),d_t_new.u,d_t_new.y,der(d_t_new_2.u),d_t_new_2.u,d_t_new_2.y,t_new.columns[1],der(t_new.timeScaled),t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,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_maxScaled,t_new.t_min,t_new.t_minScaled,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],der(t_new_2.timeScaled),t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeScale,t_new_2.timeScaled,t_new_2.verboseRead,t_new_2.y[1],time