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.Test53.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.Test53,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.Test53") Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.4 MB / 217.3 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.76e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3879, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.514, allocations: 75.12 MB / 395.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.5143, allocations: 67.97 kB / 395.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01633/0.5306, allocations: 4.157 MB / 399.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.142e-06/0.5307, allocations: 0 / 399.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.5307, allocations: 4 kB / 399.4 MB, free: 1.086 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.0005121/0.5312, allocations: 415.9 kB / 399.8 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5313, allocations: 8.031 kB / 399.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.5313, allocations: 11.91 kB / 399.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.5317, allocations: 202.8 kB / 400 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5317, allocations: 4 kB / 400 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.5317, allocations: 4 kB / 400 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.066e-05/0.5318, allocations: 15.98 kB / 400 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.5319, allocations: 41.69 kB / 400.1 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.532, allocations: 3.938 kB / 400.1 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-06/0.532, allocations: 0 / 400.1 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.025e-06/0.532, allocations: 4 kB / 400.1 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.5324, allocations: 285.2 kB / 400.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.5327, allocations: 42.56 kB / 400.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.5327, allocations: 12.86 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.5327, allocations: 0 / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.5329, allocations: 55.5 kB / 400.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.383e-06/0.5329, allocations: 0 / 400.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004199/0.5333, allocations: 105.3 kB / 400.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.5334, allocations: 55.41 kB / 400.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.5336, allocations: 186.5 kB / 400.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.5337, allocations: 25.7 kB / 400.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.5338, allocations: 166.5 kB / 401 MB, free: 15.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.5338, allocations: 15.75 kB / 401 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.5339, allocations: 4 kB / 401 MB, free: 15.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.534, allocations: 318.8 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.5341, allocations: 20 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.5342, allocations: 27.98 kB / 401.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.5343, allocations: 31.95 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-06/0.5343, allocations: 0 / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002207/0.5345, allocations: 81.69 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.5346, allocations: 40.03 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.305e-06/0.5346, allocations: 0 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5346, allocations: 64 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.5347, allocations: 15.94 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.825e-06/0.5347, allocations: 0 / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.5348, allocations: 4 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.5348, allocations: 11.98 kB / 401.5 MB, free: 14.7 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 9.605e-05/0.5349, allocations: 112.3 kB / 401.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.5349, allocations: 15.89 kB / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.5352, allocations: 87.28 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-06/0.5352, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.815e-06/0.5352, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-06/0.5352, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.5357, allocations: 346.9 kB / 402.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-06/0.5357, allocations: 7.938 kB / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.5358, allocations: 4 kB / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.321e-06/0.5358, allocations: 4 kB / 402.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.665e-06/0.5358, allocations: 0 / 402.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.157e-06/0.5358, allocations: 0 / 402.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.122e-06/0.5358, allocations: 3.984 kB / 402.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.5361, allocations: 175.3 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.998e-05/0.5362, allocations: 89.02 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.5362, allocations: 7.984 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.5363, allocations: 0 / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.5364, allocations: 4 kB / 402.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.5364, allocations: 4.188 kB / 402.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.5366, allocations: 156.9 kB / 402.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.5366, allocations: 0 / 402.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.537, allocations: 39.88 kB / 402.6 MB, free: 13.58 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.0009169/0.5379, allocations: 306 kB / 402.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.5381, allocations: 107.3 kB / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5381, allocations: 0 / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.471e-05/0.5382, allocations: 16 kB / 403 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.5385, allocations: 27.88 kB / 403 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.5389, allocations: 186.3 kB / 403.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.5393, allocations: 0.708 MB / 403.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.5394, allocations: 15.44 kB / 403.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.43e-06/0.5394, allocations: 3.938 kB / 403.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of Templates: time 0.004414/0.5438, allocations: 1.805 MB / 405.7 MB, free: 10.41 MB / 346.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_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.verboseRead,t_new.y[1],time