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.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004275, allocations: 8 kB / 314.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3407, allocations: 54.87 MB / 369.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.002576/0.3433, allocations: 1.407 MB / 370.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3452, allocations: 0.7172 MB / 371.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.3453, allocations: 0 / 371.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.3458, allocations: 227.5 kB / 371.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.3462, allocations: 139.7 kB / 371.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.3466, allocations: 119.6 kB / 371.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.3469, allocations: 159.7 kB / 372 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3471, allocations: 29.66 kB / 372.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.3473, allocations: 99.66 kB / 372.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.3476, allocations: 131.6 kB / 372.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3476, allocations: 0 / 372.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3477, allocations: 27.98 kB / 372.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.3478, allocations: 55.83 kB / 372.4 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.3479, allocations: 57.52 kB / 372.4 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.3483, allocations: 167.7 kB / 372.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3483, allocations: 0 / 372.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3483, allocations: 0 / 372.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3483, allocations: 0 / 372.6 MB, free: 7.484 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009772/0.3493, allocations: 0.6478 MB / 373.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.3493, allocations: 12.03 kB / 373.3 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.3494, allocations: 34.56 kB / 373.3 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.3495, allocations: 39.58 kB / 373.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.3499, allocations: 247.1 kB / 373.6 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3499, allocations: 4 kB / 373.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.3499, allocations: 8 kB / 373.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.3502, allocations: 86.44 kB / 373.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3502, allocations: 0 / 373.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3503, allocations: 3.938 kB / 373.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.3503, allocations: 7.938 kB / 373.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.3505, allocations: 63.92 kB / 373.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007234/0.3513, allocations: 408.5 kB / 374.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3515, allocations: 58.56 kB / 374.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.3515, allocations: 4 kB / 374.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3516, allocations: 34.69 kB / 374.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 3.457e-06/0.3516, allocations: 3.984 kB / 374.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004749/0.3521, allocations: 137.4 kB / 374.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3521, allocations: 55.41 kB / 374.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.3529, allocations: 485.6 kB / 374.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3529, allocations: 29.7 kB / 374.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3531, allocations: 206.5 kB / 375.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.3531, allocations: 19.72 kB / 375.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.3531, allocations: 8 kB / 375.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3533, allocations: 310.8 kB / 375.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3534, allocations: 27.98 kB / 375.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.3536, allocations: 35.97 kB / 375.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.3538, allocations: 160.5 kB / 375.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3538, allocations: 0 / 375.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004153/0.3542, allocations: 253.9 kB / 375.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/0.3543, allocations: 144.5 kB / 376.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3543, allocations: 4.062 kB / 376.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3544, allocations: 4 kB / 376.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3545, allocations: 12 kB / 376.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.3545, allocations: 0 / 376.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.3546, allocations: 11.84 kB / 376.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.3547, allocations: 7.984 kB / 376.1 MB, free: 3.621 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 (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 5 * 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.0002022/0.3549, allocations: 153.8 kB / 376.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.3549, allocations: 35.56 kB / 376.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.3554, allocations: 132.4 kB / 376.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3554, allocations: 4 kB / 376.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3554, allocations: 0 / 376.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3554, allocations: 3.984 kB / 376.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3558, allocations: 249.6 kB / 376.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3558, allocations: 0 / 376.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.3559, allocations: 16 kB / 376.7 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.3559, allocations: 7.938 kB / 376.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.3559, allocations: 4 kB / 376.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.356, allocations: 4 kB / 376.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.356, allocations: 0 / 376.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.3563, allocations: 207 kB / 376.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/0.3564, allocations: 104.7 kB / 377 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.3565, allocations: 7.938 kB / 377 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3566, allocations: 8 kB / 377 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3567, allocations: 4 kB / 377 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3567, allocations: 0 / 377 MB, free: 2.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005617/0.3573, allocations: 359.1 kB / 377.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3573, allocations: 0 / 377.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.3576, allocations: 31.94 kB / 377.4 MB, free: 2.223 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 (6): * Single equations (assignments): 6 * 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.002129/0.3598, allocations: 1.17 MB / 378.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.3603, allocations: 344.9 kB / 378.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3603, allocations: 0 / 378.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3604, allocations: 31.98 kB / 378.9 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.3609, allocations: 45.3 kB / 379 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.3625, allocations: 0.8431 MB / 379.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.363, allocations: 0.7669 MB / 380.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.3632, allocations: 79.41 kB / 380.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3632, allocations: 0 / 380.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.485/2.849, allocations: 4.073 MB / 384.8 MB, free: 10.79 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable1D.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable1D.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable2D.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable2D.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable2D1D.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable2D1D.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable2D1DT.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable2D1DT.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! Error: Could not read variable combiTable2DT.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat. Warning: Get data of variable combiTable2DT.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat failed! " Variables in the reference:time,clock1.y,combiTable2D1D.y,combiTable2D1DT.y,combiTable1D.y[1],combiTable2D.y,combiTable2DT.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,combiTable1D.columns[1],combiTable1D.nout,combiTable1D.smoothness,combiTable1D.tableOnFile,combiTable1D.tableOnFileRead,combiTable1D.table[1,1],combiTable1D.table[1,2],combiTable1D.table[2,1],combiTable1D.table[2,2],combiTable1D.table[3,1],combiTable1D.table[3,2],combiTable1D.u,combiTable1D.verboseRead,combiTable1D.y[1],combiTable2D.smoothness,combiTable2D.tableOnFile,combiTable2D.tableOnFileRead,combiTable2D.table[1,1],combiTable2D.table[1,2],combiTable2D.table[1,3],combiTable2D.table[2,1],combiTable2D.table[2,2],combiTable2D.table[2,3],combiTable2D.table[3,1],combiTable2D.table[3,2],combiTable2D.table[3,3],combiTable2D.table[4,1],combiTable2D.table[4,2],combiTable2D.table[4,3],combiTable2D.u1,combiTable2D.u2,combiTable2D.verboseRead,combiTable2D.y,combiTable2D1D.smoothness,combiTable2D1D.tableOnFile,combiTable2D1D.tableOnFileRead,combiTable2D1D.table[1,1],combiTable2D1D.table[1,2],combiTable2D1D.table[2,1],combiTable2D1D.table[2,2],combiTable2D1D.table[3,1],combiTable2D1D.table[3,2],combiTable2D1D.table[4,1],combiTable2D1D.table[4,2],combiTable2D1D.u1,combiTable2D1D.u2,combiTable2D1D.verboseRead,combiTable2D1D.y,combiTable2D1DT.smoothness,combiTable2D1DT.tableOnFile,combiTable2D1DT.tableOnFileRead,combiTable2D1DT.table[1,1],combiTable2D1DT.table[1,2],combiTable2D1DT.table[1,3],combiTable2D1DT.table[1,4],combiTable2D1DT.table[2,1],combiTable2D1DT.table[2,2],combiTable2D1DT.table[2,3],combiTable2D1DT.table[2,4],combiTable2D1DT.u1,combiTable2D1DT.u2,combiTable2D1DT.verboseRead,combiTable2D1DT.y,combiTable2DT.smoothness,combiTable2DT.tableOnFile,combiTable2DT.tableOnFileRead,combiTable2DT.table[1,1],combiTable2DT.table[1,2],combiTable2DT.table[1,3],combiTable2DT.table[1,4],combiTable2DT.table[2,1],combiTable2DT.table[2,2],combiTable2DT.table[2,3],combiTable2DT.table[2,4],combiTable2DT.table[3,1],combiTable2DT.table[3,2],combiTable2DT.table[3,3],combiTable2DT.table[3,4],combiTable2DT.u1,combiTable2DT.u2,combiTable2DT.verboseRead,combiTable2DT.y,time