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.Test6.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.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.126/2.126, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.362e-05/2.372e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2709, allocations: 54.87 MB / 358.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.3955, allocations: 81.38 MB / 439.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.3958, allocations: 75.95 kB / 439.5 MB, free: 13.38 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.02009/0.4159, allocations: 4.858 MB / 444.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.316e-06/0.4159, allocations: 0 / 444.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.416, allocations: 4 kB / 444.4 MB, free: 8.512 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.0006298/0.4166, allocations: 481.4 kB / 444.8 MB, free: 7.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4167, allocations: 12.03 kB / 444.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.4167, allocations: 19.75 kB / 444.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.4171, allocations: 222.7 kB / 445.1 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.4172, allocations: 4 kB / 445.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.4172, allocations: 4 kB / 445.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.945e-05/0.4173, allocations: 23.98 kB / 445.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.4174, allocations: 53.62 kB / 445.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4175, allocations: 3.953 kB / 445.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4175, allocations: 3.984 kB / 445.2 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-06/0.4175, allocations: 4 kB / 445.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.418, allocations: 301.4 kB / 445.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.4182, allocations: 50.69 kB / 445.5 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.4182, allocations: 16.98 kB / 445.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.4182, allocations: 4 kB / 445.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.4184, allocations: 75.28 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.864e-06/0.4184, allocations: 0 / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005619/0.419, allocations: 161.1 kB / 445.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.4191, allocations: 51.41 kB / 445.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.4194, allocations: 235.1 kB / 446.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.4195, allocations: 29.69 kB / 446.1 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4196, allocations: 174.5 kB / 446.3 MB, free: 6.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.4196, allocations: 19.72 kB / 446.3 MB, free: 6.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-06/0.4197, allocations: 4 kB / 446.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4198, allocations: 323.5 kB / 446.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.4199, allocations: 28 kB / 446.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.4201, allocations: 53.64 kB / 446.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.4202, allocations: 35.98 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-06/0.4202, allocations: 0 / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003191/0.4205, allocations: 129.5 kB / 446.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.4206, allocations: 33.73 kB / 446.9 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4206, allocations: 7.953 kB / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4206, allocations: 0 / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4208, allocations: 19.98 kB / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.652e-06/0.4208, allocations: 0 / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.4209, allocations: 8 kB / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.4209, allocations: 4 kB / 446.9 MB, free: 5.738 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.0001063/0.421, allocations: 116.8 kB / 447 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.4211, allocations: 15.81 kB / 447 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.4214, allocations: 119.5 kB / 447.2 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-06/0.4214, allocations: 3.953 kB / 447.2 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.151e-06/0.4215, allocations: 0 / 447.2 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.4215, allocations: 0 / 447.2 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.4221, allocations: 407.8 kB / 447.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-06/0.4221, allocations: 0 / 447.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.4222, allocations: 19.92 kB / 447.6 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.458e-06/0.4222, allocations: 7.984 kB / 447.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.4222, allocations: 192 / 447.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.072e-06/0.4223, allocations: 8 kB / 447.6 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.184e-06/0.4223, allocations: 3.984 kB / 447.6 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.4226, allocations: 217.9 kB / 447.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4227, allocations: 108.9 kB / 447.9 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.4228, allocations: 4 kB / 447.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.4229, allocations: 4 kB / 447.9 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.423, allocations: 7.984 kB / 447.9 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.423, allocations: 4 kB / 447.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002502/0.4232, allocations: 189.5 kB / 448.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.4233, allocations: 0 / 448.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004079/0.4237, allocations: 43.98 kB / 448.2 MB, free: 4.383 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.001253/0.4249, allocations: 382.3 kB / 448.5 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.4253, allocations: 155.3 kB / 448.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4253, allocations: 0 / 448.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.4254, allocations: 31.94 kB / 448.7 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.4257, allocations: 16.59 kB / 448.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.4263, allocations: 260.5 kB / 449 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.4268, allocations: 0.7314 MB / 449.7 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.4268, allocations: 19.42 kB / 449.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of SimCode: time 1.862e-06/0.4268, allocations: 0 / 449.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of Templates: time 0.005159/0.432, allocations: 2.176 MB / 451.9 MB, free: 0.6094 MB / 378.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_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.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,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],time