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.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.216/2.216, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004199, allocations: 8 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.329, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002723/0.3318, allocations: 1.504 MB / 370.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3337, allocations: 0.7522 MB / 371.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.3338, allocations: 0 / 371.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.3344, allocations: 223.5 kB / 371.7 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.3348, allocations: 143.6 kB / 371.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.3353, allocations: 131.6 kB / 372 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.3357, allocations: 175.4 kB / 372.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.3359, allocations: 52.27 kB / 372.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.336, allocations: 111.6 kB / 372.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.3363, allocations: 139.5 kB / 372.5 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.3364, allocations: 8 kB / 372.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.3366, allocations: 59.92 kB / 372.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.3367, allocations: 59.75 kB / 372.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.3368, allocations: 57.58 kB / 372.7 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.3372, allocations: 207.6 kB / 372.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.3372, allocations: 0 / 372.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3372, allocations: 0 / 372.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3372, allocations: 0 / 372.9 MB, free: 7.098 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008484/0.3381, allocations: 0.679 MB / 373.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3381, allocations: 16.03 kB / 373.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.3382, allocations: 38.56 kB / 373.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.3383, allocations: 31.58 kB / 373.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.3386, allocations: 270.9 kB / 373.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3387, allocations: 12 kB / 373.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.3387, allocations: 12 kB / 373.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.339, allocations: 109.6 kB / 374 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3391, allocations: 0 / 374 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3391, allocations: 4 kB / 374 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.3391, allocations: 11.95 kB / 374 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.3394, allocations: 75.89 kB / 374.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000794/0.3402, allocations: 468.3 kB / 374.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.3405, allocations: 94.55 kB / 374.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.3406, allocations: 3.938 kB / 374.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3406, allocations: 42.48 kB / 374.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 3.326e-06/0.3406, allocations: 3.984 kB / 374.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00138/0.342, allocations: 386.4 kB / 375.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.3421, allocations: 55.36 kB / 375.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007012/0.3428, allocations: 489.5 kB / 375.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3428, allocations: 29.7 kB / 375.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.343, allocations: 226.8 kB / 375.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.3431, allocations: 55.2 kB / 375.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.3431, allocations: 3.938 kB / 375.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3432, allocations: 322.8 kB / 376.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.3435, allocations: 64.34 kB / 376.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3437, allocations: 66.41 kB / 376.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.3441, allocations: 201.4 kB / 376.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3441, allocations: 0 / 376.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006771/0.3448, allocations: 350 kB / 376.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/0.3449, allocations: 140.5 kB / 377.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3449, allocations: 0 / 377.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3449, allocations: 0 / 377.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.3452, allocations: 39.97 kB / 377.1 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3452, allocations: 0 / 377.1 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3453, allocations: 15.95 kB / 377.1 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.3454, allocations: 4 kB / 377.1 MB, free: 2.512 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 (22): * Single equations (assignments): 17 * 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.0002121/0.3456, allocations: 173.7 kB / 377.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.3457, allocations: 35.53 kB / 377.3 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007537/0.3464, allocations: 241 kB / 377.5 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3465, allocations: 4 kB / 377.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3465, allocations: 7.984 kB / 377.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3465, allocations: 0 / 377.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.3476, allocations: 0.6095 MB / 378.2 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3477, allocations: 0 / 378.2 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.3479, allocations: 35.92 kB / 378.2 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3479, allocations: 3.984 kB / 378.2 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3479, allocations: 11.95 kB / 378.2 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.348, allocations: 7.922 kB / 378.2 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.348, allocations: 0 / 378.2 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.3486, allocations: 299 kB / 378.5 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.3487, allocations: 108.7 kB / 378.6 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.3487, allocations: 4 kB / 378.6 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3489, allocations: 15.89 kB / 378.6 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.349, allocations: 15.92 kB / 378.7 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.349, allocations: 4 kB / 378.7 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005103/0.3495, allocations: 363.1 kB / 379 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3495, allocations: 0 / 379 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.3499, allocations: 59.98 kB / 379.1 MB, free: 448 kB / 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 (17): * Single equations (assignments): 17 * 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.003054/0.353, allocations: 1.514 MB / 380.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007171/0.3537, allocations: 432.9 kB / 381 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3538, allocations: 0 / 381 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.354, allocations: 79.91 kB / 381.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.3545, allocations: 45.34 kB / 381.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3563, allocations: 0.9782 MB / 382.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.3567, allocations: 0.7868 MB / 382.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.357, allocations: 99.39 kB / 383 MB, free: 12.43 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.357, allocations: 0 / 383 MB, free: 12.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.567/2.924, allocations: 5.203 MB / 388.2 MB, free: 7.219 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable1D.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable1D.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2D.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2D.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2D1D.der(u1) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2D1D.der(u1) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2D1D.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2D1D.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2D1DT.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2D1DT.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! Error: Could not read variable combiTable2DT.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat. Warning: Get data of variable combiTable2DT.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat failed! " Variables in the reference:time,clock1.y,combiTable2D1D.y,combiTable2D1DT.y,combiTable1D.y[1],combiTable2D.y,combiTable2DT.y,der1.y,der2.y,der3.y,der4.y,der5.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,der(combiTable2DT.u1),der(der1.u),der(der2.u),der(der3.u),der(der4.u),der(der5.u),der1.u,der1.y,der2.u,der2.y,der3.u,der3.y,der4.u,der4.y,der5.u,der5.y,time