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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.122/2.122, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.433e-05, allocations: 11.94 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2708, allocations: 54.85 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.3949, allocations: 81.39 MB / 439.4 MB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.3952, allocations: 71.97 kB / 439.5 MB, free: 13.35 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.02014/0.4153, allocations: 4.819 MB / 444.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.14e-06/0.4153, allocations: 0 / 444.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.4154, allocations: 0 / 444.3 MB, free: 8.52 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.0006337/0.416, allocations: 469.5 kB / 444.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4161, allocations: 8.031 kB / 444.8 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.4162, allocations: 15.81 kB / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.4166, allocations: 226.7 kB / 445 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4166, allocations: 4 kB / 445 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.4167, allocations: 8 kB / 445 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.429e-05/0.4168, allocations: 12 kB / 445 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.4169, allocations: 57.61 kB / 445.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4169, allocations: 3.953 kB / 445.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4169, allocations: 0 / 445.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-06/0.417, allocations: 4 kB / 445.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.4175, allocations: 301.3 kB / 445.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.4176, allocations: 58.69 kB / 445.5 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.4177, allocations: 24.97 kB / 445.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.4177, allocations: 0 / 445.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.4179, allocations: 67.34 kB / 445.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.532e-06/0.4179, allocations: 0 / 445.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005855/0.4185, allocations: 165.1 kB / 445.7 MB, free: 6.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.4186, allocations: 51.41 kB / 445.8 MB, free: 6.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.4189, allocations: 223 kB / 446 MB, free: 6.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.419, allocations: 29.7 kB / 446 MB, free: 6.629 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4191, allocations: 174.5 kB / 446.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.4191, allocations: 23.66 kB / 446.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-06/0.4192, allocations: 0 / 446.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4193, allocations: 319.5 kB / 446.5 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.4194, allocations: 36 kB / 446.6 MB, free: 6.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4196, allocations: 53.64 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.4197, allocations: 31.98 kB / 446.6 MB, free: 5.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4197, allocations: 0 / 446.6 MB, free: 5.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003244/0.42, allocations: 125.7 kB / 446.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/0.4201, allocations: 34.8 kB / 446.8 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.633e-06/0.4201, allocations: 3.953 kB / 446.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.4202, allocations: 0 / 446.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4203, allocations: 27.95 kB / 446.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.4203, allocations: 0 / 446.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.211e-05/0.4204, allocations: 4 kB / 446.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.4205, allocations: 8 kB / 446.8 MB, free: 5.777 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.000105/0.4206, allocations: 112.9 kB / 446.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.4206, allocations: 15.81 kB / 447 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.421, allocations: 119.5 kB / 447.1 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.421, allocations: 7.953 kB / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-06/0.421, allocations: 4 kB / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.421, allocations: 192 / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.4217, allocations: 399.8 kB / 447.5 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.159e-06/0.4217, allocations: 3.938 kB / 447.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.4218, allocations: 8 kB / 447.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.53e-06/0.4218, allocations: 7.953 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.4218, allocations: 4 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.874e-06/0.4218, allocations: 0 / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4218, allocations: 4 kB / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.4222, allocations: 210 kB / 447.7 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.4223, allocations: 112.8 kB / 447.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4224, allocations: 4 kB / 447.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.4225, allocations: 4 kB / 447.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.4225, allocations: 8.172 kB / 447.8 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.4226, allocations: 12 kB / 447.9 MB, free: 4.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002398/0.4228, allocations: 191 kB / 448 MB, free: 4.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.4228, allocations: 0 / 448 MB, free: 4.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004346/0.4233, allocations: 35.94 kB / 448.1 MB, free: 4.438 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.001311/0.4246, allocations: 388.5 kB / 448.5 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003361/0.425, allocations: 151.3 kB / 448.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.283e-06/0.425, allocations: 0 / 448.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.4251, allocations: 31.98 kB / 448.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.4254, allocations: 20.72 kB / 448.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.426, allocations: 244.3 kB / 448.9 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.4265, allocations: 0.7314 MB / 449.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.4266, allocations: 23.42 kB / 449.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of SimCode: time 1.646e-06/0.4266, allocations: 4 kB / 449.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of Templates: time 0.005207/0.4318, allocations: 2.135 MB / 451.8 MB, free: 0.707 MB / 378.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_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[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