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.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.166/2.166, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004187, allocations: 8 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3261, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002247/0.3284, allocations: 1.238 MB / 370.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006712/0.3291, allocations: 269.2 kB / 370.8 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.3292, allocations: 0 / 370.8 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007006/0.3299, allocations: 435.2 kB / 371.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.3303, allocations: 235.6 kB / 371.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.3305, allocations: 35.83 kB / 371.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.3307, allocations: 115.8 kB / 371.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/0.3308, allocations: 8 kB / 371.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.331, allocations: 103.8 kB / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.3313, allocations: 151.7 kB / 371.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.3313, allocations: 0 / 371.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.3314, allocations: 19.98 kB / 371.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3315, allocations: 71.77 kB / 371.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.3316, allocations: 65.45 kB / 372 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3319, allocations: 175.8 kB / 372.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3319, allocations: 0 / 372.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3319, allocations: 0 / 372.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3319, allocations: 0 / 372.2 MB, free: 7.812 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008568/0.3328, allocations: 0.6132 MB / 372.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3328, allocations: 12.03 kB / 372.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.3329, allocations: 38.5 kB / 372.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.333, allocations: 51.39 kB / 372.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3333, allocations: 263.5 kB / 373.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3333, allocations: 7.938 kB / 373.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3334, allocations: 0 / 373.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.3336, allocations: 73.59 kB / 373.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3336, allocations: 0 / 373.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.3337, allocations: 0 / 373.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3337, allocations: 7.953 kB / 373.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.334, allocations: 39.97 kB / 373.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.3346, allocations: 384.7 kB / 373.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.3348, allocations: 50.5 kB / 373.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3348, allocations: 0 / 373.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3348, allocations: 38.52 kB / 373.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3349, allocations: 0 / 373.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001288/0.3361, allocations: 316.2 kB / 374 MB, free: 5.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3362, allocations: 59.41 kB / 374.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.3374, allocations: 0.8378 MB / 374.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3374, allocations: 29.7 kB / 375 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.3377, allocations: 242.4 kB / 375.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3377, allocations: 19.72 kB / 375.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.3377, allocations: 0 / 375.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3379, allocations: 310.8 kB / 375.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.3381, allocations: 47.97 kB / 375.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.3383, allocations: 39.97 kB / 375.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3386, allocations: 73.67 kB / 375.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3386, allocations: 0 / 375.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000544/0.3391, allocations: 171.2 kB / 375.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.3392, allocations: 29.7 kB / 375.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3392, allocations: 0 / 375.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3392, allocations: 0 / 375.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3394, allocations: 23.98 kB / 375.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3395, allocations: 0 / 375.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.3396, allocations: 15.98 kB / 375.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3397, allocations: 4 kB / 375.9 MB, free: 3.809 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 (8): * Single equations (assignments): 7 * 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.0002776/0.3399, allocations: 213.8 kB / 376.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.34, allocations: 43.39 kB / 376.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.3407, allocations: 193.1 kB / 376.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3407, allocations: 288 / 376.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3407, allocations: 0 / 376.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3407, allocations: 0 / 376.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3417, allocations: 0.5023 MB / 376.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3417, allocations: 3.938 kB / 376.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3419, allocations: 27.98 kB / 376.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.3419, allocations: 3.984 kB / 376.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3419, allocations: 4 kB / 376.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.342, allocations: 4.469 kB / 376.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.342, allocations: 0 / 376.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.3425, allocations: 258.9 kB / 377.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.3427, allocations: 108.6 kB / 377.3 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.3427, allocations: 0 / 377.3 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3429, allocations: 19.98 kB / 377.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.3429, allocations: 11.98 kB / 377.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.343, allocations: 7.938 kB / 377.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009105/0.3439, allocations: 0.6355 MB / 377.9 MB, free: 1.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3439, allocations: 0 / 377.9 MB, free: 1.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.3443, allocations: 24 kB / 378 MB, free: 1.656 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 (7): * Single equations (assignments): 7 * 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.001651/0.3459, allocations: 0.9909 MB / 378.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005917/0.3466, allocations: 155.3 kB / 379.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3466, allocations: 0 / 379.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.3468, allocations: 55.91 kB / 379.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3472, allocations: 17.95 kB / 379.2 MB, free: 492 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3494, allocations: 1.283 MB / 380.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.35, allocations: 0.8262 MB / 381.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.3502, allocations: 99.41 kB / 381.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.3502, allocations: 0 / 381.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.475/2.826, allocations: 6.373 MB / 387.7 MB, free: 7.797 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat failed! Error: Could not read variable t_new.der(u1) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable t_new.der(u1) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat failed! Error: Could not read variable t_new.der(u2) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable t_new.der(u2) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat failed! " Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),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