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.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3",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.0004352/0.0004353, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3621, allocations: 48.71 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002334/0.3645, allocations: 1.227 MB / 332.5 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006779/0.3652, allocations: 261 kB / 332.8 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.3653, allocations: 4 kB / 332.8 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.3662, allocations: 438 kB / 333.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.3666, allocations: 223.3 kB / 333.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.3668, allocations: 35.7 kB / 333.5 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.3671, allocations: 117.9 kB / 333.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3673, allocations: 20.33 kB / 333.6 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3674, allocations: 105 kB / 333.7 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.3678, allocations: 140 kB / 333.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.3678, allocations: 5.188 kB / 333.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.3679, allocations: 16.52 kB / 333.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.368, allocations: 78.89 kB / 333.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.3681, allocations: 63.33 kB / 334 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.3684, allocations: 171.6 kB / 334.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3684, allocations: 0 / 334.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3685, allocations: 3.938 kB / 334.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3685, allocations: 1.156 kB / 334.2 MB, free: 5.484 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.0008194/0.3693, allocations: 0.6173 MB / 334.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3694, allocations: 10.25 kB / 334.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.3694, allocations: 40.5 kB / 334.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.3695, allocations: 41.25 kB / 334.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3698, allocations: 269.2 kB / 335.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3698, allocations: 1.125 kB / 335.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.3699, allocations: 3.781 kB / 335.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3701, allocations: 58.61 kB / 335.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3701, allocations: 1.984 kB / 335.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3701, allocations: 0 / 335.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3702, allocations: 5.188 kB / 335.2 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.3704, allocations: 48.06 kB / 335.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.371, allocations: 386.2 kB / 335.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.3712, allocations: 47.16 kB / 335.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.484e-05/0.3713, allocations: 1.281 kB / 335.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3713, allocations: 32.25 kB / 335.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.3713, allocations: 0 / 335.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.001313/0.3726, allocations: 327.9 kB / 336 MB, free: 3.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.3727, allocations: 52.62 kB / 336.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.3739, allocations: 0.8484 MB / 336.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3739, allocations: 30.92 kB / 337 MB, free: 3.445 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3741, allocations: 241.4 kB / 337.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.3741, allocations: 18.47 kB / 337.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.3741, allocations: 0 / 337.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.3742, allocations: 312.1 kB / 337.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.3745, allocations: 42.56 kB / 337.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.3747, allocations: 48.81 kB / 337.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.3749, allocations: 69.36 kB / 337.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3749, allocations: 0 / 337.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005481/0.3755, allocations: 156.5 kB / 337.8 MB, free: 2.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.3755, allocations: 31.61 kB / 337.8 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3756, allocations: 0 / 337.8 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.3756, allocations: 9.531 kB / 337.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.3758, allocations: 26.17 kB / 337.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3758, allocations: 0 / 337.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.376, allocations: 17.66 kB / 337.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.376, allocations: 2.812 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.0003095/0.3764, allocations: 216.1 kB / 338.1 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.3764, allocations: 41.91 kB / 338.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/0.3771, allocations: 183.8 kB / 338.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3771, allocations: 5.125 kB / 338.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3771, allocations: 4 kB / 338.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3771, allocations: 0 / 338.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009161/0.378, allocations: 0.507 MB / 338.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3781, allocations: 0 / 338.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.3782, allocations: 23.55 kB / 338.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3783, allocations: 0 / 338.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3783, allocations: 5.516 kB / 338.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3783, allocations: 0 / 338.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3783, allocations: 7.953 kB / 338.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.3788, allocations: 260 kB / 339.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.3789, allocations: 105 kB / 339.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.379, allocations: 1.344 kB / 339.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3791, allocations: 16.98 kB / 339.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.3792, allocations: 11.19 kB / 339.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.3793, allocations: 2 kB / 339.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009587/0.3802, allocations: 0.6364 MB / 339.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3803, allocations: 4 kB / 339.9 MB, free: 1.285 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.3806, allocations: 24.09 kB / 339.9 MB, free: 1.281 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.001364/0.382, allocations: 0.9355 MB / 340.9 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005355/0.3825, allocations: 152.5 kB / 341 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3826, allocations: 0 / 341 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.3828, allocations: 57.25 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.0003683/0.3832, allocations: 22.33 kB / 341.1 MB, free: 360 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.3857, allocations: 1.287 MB / 342.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.3863, allocations: 0.8276 MB / 343.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.3866, allocations: 95.94 kB / 343.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of SimCode: time 1.724e-06/0.3866, allocations: 0 / 343.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.642/3.028, allocations: 6.361 MB / 349.7 MB, free: 11.36 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat failed! Error: Could not read variable t_new.der(u1) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable t_new.der(u1) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat failed! Error: Could not read variable t_new.der(u2) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable t_new.der(u2) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_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