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.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.076/2.076, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004674, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3666, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.002602/0.3693, allocations: 1.388 MB / 332.7 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3711, allocations: 0.7199 MB / 333.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.3712, allocations: 0 / 333.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.3718, allocations: 225 kB / 333.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.3722, allocations: 142 kB / 333.7 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.3728, allocations: 125 kB / 333.9 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.3731, allocations: 153.3 kB / 334 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3733, allocations: 37.42 kB / 334.1 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3735, allocations: 95.22 kB / 334.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.3738, allocations: 129.7 kB / 334.3 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.3738, allocations: 7.062 kB / 334.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.374, allocations: 23.2 kB / 334.3 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.3741, allocations: 52.25 kB / 334.4 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.3741, allocations: 58.23 kB / 334.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.3745, allocations: 162.9 kB / 334.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3745, allocations: 0 / 334.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3745, allocations: 0 / 334.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3745, allocations: 0 / 334.6 MB, free: 4.922 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007091/0.3752, allocations: 0.642 MB / 335.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3753, allocations: 18.06 kB / 335.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.3753, allocations: 38.23 kB / 335.3 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.3754, allocations: 29.53 kB / 335.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.3757, allocations: 248.5 kB / 335.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3757, allocations: 7.594 kB / 335.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.3758, allocations: 9.938 kB / 335.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.376, allocations: 83.25 kB / 335.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3761, allocations: 0 / 335.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3761, allocations: 9.312 kB / 335.6 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3761, allocations: 9.281 kB / 335.7 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.3764, allocations: 52.77 kB / 335.7 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.3771, allocations: 414.2 kB / 336.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3773, allocations: 66.23 kB / 336.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.3773, allocations: 3.562 kB / 336.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3773, allocations: 31.69 kB / 336.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.3774, allocations: 0 / 336.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004572/0.3778, allocations: 133.7 kB / 336.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.3779, allocations: 60.64 kB / 336.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/0.3786, allocations: 488.9 kB / 336.9 MB, free: 3.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3786, allocations: 26.83 kB / 336.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3787, allocations: 206.6 kB / 337.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.3788, allocations: 24.42 kB / 337.1 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.3788, allocations: 1.062 kB / 337.1 MB, free: 2.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.3789, allocations: 313.4 kB / 337.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.379, allocations: 36.44 kB / 337.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3791, allocations: 29.27 kB / 337.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3793, allocations: 168.9 kB / 337.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3793, allocations: 0 / 337.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003548/0.3797, allocations: 237.1 kB / 337.9 MB, free: 2.156 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.3798, allocations: 143.3 kB / 338 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3798, allocations: 4 kB / 338 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3798, allocations: 5.469 kB / 338 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3799, allocations: 10.62 kB / 338.1 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.38, allocations: 13.36 kB / 338.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/0.3801, allocations: 13.38 kB / 338.1 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.3801, allocations: 4.031 kB / 338.1 MB, free: 1.965 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 (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 5 * 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.0001792/0.3803, allocations: 156.3 kB / 338.2 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.3804, allocations: 28.22 kB / 338.3 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.3808, allocations: 141.1 kB / 338.4 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.3808, allocations: 1.219 kB / 338.4 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3808, allocations: 0 / 338.4 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3808, allocations: 3.953 kB / 338.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3811, allocations: 254.9 kB / 338.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3811, allocations: 0 / 338.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3812, allocations: 15.98 kB / 338.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3813, allocations: 4 kB / 338.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3813, allocations: 1.469 kB / 338.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3813, allocations: 0 / 338.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3813, allocations: 1.75 kB / 338.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.3816, allocations: 208.6 kB / 338.9 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.3817, allocations: 112 kB / 339 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.3817, allocations: 5.406 kB / 339 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3819, allocations: 3.375 kB / 339 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.3819, allocations: 6.953 kB / 339 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3819, allocations: 1.25 kB / 339 MB, free: 1.152 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000481/0.3824, allocations: 354.3 kB / 339.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3824, allocations: 0 / 339.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.3828, allocations: 37.34 kB / 339.4 MB, free: 0.9531 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 (6): * Single equations (assignments): 6 * 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.001539/0.3844, allocations: 1.06 MB / 340.5 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3849, allocations: 339 kB / 340.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3849, allocations: 4 kB / 340.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.385, allocations: 30.2 kB / 340.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3855, allocations: 31.66 kB / 340.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.3871, allocations: 0.8582 MB / 341.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.3876, allocations: 0.7703 MB / 342.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3878, allocations: 73.12 kB / 342.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3878, allocations: 4 kB / 342.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.713/3.101, allocations: 4.066 MB / 346.6 MB, free: 12.14 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable1D.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable1D.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable2D.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable2D.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable2D1D.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable2D1D.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable2D1DT.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable2D1DT.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable2DT.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable2DT.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! " Variables in the reference:time,combiTable2D1D.y,combiTable2D1DT.y,clock1.y,combiTable1D.y[1],combiTable2D.y,combiTable2DT.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,combiTable1D.columns[1],combiTable1D.nout,combiTable1D.smoothness,combiTable1D.tableOnFile,combiTable1D.tableOnFileRead,combiTable1D.table[1,1],combiTable1D.table[1,2],combiTable1D.table[2,1],combiTable1D.table[2,2],combiTable1D.table[3,1],combiTable1D.table[3,2],combiTable1D.u,combiTable1D.verboseRead,combiTable1D.y[1],combiTable2D.smoothness,combiTable2D.tableOnFile,combiTable2D.tableOnFileRead,combiTable2D.table[1,1],combiTable2D.table[1,2],combiTable2D.table[1,3],combiTable2D.table[2,1],combiTable2D.table[2,2],combiTable2D.table[2,3],combiTable2D.table[3,1],combiTable2D.table[3,2],combiTable2D.table[3,3],combiTable2D.table[4,1],combiTable2D.table[4,2],combiTable2D.table[4,3],combiTable2D.u1,combiTable2D.u2,combiTable2D.verboseRead,combiTable2D.y,combiTable2D1D.smoothness,combiTable2D1D.tableOnFile,combiTable2D1D.tableOnFileRead,combiTable2D1D.table[1,1],combiTable2D1D.table[1,2],combiTable2D1D.table[2,1],combiTable2D1D.table[2,2],combiTable2D1D.table[3,1],combiTable2D1D.table[3,2],combiTable2D1D.table[4,1],combiTable2D1D.table[4,2],combiTable2D1D.u1,combiTable2D1D.u2,combiTable2D1D.verboseRead,combiTable2D1D.y,combiTable2D1DT.smoothness,combiTable2D1DT.tableOnFile,combiTable2D1DT.tableOnFileRead,combiTable2D1DT.table[1,1],combiTable2D1DT.table[1,2],combiTable2D1DT.table[1,3],combiTable2D1DT.table[1,4],combiTable2D1DT.table[2,1],combiTable2D1DT.table[2,2],combiTable2D1DT.table[2,3],combiTable2D1DT.table[2,4],combiTable2D1DT.u1,combiTable2D1DT.u2,combiTable2D1DT.verboseRead,combiTable2D1DT.y,combiTable2DT.smoothness,combiTable2DT.tableOnFile,combiTable2DT.tableOnFileRead,combiTable2DT.table[1,1],combiTable2DT.table[1,2],combiTable2DT.table[1,3],combiTable2DT.table[1,4],combiTable2DT.table[2,1],combiTable2DT.table[2,2],combiTable2DT.table[2,3],combiTable2DT.table[2,4],combiTable2DT.table[3,1],combiTable2DT.table[3,2],combiTable2DT.table[3,3],combiTable2DT.table[3,4],combiTable2DT.u1,combiTable2DT.u2,combiTable2DT.verboseRead,combiTable2DT.y,time