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.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.12/2.12, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005973/0.0005974, allocations: 16 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3688, allocations: 54.87 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.002305/0.3711, allocations: 1.203 MB / 370.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006744/0.3719, allocations: 245.2 kB / 370.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.3719, allocations: 0 / 370.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007244/0.3727, allocations: 435.2 kB / 371.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.3731, allocations: 235.5 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.3732, allocations: 23.92 kB / 371.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.3735, allocations: 107.8 kB / 371.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.3736, allocations: 11.94 kB / 371.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3738, allocations: 99.83 kB / 371.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.3741, allocations: 143.8 kB / 371.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.3741, allocations: 3.984 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.3742, allocations: 4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3743, allocations: 75.75 kB / 371.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.3744, allocations: 69.45 kB / 371.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3747, allocations: 159.7 kB / 372.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3747, allocations: 0 / 372.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3747, allocations: 4 kB / 372.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3747, allocations: 0 / 372.1 MB, free: 9.949 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.0008147/0.3755, allocations: 0.6015 MB / 372.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3756, allocations: 8.031 kB / 372.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.3756, allocations: 38.56 kB / 372.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.3757, allocations: 39.48 kB / 372.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.3761, allocations: 263.3 kB / 373 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3761, allocations: 0 / 373 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3761, allocations: 8 kB / 373 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3763, allocations: 49.67 kB / 373.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3763, allocations: 0 / 373.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3763, allocations: 4 kB / 373.1 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3764, allocations: 3.938 kB / 373.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3765, allocations: 27.94 kB / 373.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.3771, allocations: 368.9 kB / 373.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.3772, allocations: 26.58 kB / 373.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3772, allocations: 4.062 kB / 373.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3773, allocations: 38.48 kB / 373.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.3773, allocations: 0 / 373.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004074/0.3777, allocations: 109.1 kB / 373.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.3778, allocations: 55.34 kB / 373.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.379, allocations: 0.8456 MB / 374.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3791, allocations: 29.7 kB / 374.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.3793, allocations: 234.5 kB / 374.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3793, allocations: 7.906 kB / 374.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.3793, allocations: 4.125 kB / 374.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3795, allocations: 310.8 kB / 375.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.3796, allocations: 19.92 kB / 375.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.3797, allocations: 11.94 kB / 375.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3798, allocations: 41.69 kB / 375.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3798, allocations: 0 / 375.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002386/0.38, allocations: 91.45 kB / 375.3 MB, free: 6.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.3801, allocations: 37.7 kB / 375.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3801, allocations: 0 / 375.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3801, allocations: 3.953 kB / 375.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.3802, allocations: 4 kB / 375.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3803, allocations: 3.984 kB / 375.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.3803, allocations: 4 kB / 375.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.3804, allocations: 4 kB / 375.3 MB, free: 6.438 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.0002669/0.3807, allocations: 209.8 kB / 375.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.3807, allocations: 39.44 kB / 375.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.381, allocations: 112.5 kB / 375.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3811, allocations: 3.953 kB / 375.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3811, allocations: 0 / 375.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3811, allocations: 0 / 375.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.3815, allocations: 281.6 kB / 375.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3815, allocations: 0 / 375.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.3816, allocations: 4 kB / 376 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.3816, allocations: 4 kB / 376 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3816, allocations: 4 kB / 376 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3816, allocations: 0 / 376 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3816, allocations: 3.953 kB / 376 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.3819, allocations: 191 kB / 376.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.3821, allocations: 108.5 kB / 376.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3821, allocations: 0 / 376.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3822, allocations: 8 kB / 376.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.3823, allocations: 3.984 kB / 376.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.3823, allocations: 7.953 kB / 376.3 MB, free: 5.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009465/0.3833, allocations: 0.6355 MB / 376.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3833, allocations: 0 / 376.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.3836, allocations: 20.03 kB / 376.9 MB, free: 4.727 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.001164/0.3848, allocations: 0.8575 MB / 377.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.3851, allocations: 83.33 kB / 377.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3851, allocations: 0 / 377.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.3852, allocations: 15.98 kB / 377.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.3855, allocations: 18.03 kB / 377.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3877, allocations: 1.238 MB / 379.1 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.3883, allocations: 0.8223 MB / 380 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3885, allocations: 103.4 kB / 380.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3885, allocations: 0 / 380.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.448/2.836, allocations: 5.969 MB / 386 MB, free: 11.55 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat failed! " Variables in the reference:time,t_new.y,clock.y,const.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