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.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.073/2.073, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006537/0.0006539, allocations: 12 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3612, allocations: 48.69 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002657/0.3639, allocations: 1.487 MB / 332.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3658, allocations: 0.7425 MB / 333.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.366, allocations: 1.188 kB / 333.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.3666, allocations: 225.4 kB / 333.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.367, allocations: 145.3 kB / 333.9 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.3676, allocations: 136.4 kB / 334 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.368, allocations: 177 kB / 334.2 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.3682, allocations: 52.62 kB / 334.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3684, allocations: 101.1 kB / 334.3 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.3687, allocations: 143.8 kB / 334.5 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.3687, allocations: 4.344 kB / 334.5 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.369, allocations: 66.72 kB / 334.5 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.693e-05/0.3691, allocations: 53.95 kB / 334.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.3692, allocations: 62.83 kB / 334.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.3696, allocations: 206.1 kB / 334.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3696, allocations: 0 / 334.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3697, allocations: 0 / 334.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3697, allocations: 4 kB / 334.9 MB, free: 4.75 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007652/0.3704, allocations: 0.6789 MB / 335.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3705, allocations: 10.19 kB / 335.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.3706, allocations: 40.39 kB / 335.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.3706, allocations: 34.5 kB / 335.6 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.371, allocations: 264.7 kB / 335.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.371, allocations: 8.719 kB / 335.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.3711, allocations: 17.84 kB / 335.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.3714, allocations: 112.1 kB / 336 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3714, allocations: 1.125 kB / 336 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.3715, allocations: 6.219 kB / 336 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3715, allocations: 2.406 kB / 336 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3718, allocations: 74.14 kB / 336.1 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008525/0.3726, allocations: 473.4 kB / 336.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.3729, allocations: 102.6 kB / 336.7 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.373, allocations: 3.875 kB / 336.7 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.373, allocations: 39.73 kB / 336.7 MB, free: 3.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.735e-06/0.373, allocations: 1.625 kB / 336.7 MB, free: 3.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0014/0.3745, allocations: 385.5 kB / 337.1 MB, free: 3.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.3745, allocations: 56.58 kB / 337.1 MB, free: 2.961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/0.3752, allocations: 492 kB / 337.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3752, allocations: 27.11 kB / 337.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3754, allocations: 219.1 kB / 337.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.3754, allocations: 61.98 kB / 337.9 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.3754, allocations: 1.469 kB / 337.9 MB, free: 2.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.3755, allocations: 316.4 kB / 338.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.3757, allocations: 76.08 kB / 338.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.376, allocations: 61.72 kB / 338.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.3763, allocations: 204.8 kB / 338.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3763, allocations: 3.953 kB / 338.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006762/0.377, allocations: 339 kB / 338.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/0.377, allocations: 143.7 kB / 339 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3771, allocations: 0 / 339 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3771, allocations: 1.719 kB / 339 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.3774, allocations: 38.05 kB / 339.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3774, allocations: 7.969 kB / 339.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3776, allocations: 23.22 kB / 339.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.3776, allocations: 7 kB / 339.1 MB, free: 1.375 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 (22): * Single equations (assignments): 17 * 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.0002206/0.3778, allocations: 163.3 kB / 339.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.3779, allocations: 32.86 kB / 339.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007403/0.3786, allocations: 252.1 kB / 339.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3787, allocations: 1.312 kB / 339.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3787, allocations: 1.25 kB / 339.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3787, allocations: 0 / 339.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.3798, allocations: 0.6075 MB / 340.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3798, allocations: 5.219 kB / 340.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.38, allocations: 32.73 kB / 340.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3801, allocations: 0 / 340.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.3801, allocations: 6.844 kB / 340.2 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3801, allocations: 1.438 kB / 340.2 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3801, allocations: 4 kB / 340.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.3808, allocations: 312.1 kB / 340.5 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.3808, allocations: 104.5 kB / 340.6 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.3809, allocations: 1.188 kB / 340.6 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3811, allocations: 17.67 kB / 340.6 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.3811, allocations: 10.95 kB / 340.6 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3812, allocations: 4.469 kB / 340.6 MB, free: 216 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005181/0.3817, allocations: 353.6 kB / 341 MB, free: 24 kB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3817, allocations: 0 / 341 MB, free: 24 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004694/0.3822, allocations: 62.27 kB / 341.1 MB, free: 4 kB / 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 (17): * Single equations (assignments): 17 * 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.00273/0.3849, allocations: 1.347 MB / 342.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008274/0.3858, allocations: 436.2 kB / 342.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3858, allocations: 4 kB / 342.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.3861, allocations: 81.34 kB / 342.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.3866, allocations: 39.7 kB / 342.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3887, allocations: 0.9764 MB / 343.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.3892, allocations: 0.7843 MB / 344.7 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.3894, allocations: 99.2 kB / 344.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3894, allocations: 0 / 344.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.746/3.135, allocations: 5.203 MB / 350 MB, free: 10.25 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable1D.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable1D.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2D.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2D.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2D1D.der(u1) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2D1D.der(u1) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2D1D.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2D1D.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2D1DT.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2D1DT.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2DT.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2DT.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! " Variables in the reference:time,combiTable2D1D.y,combiTable2D1DT.y,clock1.y,combiTable1D.y[1],combiTable2D.y,combiTable2DT.y,der1.y,der2.y,der3.y,der4.y,der5.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,der(combiTable2DT.u1),der(der1.u),der(der2.u),der(der3.u),der(der4.u),der(der5.u),der1.u,der1.y,der2.u,der2.y,der3.u,der3.y,der4.u,der4.y,der5.u,der5.y,time