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.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.003/2.003, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005848/0.0005849, allocations: 8 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3508, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002191/0.353, allocations: 1.229 MB / 332.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006608/0.3537, allocations: 267.5 kB / 332.8 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.3538, allocations: 1.562 kB / 332.8 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008321/0.3546, allocations: 434.6 kB / 333.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.3551, allocations: 238.2 kB / 333.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.3553, allocations: 27.03 kB / 333.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.3556, allocations: 118.3 kB / 333.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3557, allocations: 17.58 kB / 333.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.3559, allocations: 100.2 kB / 333.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.3562, allocations: 147.3 kB / 333.8 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3562, allocations: 2.875 kB / 333.8 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-05/0.3564, allocations: 19 kB / 333.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3565, allocations: 74.7 kB / 333.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.3565, allocations: 64.23 kB / 334 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.3568, allocations: 175.5 kB / 334.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3568, allocations: 0 / 334.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3569, allocations: 4.797 kB / 334.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3569, allocations: 0 / 334.2 MB, free: 5.492 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.0007744/0.3577, allocations: 0.6152 MB / 334.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3577, allocations: 8.938 kB / 334.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.3578, allocations: 33.23 kB / 334.8 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.3578, allocations: 40.56 kB / 334.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.3582, allocations: 264.9 kB / 335.1 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3582, allocations: 6 kB / 335.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.3582, allocations: 3.562 kB / 335.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3585, allocations: 63.17 kB / 335.2 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3585, allocations: 0.8438 kB / 335.2 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3585, allocations: 1.062 kB / 335.2 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3585, allocations: 1.094 kB / 335.2 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.3588, allocations: 52.03 kB / 335.2 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3593, allocations: 381.3 kB / 335.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.3595, allocations: 50.44 kB / 335.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.3596, allocations: 1 kB / 335.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3596, allocations: 35.53 kB / 335.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.3596, allocations: 1.062 kB / 335.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.001283/0.3609, allocations: 323.8 kB / 336 MB, free: 3.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.361, allocations: 56.47 kB / 336.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.3622, allocations: 0.849 MB / 336.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3622, allocations: 29.7 kB / 336.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3624, allocations: 233.8 kB / 337.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.3624, allocations: 22.84 kB / 337.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.3624, allocations: 1.312 kB / 337.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.3625, allocations: 318.8 kB / 337.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.3627, allocations: 43.44 kB / 337.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.3629, allocations: 47.59 kB / 337.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.3632, allocations: 69.75 kB / 337.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3632, allocations: 0 / 337.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000521/0.3637, allocations: 152.3 kB / 337.8 MB, free: 2.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.3638, allocations: 32.27 kB / 337.8 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3638, allocations: 0 / 337.8 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3638, allocations: 9.109 kB / 337.9 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.364, allocations: 29.64 kB / 337.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3641, allocations: 0.9688 kB / 337.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3642, allocations: 18.34 kB / 337.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3643, allocations: 1.344 kB / 337.9 MB, free: 2.648 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 (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.0002881/0.3646, allocations: 208.9 kB / 338.1 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.3646, allocations: 41.44 kB / 338.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.3653, allocations: 187.6 kB / 338.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3653, allocations: 1.438 kB / 338.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3653, allocations: 3.984 kB / 338.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3653, allocations: 4 kB / 338.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009074/0.3662, allocations: 0.4952 MB / 338.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3662, allocations: 0 / 338.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.3664, allocations: 31.17 kB / 338.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3664, allocations: 0 / 338.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3665, allocations: 1.312 kB / 338.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.3665, allocations: 5.312 kB / 338.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3665, allocations: 3.953 kB / 338.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.367, allocations: 258.8 kB / 339.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.3671, allocations: 106.1 kB / 339.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.3672, allocations: 9.438 kB / 339.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3673, allocations: 16.2 kB / 339.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.3674, allocations: 11.44 kB / 339.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3674, allocations: 2.281 kB / 339.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009053/0.3684, allocations: 0.6362 MB / 339.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3684, allocations: 0 / 339.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.3687, allocations: 24.59 kB / 339.9 MB, free: 1.289 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 (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.001313/0.3701, allocations: 0.9373 MB / 340.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.3707, allocations: 151.7 kB / 341 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3707, allocations: 1.031 kB / 341 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.3709, allocations: 60.27 kB / 341.1 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3713, allocations: 17.77 kB / 341.1 MB, free: 364 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.3737, allocations: 1.284 MB / 342.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/0.3743, allocations: 0.8229 MB / 343.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.3746, allocations: 104.5 kB / 343.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of SimCode: time 3.737e-06/0.3746, allocations: 0 / 343.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.833/3.208, allocations: 6.36 MB / 349.7 MB, free: 11.38 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat failed! Error: Could not read variable t_new.der(u1) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable t_new.der(u1) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat failed! Error: Could not read variable t_new.der(u2) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable t_new.der(u2) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_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