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.Test54.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.Test54,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.Test54") Notification: Performance of loadModel(ModelicaTest): time 2.237/2.237, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.88e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3345, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4606, allocations: 81.39 MB / 439.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4609, allocations: 71.97 kB / 439.5 MB, free: 13.36 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.01931/0.4802, allocations: 4.693 MB / 444.2 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.026e-06/0.4802, allocations: 0 / 444.2 MB, free: 8.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.4803, allocations: 8 kB / 444.2 MB, free: 8.656 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.0005969/0.4809, allocations: 466.2 kB / 444.7 MB, free: 8.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4809, allocations: 15.97 kB / 444.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.481, allocations: 7.906 kB / 444.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.4814, allocations: 218.7 kB / 444.9 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.4814, allocations: 0 / 444.9 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.4814, allocations: 11.98 kB / 444.9 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.45e-05/0.4815, allocations: 16 kB / 444.9 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.4817, allocations: 49.67 kB / 445 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4817, allocations: 7.953 kB / 445 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4817, allocations: 0 / 445 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-06/0.4817, allocations: 0 / 445 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.4822, allocations: 297.4 kB / 445.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.4824, allocations: 46.7 kB / 445.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.4824, allocations: 24.97 kB / 445.4 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.4825, allocations: 0 / 445.4 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.4826, allocations: 71.36 kB / 445.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.644e-06/0.4826, allocations: 0 / 445.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005526/0.4832, allocations: 165 kB / 445.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4833, allocations: 51.41 kB / 445.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.4835, allocations: 194.6 kB / 445.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4836, allocations: 25.7 kB / 445.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4837, allocations: 170.6 kB / 446 MB, free: 6.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.4837, allocations: 27.64 kB / 446 MB, free: 6.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-06/0.4838, allocations: 0 / 446 MB, free: 6.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4839, allocations: 319.5 kB / 446.4 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.484, allocations: 31.98 kB / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.4842, allocations: 49.66 kB / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.4843, allocations: 31.98 kB / 446.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4843, allocations: 8 kB / 446.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003269/0.4846, allocations: 121.6 kB / 446.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.4847, allocations: 37.69 kB / 446.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4847, allocations: 3.953 kB / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4847, allocations: 7.938 kB / 446.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.4849, allocations: 15.98 kB / 446.7 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.031e-06/0.4849, allocations: 0 / 446.7 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-05/0.485, allocations: 8.078 kB / 446.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.485, allocations: 15.94 kB / 446.7 MB, free: 5.965 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.0001012/0.4851, allocations: 113 kB / 446.8 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.4852, allocations: 7.906 kB / 446.8 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.4855, allocations: 119.3 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.438e-06/0.4855, allocations: 3.953 kB / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.92e-06/0.4855, allocations: 0 / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.292e-06/0.4855, allocations: 0 / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.4861, allocations: 387.9 kB / 447.3 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.329e-06/0.4861, allocations: 4.031 kB / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.4862, allocations: 11.98 kB / 447.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-06/0.4863, allocations: 7.953 kB / 447.3 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4863, allocations: 0 / 447.3 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.767e-06/0.4863, allocations: 160 / 447.3 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.418e-06/0.4863, allocations: 4 kB / 447.3 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.4866, allocations: 213.9 kB / 447.5 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.4867, allocations: 108.9 kB / 447.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.4868, allocations: 4 kB / 447.6 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4869, allocations: 7.984 kB / 447.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.487, allocations: 7.938 kB / 447.7 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.487, allocations: 0 / 447.7 MB, free: 4.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.4872, allocations: 160.3 kB / 447.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.4872, allocations: 0 / 447.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003938/0.4876, allocations: 39.94 kB / 447.9 MB, free: 4.684 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.001247/0.4889, allocations: 387.5 kB / 448.2 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.4892, allocations: 151.3 kB / 448.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.813e-06/0.4892, allocations: 4 kB / 448.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.4893, allocations: 35.98 kB / 448.4 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.4896, allocations: 20.59 kB / 448.4 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.4902, allocations: 211.2 kB / 448.6 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.4906, allocations: 0.7167 MB / 449.4 MB, free: 3.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.4907, allocations: 19.44 kB / 449.4 MB, free: 3.141 MB / 378.7 MB Notification: Performance of SimCode: time 1.526e-06/0.4907, allocations: 8 kB / 449.4 MB, free: 3.133 MB / 378.7 MB Notification: Performance of Templates: time 0.004882/0.4956, allocations: 2.022 MB / 451.4 MB, free: 1.105 MB / 378.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time