Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test8.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.231/2.231, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004156, allocations: 15.98 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3342, allocations: 54.86 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002303/0.3365, allocations: 1.199 MB / 370.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000642/0.3372, allocations: 249.3 kB / 370.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.3372, allocations: 0 / 370.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.338, allocations: 439.2 kB / 371.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.3384, allocations: 227.6 kB / 371.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.3385, allocations: 27.91 kB / 371.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.3387, allocations: 107.8 kB / 371.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.3388, allocations: 7.984 kB / 371.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.339, allocations: 99.8 kB / 371.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.3393, allocations: 147.7 kB / 371.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.3393, allocations: 0 / 371.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.551e-05/0.3394, allocations: 11.94 kB / 371.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.3395, allocations: 71.75 kB / 371.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.3396, allocations: 65.52 kB / 371.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.3399, allocations: 159.8 kB / 372.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.3399, allocations: 0 / 372.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.3399, allocations: 0 / 372.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3399, allocations: 3.938 kB / 372.1 MB, free: 7.926 MB / 298.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.0008616/0.3408, allocations: 0.6015 MB / 372.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3408, allocations: 15.97 kB / 372.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.3409, allocations: 30.56 kB / 372.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.341, allocations: 43.47 kB / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.3413, allocations: 275.3 kB / 373 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3413, allocations: 0 / 373 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3414, allocations: 4 kB / 373 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3415, allocations: 49.69 kB / 373.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3416, allocations: 4 kB / 373.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3416, allocations: 0 / 373.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.3416, allocations: 0 / 373.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.3417, allocations: 31.88 kB / 373.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.3423, allocations: 360.9 kB / 373.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3424, allocations: 38.56 kB / 373.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3425, allocations: 0 / 373.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3425, allocations: 34.5 kB / 373.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.3425, allocations: 0 / 373.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003557/0.3429, allocations: 105.2 kB / 373.6 MB, free: 6.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3429, allocations: 55.41 kB / 373.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.3442, allocations: 0.8495 MB / 374.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3443, allocations: 25.7 kB / 374.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.3445, allocations: 238.5 kB / 374.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.3445, allocations: 3.906 kB / 374.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.3445, allocations: 3.938 kB / 374.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3447, allocations: 310.8 kB / 375.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.3448, allocations: 20.02 kB / 375.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.3449, allocations: 11.98 kB / 375.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.345, allocations: 41.64 kB / 375.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.345, allocations: 0 / 375.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000224/0.3452, allocations: 87.38 kB / 375.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.3453, allocations: 29.7 kB / 375.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3453, allocations: 4 kB / 375.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3453, allocations: 3.953 kB / 375.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.3454, allocations: 8 kB / 375.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3454, allocations: 0 / 375.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.3455, allocations: 7.984 kB / 375.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3455, allocations: 4 kB / 375.3 MB, free: 4.414 MB / 298.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.0002753/0.3458, allocations: 201.8 kB / 375.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.3459, allocations: 43.44 kB / 375.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.3462, allocations: 108.5 kB / 375.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3462, allocations: 3.953 kB / 375.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3462, allocations: 0 / 375.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3462, allocations: 4 kB / 375.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.3466, allocations: 277.5 kB / 375.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3466, allocations: 0 / 375.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.3467, allocations: 8 kB / 375.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3467, allocations: 4.031 kB / 376 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3467, allocations: 4 kB / 376 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3467, allocations: 0 / 376 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3468, allocations: 3.953 kB / 376 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.347, allocations: 191 kB / 376.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3472, allocations: 108.7 kB / 376.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.3472, allocations: 8.031 kB / 376.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3473, allocations: 3.984 kB / 376.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3474, allocations: 7.984 kB / 376.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3474, allocations: 3.953 kB / 376.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009705/0.3484, allocations: 0.6433 MB / 376.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3484, allocations: 0 / 376.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.3487, allocations: 12 kB / 376.9 MB, free: 2.703 MB / 298.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.001126/0.3498, allocations: 0.8557 MB / 377.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.3501, allocations: 87.33 kB / 377.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3501, allocations: 3.938 kB / 377.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.3502, allocations: 15.98 kB / 377.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3505, allocations: 13.97 kB / 377.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3526, allocations: 1.238 MB / 379.1 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.3532, allocations: 0.8223 MB / 380 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.3534, allocations: 99.39 kB / 380.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3534, allocations: 0 / 380.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.413/2.766, allocations: 5.97 MB / 386 MB, free: 9.523 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_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