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.Test79.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.Test79,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.Test79") Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.728e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2787, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4053, allocations: 81.51 MB / 439.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4056, allocations: 67.97 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.03397/0.4396, allocations: 6.85 MB / 446.5 MB, free: 6.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.889e-06/0.4396, allocations: 4 kB / 446.5 MB, free: 6.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.4397, 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.001189/0.4409, allocations: 0.6137 MB / 447.1 MB, free: 5.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.441, allocations: 11.97 kB / 447.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.4411, allocations: 31.62 kB / 447.1 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.4421, allocations: 284 kB / 447.4 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.4421, allocations: 4 kB / 447.4 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.4422, allocations: 15.95 kB / 447.4 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002282/0.4425, allocations: 31.98 kB / 447.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.4428, allocations: 95.3 kB / 447.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.4429, allocations: 3.906 kB / 447.6 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.4429, allocations: 4 kB / 447.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.482e-06/0.4429, allocations: 4 kB / 447.6 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.4439, allocations: 481.4 kB / 448 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.4441, allocations: 105.4 kB / 448.1 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.4442, allocations: 45.83 kB / 448.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.4443, allocations: 0 / 448.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.4446, allocations: 109 kB / 448.3 MB, free: 4.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.656e-06/0.4446, allocations: 0 / 448.3 MB, free: 4.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000992/0.4456, allocations: 324 kB / 448.6 MB, free: 4.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.4457, allocations: 81.11 kB / 448.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005892/0.4463, allocations: 372.9 kB / 449.1 MB, free: 3.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.4463, allocations: 33.7 kB / 449.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.4465, allocations: 198.9 kB / 449.3 MB, free: 3.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.4466, allocations: 43.45 kB / 449.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.4466, allocations: 0 / 449.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4468, allocations: 326.8 kB / 449.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.447, allocations: 68.19 kB / 449.7 MB, free: 2.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.4472, allocations: 99.55 kB / 449.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.4474, allocations: 71.95 kB / 449.9 MB, free: 2.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-06/0.4475, allocations: 0 / 449.9 MB, free: 2.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006079/0.4481, allocations: 237.4 kB / 450.1 MB, free: 2.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.4482, allocations: 63.39 kB / 450.2 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4482, allocations: 8.062 kB / 450.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4482, allocations: 0 / 450.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.4484, allocations: 39.92 kB / 450.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.637e-06/0.4485, allocations: 0 / 450.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.4487, allocations: 11.94 kB / 450.2 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.4487, allocations: 15.98 kB / 450.2 MB, free: 2.324 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.0001361/0.4489, allocations: 120.9 kB / 450.4 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.4489, allocations: 23.72 kB / 450.4 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.4495, allocations: 208.3 kB / 450.6 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-06/0.4495, allocations: 4 kB / 450.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.409e-06/0.4495, allocations: 0 / 450.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.105e-06/0.4495, allocations: 3.938 kB / 450.6 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.4507, allocations: 0.6367 MB / 451.2 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4507, allocations: 4.438 kB / 451.2 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.4508, allocations: 27.94 kB / 451.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.908e-06/0.4509, allocations: 4 kB / 451.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.4509, allocations: 7.984 kB / 451.3 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.612e-06/0.4509, allocations: 0 / 451.3 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.223e-06/0.4509, allocations: 4 kB / 451.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.4515, allocations: 407.8 kB / 451.7 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.4517, allocations: 128.7 kB / 451.8 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.4518, allocations: 7.953 kB / 451.8 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.452, allocations: 7.984 kB / 451.8 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.4521, allocations: 19.92 kB / 451.8 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.4521, allocations: 15.94 kB / 451.9 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004318/0.4526, allocations: 288.6 kB / 452.1 MB, free: 316 kB / 378.7 MB Notification: Performance of sort global known variables: time 8.8e-07/0.4526, allocations: 0 / 452.1 MB, free: 316 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005984/0.4532, allocations: 87.86 kB / 452.2 MB, free: 228 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.002034/0.4552, allocations: 0.5575 MB / 452.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.4559, allocations: 310.7 kB / 453.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.726e-06/0.4559, allocations: 0 / 453.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.456, allocations: 56.19 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.0005116/0.4566, allocations: 41.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.001012/0.4576, allocations: 438.9 kB / 453.6 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.4581, allocations: 0.7709 MB / 454.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.4582, allocations: 31.42 kB / 454.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of SimCode: time 2.02e-06/0.4583, allocations: 0 / 454.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of Templates: time 0.008564/0.4668, allocations: 3.817 MB / 458.2 MB, free: 10.2 MB / 394.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable t_new_2.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable t_new_2.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable t_new_2.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable t_new_2.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_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