Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.893e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3116, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4384, allocations: 75.1 MB / 395.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4386, allocations: 75.89 kB / 395.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02695/0.4656, allocations: 4.28 MB / 399.5 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.214e-06/0.4657, allocations: 0 / 399.5 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.4657, allocations: 0 / 399.5 MB, free: 0.9883 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008042/0.4665, allocations: 431.9 kB / 399.9 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.4666, allocations: 8.031 kB / 399.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.4667, allocations: 15.81 kB / 399.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.4672, allocations: 210.8 kB / 400.1 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.4672, allocations: 0 / 400.1 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.4673, allocations: 4 kB / 400.1 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.4674, allocations: 15.98 kB / 400.1 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.4676, allocations: 41.69 kB / 400.2 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.4676, allocations: 3.938 kB / 400.2 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4677, allocations: 0 / 400.2 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.4677, allocations: 0 / 400.2 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007022/0.4684, allocations: 289.4 kB / 400.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.4687, allocations: 46.5 kB / 400.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.4688, allocations: 12.86 kB / 400.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.4689, allocations: 0 / 400.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.4691, allocations: 59.48 kB / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.672e-06/0.4691, allocations: 0 / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.00064/0.4698, allocations: 113.1 kB / 400.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.4699, allocations: 59.41 kB / 400.8 MB, free: 15.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.4704, allocations: 218.6 kB / 401 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.4705, allocations: 25.7 kB / 401 MB, free: 15.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.4706, allocations: 166.6 kB / 401.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.4707, allocations: 19.8 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.4707, allocations: 0 / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.471, allocations: 314.8 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.4711, allocations: 20 kB / 401.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.4712, allocations: 27.94 kB / 401.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.4714, allocations: 23.98 kB / 401.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.99e-06/0.4714, allocations: 0 / 401.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003757/0.4718, allocations: 85.67 kB / 401.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/0.4719, allocations: 34.48 kB / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.49e-06/0.4719, allocations: 0 / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4719, allocations: 0 / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4721, allocations: 15.92 kB / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.782e-06/0.4721, allocations: 0 / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.4722, allocations: 4.062 kB / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.4723, allocations: 12 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001517/0.4724, allocations: 116.2 kB / 401.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.4725, allocations: 11.81 kB / 401.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.4729, allocations: 87.39 kB / 401.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.473, allocations: 3.938 kB / 401.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.752e-06/0.473, allocations: 3.984 kB / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.473, allocations: 0 / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.4738, allocations: 358.9 kB / 402.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.404e-06/0.4738, allocations: 3.938 kB / 402.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.4739, allocations: 8 kB / 402.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.474, allocations: 144 / 402.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.474, allocations: 7.984 kB / 402.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.638e-06/0.474, allocations: 160 / 402.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.924e-06/0.474, allocations: 4 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.4744, allocations: 179.2 kB / 402.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4746, allocations: 101 kB / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.4747, allocations: 0 / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.4749, allocations: 4 kB / 402.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.4749, allocations: 0 / 402.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.475, allocations: 7.984 kB / 402.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003532/0.4753, allocations: 173.2 kB / 402.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.236e-06/0.4754, allocations: 0 / 402.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006393/0.476, allocations: 35.98 kB / 402.8 MB, free: 13.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001292/0.4773, allocations: 315.5 kB / 403.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.4776, allocations: 107.3 kB / 403.2 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.887e-06/0.4776, allocations: 0 / 403.2 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.4777, allocations: 16 kB / 403.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.478, allocations: 21.55 kB / 403.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.4785, allocations: 218.5 kB / 403.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.4789, allocations: 0.7158 MB / 404.2 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.479, allocations: 15.44 kB / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.456e-06/0.479, allocations: 3.938 kB / 404.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of Templates: time 0.004712/0.4837, allocations: 1.918 MB / 406.1 MB, free: 10.04 MB / 346.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_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],t_new.extrapolation,t_new.nextTimeEvent,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_min,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.verboseRead,t_new.y[1],time