Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006007/0.0006007, allocations: 15.98 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3577, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002307/0.3601, allocations: 1.217 MB / 332.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006704/0.3608, allocations: 265.3 kB / 332.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.3609, allocations: 0 / 332.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008731/0.3618, allocations: 434.7 kB / 333.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.3623, allocations: 233.9 kB / 333.4 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3625, allocations: 28.42 kB / 333.4 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.3628, allocations: 115.6 kB / 333.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3629, allocations: 16.06 kB / 333.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3631, allocations: 99.58 kB / 333.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.3634, allocations: 150.3 kB / 333.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.3634, allocations: 1.312 kB / 333.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.3635, allocations: 11.77 kB / 333.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3637, allocations: 74.09 kB / 333.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.3637, allocations: 67.05 kB / 334 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.364, allocations: 167.4 kB / 334.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3641, allocations: 0 / 334.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3641, allocations: 0 / 334.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3641, allocations: 5.5 kB / 334.1 MB, free: 5.508 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007549/0.3648, allocations: 0.6022 MB / 334.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.3649, allocations: 10.47 kB / 334.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.365, allocations: 31.69 kB / 334.8 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.365, allocations: 42.25 kB / 334.8 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.3653, allocations: 267.7 kB / 335.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3654, allocations: 2.25 kB / 335.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3654, allocations: 11.2 kB / 335.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3656, allocations: 52.78 kB / 335.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3657, allocations: 1.094 kB / 335.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3657, allocations: 0 / 335.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3657, allocations: 1.281 kB / 335.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.3659, allocations: 35.44 kB / 335.2 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.3665, allocations: 387.6 kB / 335.6 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.3667, allocations: 51.28 kB / 335.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3668, allocations: 0 / 335.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.3668, allocations: 31.75 kB / 335.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3668, allocations: 0 / 335.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008721/0.3677, allocations: 239.4 kB / 335.9 MB, free: 4.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.3677, allocations: 51.41 kB / 335.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.369, allocations: 0.8576 MB / 336.8 MB, free: 3.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.369, allocations: 27.05 kB / 336.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3692, allocations: 240.8 kB / 337 MB, free: 3.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.3692, allocations: 19.16 kB / 337.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.3692, allocations: 0 / 337.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.3693, allocations: 316.6 kB / 337.4 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3694, allocations: 22.67 kB / 337.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.3696, allocations: 28.08 kB / 337.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3698, allocations: 53.81 kB / 337.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3698, allocations: 1.812 kB / 337.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003442/0.3701, allocations: 115.7 kB / 337.6 MB, free: 2.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.3702, allocations: 34.77 kB / 337.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3702, allocations: 3.984 kB / 337.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3702, allocations: 1.156 kB / 337.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3704, allocations: 15.8 kB / 337.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3704, allocations: 0 / 337.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.3705, allocations: 13.73 kB / 337.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3705, allocations: 6.891 kB / 337.7 MB, free: 2.746 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0002802/0.3708, allocations: 208.4 kB / 337.9 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.3709, allocations: 41.53 kB / 337.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.3713, allocations: 154.7 kB / 338.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3714, allocations: 3.938 kB / 338.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3714, allocations: 4 kB / 338.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3714, allocations: 1.375 kB / 338.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/0.3721, allocations: 455.7 kB / 338.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3721, allocations: 0 / 338.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3722, allocations: 19.52 kB / 338.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3723, allocations: 1.562 kB / 338.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.3723, allocations: 0 / 338.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.3723, allocations: 1.438 kB / 338.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3723, allocations: 0 / 338.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.3726, allocations: 229.3 kB / 338.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.3727, allocations: 106.6 kB / 338.9 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3728, allocations: 4 kB / 338.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3729, allocations: 9.922 kB / 338.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.373, allocations: 1.375 kB / 338.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.373, allocations: 2.094 kB / 338.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009456/0.374, allocations: 0.6419 MB / 339.5 MB, free: 1.449 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.374, allocations: 0 / 339.5 MB, free: 1.449 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003557/0.3743, allocations: 29.17 kB / 339.5 MB, free: 1.438 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001138/0.3755, allocations: 0.8957 MB / 340.4 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3759, allocations: 111.1 kB / 340.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3759, allocations: 4 kB / 340.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.376, allocations: 31.27 kB / 340.6 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3764, allocations: 21.58 kB / 340.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.3787, allocations: 1.272 MB / 341.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.3794, allocations: 0.829 MB / 342.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.3796, allocations: 96.05 kB / 342.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3796, allocations: 0 / 342.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.878/3.258, allocations: 6.238 MB / 349 MB, free: 11.64 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat failed! Error: Could not read variable t_new.der(u1) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat. Warning: Get data of variable t_new.der(u1) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat failed! " Variables in the reference:time,t_new.y,d_t_new.y,clock.y,const.y Variables in the result:clock.offset,clock.startTime,clock.y,const.k,const.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,10],t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[1,4],t_new.table[1,5],t_new.table[1,6],t_new.table[1,7],t_new.table[1,8],t_new.table[1,9],t_new.table[10,10],t_new.table[10,1],t_new.table[10,2],t_new.table[10,3],t_new.table[10,4],t_new.table[10,5],t_new.table[10,6],t_new.table[10,7],t_new.table[10,8],t_new.table[10,9],t_new.table[11,10],t_new.table[11,1],t_new.table[11,2],t_new.table[11,3],t_new.table[11,4],t_new.table[11,5],t_new.table[11,6],t_new.table[11,7],t_new.table[11,8],t_new.table[11,9],t_new.table[12,10],t_new.table[12,1],t_new.table[12,2],t_new.table[12,3],t_new.table[12,4],t_new.table[12,5],t_new.table[12,6],t_new.table[12,7],t_new.table[12,8],t_new.table[12,9],t_new.table[2,10],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[2,4],t_new.table[2,5],t_new.table[2,6],t_new.table[2,7],t_new.table[2,8],t_new.table[2,9],t_new.table[3,10],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[3,4],t_new.table[3,5],t_new.table[3,6],t_new.table[3,7],t_new.table[3,8],t_new.table[3,9],t_new.table[4,10],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[4,4],t_new.table[4,5],t_new.table[4,6],t_new.table[4,7],t_new.table[4,8],t_new.table[4,9],t_new.table[5,10],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.table[5,4],t_new.table[5,5],t_new.table[5,6],t_new.table[5,7],t_new.table[5,8],t_new.table[5,9],t_new.table[6,10],t_new.table[6,1],t_new.table[6,2],t_new.table[6,3],t_new.table[6,4],t_new.table[6,5],t_new.table[6,6],t_new.table[6,7],t_new.table[6,8],t_new.table[6,9],t_new.table[7,10],t_new.table[7,1],t_new.table[7,2],t_new.table[7,3],t_new.table[7,4],t_new.table[7,5],t_new.table[7,6],t_new.table[7,7],t_new.table[7,8],t_new.table[7,9],t_new.table[8,10],t_new.table[8,1],t_new.table[8,2],t_new.table[8,3],t_new.table[8,4],t_new.table[8,5],t_new.table[8,6],t_new.table[8,7],t_new.table[8,8],t_new.table[8,9],t_new.table[9,10],t_new.table[9,1],t_new.table[9,2],t_new.table[9,3],t_new.table[9,4],t_new.table[9,5],t_new.table[9,6],t_new.table[9,7],t_new.table[9,8],t_new.table[9,9],t_new.u1,t_new.u2,t_new.verboseRead,t_new.y,time