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.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.011/2.011, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006035, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3629, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002231/0.3652, allocations: 1.188 MB / 332.5 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006231/0.3659, allocations: 243.6 kB / 332.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.366, allocations: 0 / 332.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.3668, allocations: 437.8 kB / 333.1 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.3673, allocations: 231.6 kB / 333.4 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.3674, allocations: 29.12 kB / 333.4 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.3677, allocations: 101.4 kB / 333.5 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3678, allocations: 14.7 kB / 333.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.368, allocations: 99.03 kB / 333.6 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.3683, allocations: 141.1 kB / 333.7 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.3683, allocations: 1.062 kB / 333.7 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.3684, allocations: 15.45 kB / 333.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3686, allocations: 73.89 kB / 333.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.3686, allocations: 62.95 kB / 333.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.3689, allocations: 159.4 kB / 334 MB, free: 5.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.369, allocations: 4 kB / 334 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.369, allocations: 1.094 kB / 334 MB, free: 5.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.369, allocations: 0 / 334 MB, free: 5.562 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.0007283/0.3697, allocations: 0.5978 MB / 334.6 MB, free: 5.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3698, allocations: 9.281 kB / 334.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.3698, allocations: 31.36 kB / 334.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.3699, allocations: 41.97 kB / 334.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3702, allocations: 271.2 kB / 335 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3702, allocations: 5.125 kB / 335 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.3702, allocations: 2.156 kB / 335 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3704, allocations: 46.28 kB / 335 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3705, allocations: 0 / 335 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3705, allocations: 5.031 kB / 335 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3705, allocations: 0 / 335 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.3706, allocations: 32.27 kB / 335.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.3712, allocations: 369.5 kB / 335.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3713, allocations: 27.05 kB / 335.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3713, allocations: 6.078 kB / 335.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3714, allocations: 31.81 kB / 335.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 2.335e-06/0.3714, allocations: 4 kB / 335.5 MB, free: 4.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003645/0.3718, allocations: 103.7 kB / 335.6 MB, free: 4.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.3718, allocations: 52.98 kB / 335.7 MB, free: 4.133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.3731, allocations: 0.85 MB / 336.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3731, allocations: 29.64 kB / 336.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3733, allocations: 232.5 kB / 336.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3733, allocations: 17.61 kB / 336.8 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.3733, allocations: 0 / 336.8 MB, free: 3.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.3734, allocations: 316.2 kB / 337.1 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.3735, allocations: 11.09 kB / 337.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.3736, allocations: 12.02 kB / 337.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.524e-05/0.3737, allocations: 42.41 kB / 337.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.3737, allocations: 0 / 337.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002234/0.3739, allocations: 89.58 kB / 337.2 MB, free: 3.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.374, allocations: 31.42 kB / 337.3 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.374, allocations: 0 / 337.3 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.374, allocations: 0 / 337.3 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.3741, allocations: 8.922 kB / 337.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3742, allocations: 1.531 kB / 337.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.3743, allocations: 2.906 kB / 337.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3743, allocations: 5.094 kB / 337.3 MB, free: 2.969 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.0002658/0.3746, allocations: 211.9 kB / 337.5 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.3747, allocations: 40.88 kB / 337.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.3749, allocations: 114.4 kB / 337.6 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.375, allocations: 3.984 kB / 337.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.375, allocations: 1.531 kB / 337.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.375, allocations: 4.031 kB / 337.7 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.3753, allocations: 276 kB / 337.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3753, allocations: 1.406 kB / 337.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.3754, allocations: 8.516 kB / 337.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3754, allocations: 1.469 kB / 337.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3754, allocations: 0 / 337.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3754, allocations: 4 kB / 337.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3755, allocations: 1.438 kB / 337.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3757, allocations: 191.2 kB / 338.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.3758, allocations: 109 kB / 338.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.3758, allocations: 3.984 kB / 338.2 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3759, allocations: 6.969 kB / 338.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.376, allocations: 4.938 kB / 338.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.376, allocations: 0.9688 kB / 338.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009019/0.3769, allocations: 0.6468 MB / 338.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3769, allocations: 4 kB / 338.9 MB, free: 1.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.3773, allocations: 22.33 kB / 338.9 MB, free: 1.824 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.0009042/0.3782, allocations: 0.8223 MB / 339.7 MB, free: 1.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.3785, allocations: 82.39 kB / 339.8 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3785, allocations: 1.125 kB / 339.8 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.3786, allocations: 8.844 kB / 339.8 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3789, allocations: 21.89 kB / 339.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.381, allocations: 1.233 MB / 341.1 MB, free: 128 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.3816, allocations: 0.815 MB / 341.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.3818, allocations: 102 kB / 342 MB, free: 15.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.603e-06/0.3818, allocations: 0 / 342 MB, free: 15.27 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.751/3.133, allocations: 5.95 MB / 348 MB, free: 12.27 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat failed! " Variables in the reference:time,t_new.y,const.y,clock.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