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.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004364, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3575, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.00228/0.3598, allocations: 1.189 MB / 332.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.3606, allocations: 243.4 kB / 332.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.3607, allocations: 1 kB / 332.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.3617, allocations: 437 kB / 333.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.3623, allocations: 228 kB / 333.4 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.3625, allocations: 28.83 kB / 333.4 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.363, allocations: 102.8 kB / 333.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3631, allocations: 13.7 kB / 333.5 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.3634, allocations: 99.23 kB / 333.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.3637, allocations: 145.7 kB / 333.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.3637, allocations: 1 kB / 333.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-05/0.3638, allocations: 9.625 kB / 333.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.364, allocations: 74.23 kB / 333.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.364, allocations: 67.33 kB / 333.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.3644, allocations: 160.4 kB / 334 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3644, allocations: 5.469 kB / 334 MB, free: 5.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3644, allocations: 0 / 334 MB, free: 5.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3644, allocations: 0 / 334 MB, free: 5.551 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007855/0.3652, allocations: 0.5883 MB / 334.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.3653, allocations: 9.969 kB / 334.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.3653, allocations: 40.78 kB / 334.7 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.3654, allocations: 41.09 kB / 334.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.3657, allocations: 263.3 kB / 335 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3658, allocations: 5.25 kB / 335 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3658, allocations: 6.25 kB / 335 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.366, allocations: 44.98 kB / 335 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.366, allocations: 1.094 kB / 335 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3661, allocations: 4.688 kB / 335 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3661, allocations: 1.094 kB / 335 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3662, allocations: 24.78 kB / 335.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.3669, allocations: 375.5 kB / 335.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.367, allocations: 32.92 kB / 335.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3671, allocations: 0 / 335.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3671, allocations: 32.62 kB / 335.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.3671, allocations: 4 kB / 335.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004274/0.3676, allocations: 107.6 kB / 335.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.3676, allocations: 53.53 kB / 335.7 MB, free: 4.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.3693, allocations: 0.847 MB / 336.5 MB, free: 3.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3694, allocations: 29.64 kB / 336.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.3695, allocations: 237.4 kB / 336.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.3696, allocations: 9.125 kB / 336.8 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.3696, allocations: 0 / 336.8 MB, free: 3.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.3697, allocations: 320 kB / 337.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3698, allocations: 11.33 kB / 337.1 MB, free: 3.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.3699, allocations: 12 kB / 337.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.37, allocations: 38.69 kB / 337.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.37, allocations: 4 kB / 337.2 MB, free: 3.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002362/0.3703, allocations: 92.62 kB / 337.2 MB, free: 2.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.3703, allocations: 30.8 kB / 337.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3703, allocations: 1.438 kB / 337.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3704, allocations: 0 / 337.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.3705, allocations: 9.031 kB / 337.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3705, allocations: 0.9062 kB / 337.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.3707, allocations: 3.188 kB / 337.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3707, allocations: 5.062 kB / 337.3 MB, free: 2.949 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 (3): * Single equations (assignments): 2 * 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.0003229/0.371, allocations: 211.9 kB / 337.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.3711, allocations: 41.66 kB / 337.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.3715, allocations: 109.4 kB / 337.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3715, allocations: 1.656 kB / 337.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3715, allocations: 0 / 337.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3715, allocations: 4.172 kB / 337.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.3719, allocations: 280.3 kB / 337.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3719, allocations: 5.422 kB / 337.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.372, allocations: 4.188 kB / 337.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.372, allocations: 1.438 kB / 337.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.372, allocations: 0 / 337.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.372, allocations: 0 / 337.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.372, allocations: 1.594 kB / 337.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.3723, allocations: 190.2 kB / 338.1 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.3724, allocations: 118.5 kB / 338.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.3725, allocations: 0 / 338.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3726, allocations: 2.688 kB / 338.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3727, allocations: 5.078 kB / 338.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3727, allocations: 1.688 kB / 338.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009882/0.3737, allocations: 0.6501 MB / 338.9 MB, free: 1.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3737, allocations: 0 / 338.9 MB, free: 1.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003974/0.3741, allocations: 17.78 kB / 338.9 MB, free: 1.816 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 (2): * Single equations (assignments): 2 * 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.001013/0.3751, allocations: 0.8265 MB / 339.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.3755, allocations: 83.48 kB / 339.8 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3755, allocations: 0 / 339.8 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.3756, allocations: 17.36 kB / 339.8 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.376, allocations: 14.34 kB / 339.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3783, allocations: 1.233 MB / 341.1 MB, free: 116 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.379, allocations: 0.8224 MB / 341.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.3792, allocations: 102.4 kB / 342 MB, free: 15.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3793, allocations: 0 / 342 MB, free: 15.25 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.854/3.233, allocations: 5.95 MB / 348 MB, free: 12.25 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat failed! " Variables in the reference:time,t_new.y,clock.y,const.y Variables in the result:clock.offset,clock.startTime,clock.y,const.k,const.y,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