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.Test51.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.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.111/2.111, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.714e-05, allocations: 8 kB / 303.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.4017, allocations: 81.38 MB / 439.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.402, allocations: 75.95 kB / 439.5 MB, free: 13.38 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.01999/0.422, allocations: 4.685 MB / 444.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.422, allocations: 0 / 444.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.4221, allocations: 4 kB / 444.2 MB, free: 8.688 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.0006118/0.4227, allocations: 473.4 kB / 444.7 MB, free: 8.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4227, allocations: 12.03 kB / 444.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.4228, allocations: 7.906 kB / 444.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.4232, allocations: 222.7 kB / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.4232, allocations: 0 / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.4233, allocations: 7.938 kB / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.986e-05/0.4234, allocations: 20 kB / 444.9 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.4235, allocations: 53.67 kB / 445 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4235, allocations: 3.953 kB / 445 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4235, allocations: 4 kB / 445 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-06/0.4236, allocations: 0 / 445 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.424, allocations: 301.4 kB / 445.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4242, allocations: 50.69 kB / 445.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.4243, allocations: 16.98 kB / 445.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.4243, allocations: 4 kB / 445.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.4245, allocations: 71.34 kB / 445.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.696e-06/0.4245, allocations: 0 / 445.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005507/0.425, allocations: 157.1 kB / 445.6 MB, free: 7.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4251, allocations: 51.41 kB / 445.6 MB, free: 7.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.4254, allocations: 194.6 kB / 445.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.4254, allocations: 25.7 kB / 445.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4255, allocations: 174.5 kB / 446 MB, free: 6.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.4256, allocations: 23.66 kB / 446 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-06/0.4256, allocations: 3.938 kB / 446 MB, free: 6.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4258, allocations: 319.5 kB / 446.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.4259, allocations: 32 kB / 446.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.426, allocations: 48.05 kB / 446.4 MB, free: 6.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.4261, allocations: 39.97 kB / 446.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.785e-06/0.4261, allocations: 4 kB / 446.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003373/0.4265, allocations: 125.6 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.4266, allocations: 34.8 kB / 446.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.413e-06/0.4266, allocations: 3.953 kB / 446.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4266, allocations: 4 kB / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4267, allocations: 19.92 kB / 446.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4268, allocations: 0 / 446.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.4268, allocations: 4 kB / 446.7 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.4269, allocations: 8 kB / 446.7 MB, free: 5.996 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.0001052/0.427, allocations: 113 kB / 446.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.427, allocations: 11.89 kB / 446.8 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.4274, allocations: 115.4 kB / 446.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.43e-06/0.4274, allocations: 4.141 kB / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4274, allocations: 0 / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4274, allocations: 7.922 kB / 446.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.428, allocations: 380 kB / 447.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.479e-06/0.428, allocations: 3.984 kB / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.4281, allocations: 12.03 kB / 447.3 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.4281, allocations: 7.953 kB / 447.3 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4282, allocations: 4 kB / 447.3 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.07e-06/0.4282, allocations: 80 / 447.3 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.185e-06/0.4282, allocations: 8.172 kB / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.4285, allocations: 206 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4286, allocations: 112.9 kB / 447.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.4287, allocations: 7.984 kB / 447.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4288, allocations: 7.984 kB / 447.6 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.4289, allocations: 8 kB / 447.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.4289, allocations: 7.922 kB / 447.7 MB, free: 4.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001988/0.4291, allocations: 156.3 kB / 447.8 MB, free: 4.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.75e-07/0.4291, allocations: 3.938 kB / 447.8 MB, free: 4.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003952/0.4295, allocations: 39.94 kB / 447.9 MB, free: 4.699 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.001274/0.4308, allocations: 379.4 kB / 448.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.4311, allocations: 159.3 kB / 448.4 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.99e-06/0.4312, allocations: 4 kB / 448.4 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.4313, allocations: 27.94 kB / 448.4 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.4316, allocations: 20.72 kB / 448.4 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.4321, allocations: 215.3 kB / 448.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.4325, allocations: 0.7126 MB / 449.4 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.4326, allocations: 15.44 kB / 449.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4326, allocations: 0 / 449.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of Templates: time 0.005038/0.4377, allocations: 2.022 MB / 451.4 MB, free: 1.141 MB / 378.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_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