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.Test59.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.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.524e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.278, allocations: 54.87 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.4482, allocations: 81.59 MB / 439.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4485, allocations: 75.95 kB / 439.7 MB, free: 13.16 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.02033/0.4688, allocations: 4.824 MB / 444.5 MB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.219e-06/0.4688, allocations: 0 / 444.5 MB, free: 8.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.4689, allocations: 4 kB / 444.5 MB, free: 8.32 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.0005881/0.4695, allocations: 445.6 kB / 445 MB, free: 7.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4695, allocations: 16.03 kB / 445 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.4696, allocations: 11.84 kB / 445 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.47, allocations: 205.5 kB / 445.2 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.47, allocations: 4 kB / 445.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.47, allocations: 8 kB / 445.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.868e-05/0.4701, allocations: 15.98 kB / 445.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4703, allocations: 71.33 kB / 445.3 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.4703, allocations: 3.953 kB / 445.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4704, allocations: 4 kB / 445.3 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-06/0.4704, allocations: 0 / 445.3 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.4708, allocations: 273.4 kB / 445.6 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.471, allocations: 50.69 kB / 445.6 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.4711, allocations: 16.98 kB / 445.7 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.4711, allocations: 8 kB / 445.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.4713, allocations: 71.28 kB / 445.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.496e-06/0.4713, allocations: 0 / 445.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005488/0.4718, allocations: 142.1 kB / 445.9 MB, free: 6.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.4719, allocations: 81.11 kB / 445.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4721, allocations: 136.4 kB / 446.1 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.4721, allocations: 29.64 kB / 446.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4723, allocations: 162.6 kB / 446.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.4723, allocations: 27.64 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-06/0.4723, allocations: 0 / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4725, allocations: 310.8 kB / 446.6 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.4726, allocations: 28 kB / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.4727, allocations: 50.56 kB / 446.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.723e-05/0.4728, allocations: 31.98 kB / 446.7 MB, free: 5.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-06/0.4728, allocations: 4.031 kB / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002951/0.4731, allocations: 121.5 kB / 446.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.4732, allocations: 33.7 kB / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.985e-06/0.4732, allocations: 0 / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4732, allocations: 0 / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4734, allocations: 15.98 kB / 446.9 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.147e-06/0.4734, allocations: 4 kB / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.4735, allocations: 7.938 kB / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.4735, allocations: 8 kB / 446.9 MB, free: 5.734 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.0001126/0.4736, allocations: 113 kB / 447 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.4737, allocations: 15.84 kB / 447 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.474, allocations: 110.3 kB / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.174e-06/0.474, allocations: 0 / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.008e-06/0.474, allocations: 0 / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.044e-06/0.474, allocations: 3.938 kB / 447.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.4746, allocations: 363.9 kB / 447.5 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.005e-06/0.4746, allocations: 7.984 kB / 447.5 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.4747, allocations: 15.92 kB / 447.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.789e-06/0.4747, allocations: 0 / 447.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.4748, allocations: 8 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.923e-06/0.4748, allocations: 0 / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4748, allocations: 0 / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.4751, allocations: 217.9 kB / 447.7 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4752, allocations: 93 kB / 447.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.4753, allocations: 192 / 447.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.4754, allocations: 11.98 kB / 447.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.4755, allocations: 8 kB / 447.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.4755, allocations: 4 kB / 447.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.4756, allocations: 103.3 kB / 447.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.4756, allocations: 0 / 447.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004333/0.4761, allocations: 47.92 kB / 448 MB, free: 4.531 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.001529/0.4776, allocations: 474.3 kB / 448.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.4779, allocations: 139.4 kB / 448.6 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.224e-06/0.478, allocations: 0 / 448.6 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.709e-05/0.478, allocations: 35.92 kB / 448.6 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.4784, allocations: 20.67 kB / 448.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.4788, allocations: 152.2 kB / 448.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.4793, allocations: 0.7041 MB / 449.5 MB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.4793, allocations: 19.42 kB / 449.5 MB, free: 2.996 MB / 378.7 MB Notification: Performance of SimCode: time 1.762e-06/0.4794, allocations: 0 / 449.5 MB, free: 2.996 MB / 378.7 MB Notification: Performance of Templates: time 0.005215/0.4846, allocations: 2.093 MB / 451.6 MB, free: 0.9023 MB / 378.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time