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.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.129/2.129, allocations: 234.9 MB / 250.4 MB, free: 10.67 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005866/0.0005868, allocations: 20 kB / 314.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3488, allocations: 54.86 MB / 369.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003439/0.3523, allocations: 1.25 MB / 370.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009284/0.3533, allocations: 269.2 kB / 370.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.3534, allocations: 4 kB / 370.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.3544, allocations: 435.1 kB / 371.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.3551, allocations: 235.6 kB / 371.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.3553, allocations: 31.91 kB / 371.5 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.3557, allocations: 115.8 kB / 371.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3558, allocations: 7.984 kB / 371.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.3561, allocations: 103.8 kB / 371.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/0.3565, allocations: 151.7 kB / 371.8 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.3566, allocations: 0 / 371.8 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.3567, allocations: 16 kB / 371.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.3569, allocations: 79.73 kB / 371.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.316e-05/0.357, allocations: 61.52 kB / 372 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.3575, allocations: 171.8 kB / 372.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3575, allocations: 0 / 372.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3576, allocations: 4 kB / 372.2 MB, free: 7.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3576, allocations: 0 / 372.2 MB, free: 7.953 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.001383/0.359, allocations: 0.617 MB / 372.8 MB, free: 7.281 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.856e-05/0.3591, allocations: 8.031 kB / 372.8 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.543e-05/0.3592, allocations: 42.55 kB / 372.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.3593, allocations: 47.39 kB / 372.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.36, allocations: 263.5 kB / 373.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3601, allocations: 3.938 kB / 373.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.3601, allocations: 8 kB / 373.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.3606, allocations: 61.66 kB / 373.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.3606, allocations: 4 kB / 373.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3606, allocations: 0 / 373.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3607, allocations: 7.891 kB / 373.2 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.3611, allocations: 47.91 kB / 373.3 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000906/0.362, allocations: 380.7 kB / 373.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.3623, allocations: 46.56 kB / 373.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.3624, allocations: 4 kB / 373.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.3624, allocations: 42.53 kB / 373.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.3625, allocations: 4 kB / 373.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001717/0.3642, allocations: 312.1 kB / 374 MB, free: 5.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.3643, allocations: 55.34 kB / 374.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.3663, allocations: 0.8456 MB / 374.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.3664, allocations: 25.7 kB / 375 MB, free: 4.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.3666, allocations: 242.4 kB / 375.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.3667, allocations: 15.72 kB / 375.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.3667, allocations: 0 / 375.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3668, allocations: 318.8 kB / 375.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.3671, allocations: 43.97 kB / 375.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.3673, allocations: 39.97 kB / 375.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.3676, allocations: 69.69 kB / 375.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3676, allocations: 0 / 375.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005646/0.3682, allocations: 163.3 kB / 375.8 MB, free: 4.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.3682, allocations: 33.69 kB / 375.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3683, allocations: 0 / 375.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3683, allocations: 0 / 375.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.3685, allocations: 28.2 kB / 375.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3685, allocations: 4 kB / 375.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.3687, allocations: 15.98 kB / 375.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3687, allocations: 0 / 375.9 MB, free: 3.949 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.0002888/0.369, allocations: 209.8 kB / 376.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.3691, allocations: 43.39 kB / 376.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.3697, allocations: 205.1 kB / 376.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3698, allocations: 0 / 376.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3698, allocations: 0 / 376.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3698, allocations: 0 / 376.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3708, allocations: 0.4988 MB / 376.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3709, allocations: 0 / 376.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.371, allocations: 23.98 kB / 376.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.371, allocations: 0 / 376.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3711, allocations: 8 kB / 376.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3711, allocations: 0 / 376.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3711, allocations: 3.938 kB / 376.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.3717, allocations: 259 kB / 377.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.599e-05/0.3718, allocations: 108.6 kB / 377.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.3718, allocations: 7.922 kB / 377.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.372, allocations: 20 kB / 377.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3721, allocations: 11.98 kB / 377.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3721, allocations: 0 / 377.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009355/0.3731, allocations: 0.6355 MB / 377.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3731, allocations: 0 / 377.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.3734, allocations: 27.98 kB / 378 MB, free: 1.797 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.001601/0.375, allocations: 0.9849 MB / 378.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005389/0.3756, allocations: 155.3 kB / 379.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3756, allocations: 0 / 379.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.3759, allocations: 63.78 kB / 379.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3762, allocations: 13.97 kB / 379.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3785, allocations: 1.283 MB / 380.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.379, allocations: 0.8262 MB / 381.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.3792, allocations: 99.39 kB / 381.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3793, allocations: 0 / 381.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.472/2.852, allocations: 6.367 MB / 387.7 MB, free: 7.949 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat failed! Error: Could not read variable t_new.der(u1) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable t_new.der(u1) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat failed! Error: Could not read variable t_new.der(u2) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable t_new.der(u2) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_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