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.Test55.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.Test55,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.Test55") Notification: Performance of loadModel(ModelicaTest): time 1.943/1.943, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.532e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2649, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.3769, allocations: 75.33 MB / 395.4 MB, free: 5.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.3772, allocations: 67.97 kB / 395.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01696/0.3942, allocations: 4.339 MB / 399.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.3942, allocations: 4 kB / 399.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3942, allocations: 0 / 399.8 MB, free: 0.6992 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.0004877/0.3947, allocations: 408 kB / 400.2 MB, free: 256 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3948, allocations: 8.031 kB / 400.2 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.3949, allocations: 7.906 kB / 400.2 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.3951, allocations: 192 kB / 400.4 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3952, allocations: 3.938 kB / 400.4 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.3952, allocations: 4 kB / 400.4 MB, free: 0 / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.968e-05/0.3953, allocations: 11.98 kB / 400.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.3954, allocations: 67.28 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3955, allocations: 4 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3955, allocations: 0 / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-06/0.3955, allocations: 0 / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.3959, allocations: 257.5 kB / 400.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3961, allocations: 42.56 kB / 400.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.3961, allocations: 12.8 kB / 400.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3962, allocations: 8 kB / 400.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.3963, allocations: 55.48 kB / 400.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.231e-06/0.3963, allocations: 0 / 400.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003877/0.3967, allocations: 101.4 kB / 400.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3968, allocations: 77.11 kB / 401 MB, free: 15.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.397, allocations: 129.9 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.397, allocations: 29.7 kB / 401.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.3971, allocations: 158.5 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3971, allocations: 19.75 kB / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-06/0.3972, allocations: 0 / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3973, allocations: 314.8 kB / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.3974, allocations: 20 kB / 401.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.3975, allocations: 33.7 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.057e-05/0.3976, allocations: 28 kB / 401.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-06/0.3976, allocations: 0 / 401.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000212/0.3978, allocations: 85.62 kB / 401.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.3978, allocations: 29.7 kB / 401.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-06/0.3979, allocations: 0 / 401.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3979, allocations: 0 / 401.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.3979, allocations: 11.98 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.323e-06/0.398, allocations: 96 / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.398, allocations: 7.938 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.3981, allocations: 4 kB / 401.8 MB, free: 14.38 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.356e-05/0.3982, allocations: 112.9 kB / 402 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.3982, allocations: 7.906 kB / 402 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.3984, allocations: 90.23 kB / 402.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-06/0.3985, allocations: 3.938 kB / 402.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3985, allocations: 0 / 402.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.778e-06/0.3985, allocations: 3.984 kB / 402.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.3989, allocations: 311.2 kB / 402.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-06/0.3989, allocations: 4 kB / 402.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.399, allocations: 7.938 kB / 402.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.355e-06/0.399, allocations: 7.969 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.399, allocations: 8 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.018e-06/0.399, allocations: 0 / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.27e-06/0.399, allocations: 3.984 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3993, allocations: 163.4 kB / 402.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.3994, allocations: 93 kB / 402.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.3994, allocations: 4 kB / 402.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.3995, allocations: 4 kB / 402.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.3995, allocations: 0 / 402.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3996, allocations: 7.984 kB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.868e-05/0.3997, allocations: 100.8 kB / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.3997, allocations: 0 / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003912/0.4001, allocations: 47.92 kB / 402.8 MB, free: 13.34 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.001129/0.4012, allocations: 393.6 kB / 403.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.4015, allocations: 99.41 kB / 403.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.693e-06/0.4015, allocations: 3.938 kB / 403.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.4015, allocations: 23.92 kB / 403.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.4018, allocations: 17.36 kB / 403.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.4022, allocations: 132.1 kB / 403.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.4025, allocations: 0.6924 MB / 404.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.4026, allocations: 19.42 kB / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.517e-06/0.4026, allocations: 0 / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of Templates: time 0.004488/0.4071, allocations: 1.884 MB / 406.1 MB, free: 10.08 MB / 346.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_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.verboseRead,t_new.y[1],time