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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.003/2.003, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004315, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 48.71 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002243/0.3606, allocations: 1.217 MB / 332.5 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.3614, allocations: 260.4 kB / 332.8 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.3614, allocations: 1.375 kB / 332.8 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008147/0.3623, allocations: 430 kB / 333.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.3628, allocations: 238 kB / 333.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.363, allocations: 30.61 kB / 333.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.3632, allocations: 112.5 kB / 333.5 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3634, allocations: 16.89 kB / 333.6 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.3635, allocations: 103 kB / 333.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.3638, allocations: 142.5 kB / 333.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3639, allocations: 1.438 kB / 333.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.364, allocations: 15.81 kB / 333.8 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3641, allocations: 74.05 kB / 333.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.3642, allocations: 62.98 kB / 334 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.3645, allocations: 178.2 kB / 334.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3645, allocations: 1.344 kB / 334.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3645, allocations: 0 / 334.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3645, allocations: 0 / 334.1 MB, free: 5.5 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.0007605/0.3653, allocations: 0.5963 MB / 334.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3653, allocations: 9.219 kB / 334.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.3654, allocations: 36.48 kB / 334.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.3655, allocations: 41.84 kB / 334.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.3658, allocations: 275.9 kB / 335.1 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3658, allocations: 6.281 kB / 335.1 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.3658, allocations: 2.375 kB / 335.1 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.366, allocations: 52.86 kB / 335.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3661, allocations: 5.156 kB / 335.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3661, allocations: 1.312 kB / 335.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3661, allocations: 1.031 kB / 335.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3663, allocations: 26.3 kB / 335.2 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.3668, allocations: 389.6 kB / 335.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.3671, allocations: 45.66 kB / 335.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3672, allocations: 1.125 kB / 335.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3672, allocations: 39.72 kB / 335.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.3672, allocations: 0 / 335.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008671/0.3681, allocations: 238.5 kB / 335.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3681, allocations: 52.59 kB / 335.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3693, allocations: 0.8531 MB / 336.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3693, allocations: 27.14 kB / 336.8 MB, free: 3.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3695, allocations: 241.7 kB / 337 MB, free: 3.273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3695, allocations: 13.25 kB / 337.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/0.3695, allocations: 5.156 kB / 337.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.3696, allocations: 314.8 kB / 337.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3698, allocations: 29.02 kB / 337.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3699, allocations: 23.3 kB / 337.4 MB, free: 2.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.37, allocations: 54.31 kB / 337.5 MB, free: 2.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3701, allocations: 0 / 337.5 MB, free: 2.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003635/0.3704, allocations: 121.2 kB / 337.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.3705, allocations: 31.08 kB / 337.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3705, allocations: 4 kB / 337.6 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3705, allocations: 1.188 kB / 337.6 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3707, allocations: 15.55 kB / 337.6 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3707, allocations: 1.281 kB / 337.6 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3708, allocations: 8.469 kB / 337.6 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3708, allocations: 10 kB / 337.7 MB, free: 2.738 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.0002531/0.3711, allocations: 209.4 kB / 337.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.3712, allocations: 44.94 kB / 337.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.3716, allocations: 153.9 kB / 338.1 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3716, allocations: 5.484 kB / 338.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3716, allocations: 0 / 338.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3716, allocations: 1.531 kB / 338.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006875/0.3723, allocations: 454.9 kB / 338.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3724, allocations: 3.938 kB / 338.5 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.3725, allocations: 20.55 kB / 338.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3725, allocations: 3.938 kB / 338.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3725, allocations: 1.438 kB / 338.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3725, allocations: 0 / 338.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3725, allocations: 1.344 kB / 338.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.3729, allocations: 224.9 kB / 338.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.373, allocations: 105.8 kB / 338.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.373, allocations: 1.562 kB / 338.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3732, allocations: 4.281 kB / 338.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.3732, allocations: 10.36 kB / 338.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.3732, allocations: 5.5 kB / 338.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008837/0.3741, allocations: 0.6463 MB / 339.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3741, allocations: 0 / 339.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.3745, allocations: 26.52 kB / 339.6 MB, free: 1.422 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.001133/0.3757, allocations: 0.8864 MB / 340.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.376, allocations: 115.4 kB / 340.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3761, allocations: 0 / 340.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3762, allocations: 35.86 kB / 340.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.3766, allocations: 20.89 kB / 340.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.3789, allocations: 1.277 MB / 341.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.3795, allocations: 0.825 MB / 342.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.3797, allocations: 95.55 kB / 342.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3798, allocations: 0 / 342.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.615/2.995, allocations: 6.234 MB / 349 MB, free: 11.63 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat failed! Error: Could not read variable t_new.der(u2) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat. Warning: Get data of variable t_new.der(u2) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat failed! " Variables in the reference:time,t_new.y,d_t_new.y,const.y,clock.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