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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006077/0.0006078, allocations: 8 kB / 282.6 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3837, allocations: 48.72 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002276/0.3861, allocations: 1.218 MB / 332.5 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.3868, allocations: 267 kB / 332.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.3869, allocations: 0.9062 kB / 332.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.3877, allocations: 433.6 kB / 333.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.3883, allocations: 235.2 kB / 333.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.3885, allocations: 27.22 kB / 333.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.3887, allocations: 115.5 kB / 333.5 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3889, allocations: 12.33 kB / 333.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.389, allocations: 107.6 kB / 333.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.3893, allocations: 141.7 kB / 333.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.3894, allocations: 2.594 kB / 333.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3895, allocations: 11.06 kB / 333.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3896, allocations: 78.48 kB / 333.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.3897, allocations: 71.67 kB / 334 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.39, allocations: 165 kB / 334.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.39, allocations: 1.344 kB / 334.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3901, allocations: 4 kB / 334.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3901, allocations: 0 / 334.1 MB, free: 5.508 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008052/0.3909, allocations: 0.5958 MB / 334.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.391, allocations: 9.578 kB / 334.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.391, allocations: 32.77 kB / 334.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.3911, allocations: 41.81 kB / 334.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.3914, allocations: 276.2 kB / 335.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3914, allocations: 1.094 kB / 335.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3915, allocations: 6.438 kB / 335.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.3917, allocations: 54.11 kB / 335.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3917, allocations: 0.7031 kB / 335.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3917, allocations: 0 / 335.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3917, allocations: 1.25 kB / 335.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.3919, allocations: 31.22 kB / 335.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.3925, allocations: 388.4 kB / 335.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3928, allocations: 47.31 kB / 335.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3928, allocations: 0 / 335.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3928, allocations: 31.72 kB / 335.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.3928, allocations: 0 / 335.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008958/0.3938, allocations: 234.1 kB / 335.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3938, allocations: 56.44 kB / 335.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3951, allocations: 0.8583 MB / 336.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3951, allocations: 27.27 kB / 336.8 MB, free: 3.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.3953, allocations: 244.5 kB / 337 MB, free: 3.289 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.3953, allocations: 22.88 kB / 337.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.3953, allocations: 0 / 337.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.3954, allocations: 314.8 kB / 337.4 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3956, allocations: 28.17 kB / 337.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3957, allocations: 28.3 kB / 337.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3959, allocations: 54.47 kB / 337.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3959, allocations: 0 / 337.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003469/0.3962, allocations: 116.3 kB / 337.6 MB, free: 2.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.3963, allocations: 31.3 kB / 337.6 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3963, allocations: 0 / 337.6 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.3963, allocations: 1.406 kB / 337.6 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3965, allocations: 19.19 kB / 337.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3965, allocations: 5.609 kB / 337.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.3966, allocations: 12.52 kB / 337.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3967, allocations: 13.42 kB / 337.7 MB, free: 2.738 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 (6): * Single equations (assignments): 5 * 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.0003078/0.397, allocations: 209 kB / 337.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.3971, allocations: 41.5 kB / 337.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.3975, allocations: 142.1 kB / 338.1 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3975, allocations: 5.594 kB / 338.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3975, allocations: 0 / 338.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3976, allocations: 0 / 338.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007333/0.3983, allocations: 460 kB / 338.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3983, allocations: 1.312 kB / 338.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3984, allocations: 18.42 kB / 338.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.3985, allocations: 1.219 kB / 338.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3985, allocations: 1.281 kB / 338.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3985, allocations: 0 / 338.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3985, allocations: 0 / 338.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.3989, allocations: 226.6 kB / 338.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.399, allocations: 106 kB / 338.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.399, allocations: 0 / 338.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3991, allocations: 17.33 kB / 338.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.3992, allocations: 2.469 kB / 338.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3992, allocations: 1.406 kB / 338.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009355/0.4002, allocations: 0.6457 MB / 339.5 MB, free: 1.449 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4002, allocations: 7.938 kB / 339.5 MB, free: 1.441 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003716/0.4006, allocations: 21.78 kB / 339.5 MB, free: 1.438 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 (5): * Single equations (assignments): 5 * 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.001219/0.4018, allocations: 0.8906 MB / 340.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.4022, allocations: 114.2 kB / 340.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.4022, allocations: 5.188 kB / 340.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.4024, allocations: 27.64 kB / 340.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.4028, allocations: 21.27 kB / 340.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.4051, allocations: 1.269 MB / 341.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.4058, allocations: 0.8281 MB / 342.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.406, allocations: 100.9 kB / 342.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.406, allocations: 0 / 342.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.822/3.228, allocations: 6.241 MB / 349 MB, free: 11.64 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat failed! Error: Could not read variable t_new.der(u2) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat. Warning: Get data of variable t_new.der(u2) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat failed! " Variables in the reference:time,t_new.y,d_t_new.y,clock.y,const.y Variables in the result:clock.offset,clock.startTime,clock.y,const.k,const.y,d_t_new.u,d_t_new.y,der(clock.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