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.Test52.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.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.275/2.275, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.744e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2804, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.4107, allocations: 81.4 MB / 439.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/0.4112, allocations: 75.95 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.03317/0.4444, allocations: 4.685 MB / 444.2 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4445, allocations: 0 / 444.2 MB, free: 8.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.4445, allocations: 4 kB / 444.2 MB, free: 8.664 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.0008649/0.4454, allocations: 469.4 kB / 444.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.4454, allocations: 8.031 kB / 444.7 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.148e-05/0.4455, allocations: 11.91 kB / 444.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.4461, allocations: 218.7 kB / 444.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.4462, allocations: 4 kB / 444.9 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.4462, allocations: 4 kB / 444.9 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000145/0.4464, allocations: 23.98 kB / 444.9 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.4466, allocations: 45.62 kB / 445 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.4466, allocations: 7.953 kB / 445 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.4467, allocations: 3.984 kB / 445 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4467, allocations: 0 / 445 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.4474, allocations: 293.5 kB / 445.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.4476, allocations: 50.69 kB / 445.3 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.4477, allocations: 16.98 kB / 445.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.4478, allocations: 3.984 kB / 445.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.448, allocations: 75.28 kB / 445.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.226e-06/0.4481, allocations: 4 kB / 445.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008703/0.4489, allocations: 161.1 kB / 445.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.449, allocations: 51.41 kB / 445.6 MB, free: 7.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.4495, allocations: 198.5 kB / 445.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.4496, allocations: 29.7 kB / 445.9 MB, free: 6.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.4497, allocations: 166.6 kB / 446 MB, free: 6.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.123e-05/0.4498, allocations: 27.64 kB / 446 MB, free: 6.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.4498, allocations: 0 / 446 MB, free: 6.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.45, allocations: 315.5 kB / 446.4 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4502, allocations: 36 kB / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.4504, allocations: 49.7 kB / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.4506, allocations: 31.98 kB / 446.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.047e-06/0.4506, allocations: 0 / 446.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005551/0.4512, allocations: 129.5 kB / 446.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/0.4513, allocations: 37.69 kB / 446.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4513, allocations: 3.953 kB / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4514, allocations: 0 / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.4516, allocations: 20.03 kB / 446.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.07e-06/0.4516, allocations: 0 / 446.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4518, allocations: 7.984 kB / 446.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.4519, allocations: 8 kB / 446.7 MB, free: 5.977 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.0001588/0.452, allocations: 116.8 kB / 446.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.4521, allocations: 11.91 kB / 446.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.4526, allocations: 115.4 kB / 446.9 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.743e-06/0.4527, allocations: 3.953 kB / 446.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.49e-06/0.4527, allocations: 4 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4527, allocations: 0 / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009469/0.4537, allocations: 387.9 kB / 447.3 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.437e-06/0.4537, allocations: 0 / 447.3 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.4538, allocations: 11.94 kB / 447.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.4539, allocations: 3.953 kB / 447.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.4539, allocations: 7.984 kB / 447.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4539, allocations: 0 / 447.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4539, allocations: 4.031 kB / 447.3 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.4544, allocations: 214.1 kB / 447.5 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.4546, allocations: 104.9 kB / 447.6 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.4547, allocations: 8 kB / 447.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.4549, allocations: 0 / 447.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.455, allocations: 11.98 kB / 447.7 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.4551, allocations: 4 kB / 447.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003115/0.4554, allocations: 156.3 kB / 447.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.4554, allocations: 0 / 447.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007559/0.4562, allocations: 43.92 kB / 447.9 MB, free: 4.688 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.002005/0.4582, allocations: 385 kB / 448.2 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005356/0.4588, allocations: 155.3 kB / 448.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.981e-06/0.4588, allocations: 0 / 448.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.459, allocations: 31.94 kB / 448.4 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.4595, allocations: 19.34 kB / 448.4 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.4604, allocations: 219.2 kB / 448.6 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.461, allocations: 0.7167 MB / 449.4 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.4611, allocations: 19.42 kB / 449.4 MB, free: 3.145 MB / 378.7 MB Notification: Performance of SimCode: time 2.758e-06/0.4612, allocations: 0 / 449.4 MB, free: 3.145 MB / 378.7 MB Notification: Performance of Templates: time 0.006264/0.4674, allocations: 2.032 MB / 451.4 MB, free: 1.109 MB / 378.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_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