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.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadModel(ModelicaTest): time 2.181/2.181, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.83e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3208, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4433, allocations: 81.61 MB / 439.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4436, allocations: 75.95 kB / 439.7 MB, free: 13.14 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. Notification: Performance of FrontEnd - DAE generated: time 0.01992/0.4635, allocations: 4.812 MB / 444.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.196e-06/0.4635, allocations: 0 / 444.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.4636, allocations: 0 / 444.5 MB, free: 8.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005957/0.4642, allocations: 449.6 kB / 445 MB, free: 7.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4642, allocations: 8.031 kB / 445 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.4643, allocations: 11.91 kB / 445 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.4646, allocations: 213.4 kB / 445.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4647, allocations: 0 / 445.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.4647, allocations: 4 kB / 445.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.914e-05/0.4648, allocations: 27.92 kB / 445.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.465, allocations: 67.33 kB / 445.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.465, allocations: 3.953 kB / 445.3 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.465, allocations: 4 kB / 445.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-06/0.465, allocations: 4 kB / 445.3 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.4655, allocations: 273.4 kB / 445.6 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.4656, allocations: 54.62 kB / 445.6 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.4657, allocations: 16.98 kB / 445.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.4657, allocations: 0 / 445.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.4659, allocations: 75.34 kB / 445.7 MB, free: 6.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.539e-06/0.4659, allocations: 0 / 445.7 MB, free: 6.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005378/0.4664, allocations: 146 kB / 445.9 MB, free: 6.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.4665, allocations: 77.11 kB / 446 MB, free: 6.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.4667, allocations: 136.4 kB / 446.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.4667, allocations: 29.7 kB / 446.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.4668, allocations: 154.6 kB / 446.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.4669, allocations: 27.64 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.4669, allocations: 8 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4671, allocations: 310.8 kB / 446.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.511e-05/0.4671, allocations: 28 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.4673, allocations: 46.56 kB / 446.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.4674, allocations: 31.98 kB / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-06/0.4674, allocations: 0 / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000305/0.4677, allocations: 129.5 kB / 446.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.4678, allocations: 29.7 kB / 446.9 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4678, allocations: 0 / 446.9 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4678, allocations: 4 kB / 446.9 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4679, allocations: 15.98 kB / 446.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4679, allocations: 7.875 kB / 446.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.024e-05/0.468, allocations: 4 kB / 446.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.4681, allocations: 4 kB / 446.9 MB, free: 5.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.000102/0.4682, allocations: 109 kB / 447 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.4682, allocations: 19.88 kB / 447 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.4685, allocations: 106.2 kB / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-06/0.4685, allocations: 0 / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.932e-06/0.4686, allocations: 0 / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.187e-06/0.4686, allocations: 4.172 kB / 447.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.4691, allocations: 367.9 kB / 447.5 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.362e-06/0.4692, allocations: 11.89 kB / 447.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.4692, allocations: 12.02 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.089e-06/0.4693, allocations: 4 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4693, allocations: 4 kB / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.764e-06/0.4693, allocations: 0 / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-06/0.4693, allocations: 0 / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.4696, allocations: 213.9 kB / 447.7 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.4697, allocations: 93 kB / 447.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.4698, allocations: 8.188 kB / 447.8 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4699, allocations: 11.98 kB / 447.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.47, allocations: 0 / 447.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.47, allocations: 8 kB / 447.8 MB, free: 4.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.4701, allocations: 107.3 kB / 448 MB, free: 4.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.4701, allocations: 0 / 448 MB, free: 4.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004228/0.4705, allocations: 51.91 kB / 448 MB, free: 4.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001514/0.4721, allocations: 458.5 kB / 448.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.4724, allocations: 147.3 kB / 448.6 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4724, allocations: 0 / 448.6 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.4725, allocations: 31.98 kB / 448.6 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.4728, allocations: 24.62 kB / 448.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.4733, allocations: 160.3 kB / 448.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.4737, allocations: 0.7001 MB / 449.5 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.4737, allocations: 19.42 kB / 449.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of SimCode: time 1.774e-06/0.4737, allocations: 0 / 449.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of Templates: time 0.004961/0.4787, allocations: 2.086 MB / 451.6 MB, free: 0.9023 MB / 378.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_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],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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time