Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.219/2.219, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 12 kB / 314.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3456, allocations: 54.87 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.00233/0.348, allocations: 1.247 MB / 370.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006802/0.3488, allocations: 249.2 kB / 370.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.3488, allocations: 0 / 370.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.3491, allocations: 79.8 kB / 370.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.3493, allocations: 63.86 kB / 370.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.3495, allocations: 31.84 kB / 370.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.3497, allocations: 63.91 kB / 371 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3498, allocations: 4 kB / 371 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.3499, allocations: 31.91 kB / 371 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.35, allocations: 43.83 kB / 371.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.35, allocations: 4 kB / 371.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-05/0.3501, allocations: 15.92 kB / 371.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.3502, allocations: 27.92 kB / 371.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.3502, allocations: 37.64 kB / 371.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.3504, allocations: 67.89 kB / 371.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3504, allocations: 0 / 371.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3504, allocations: 0 / 371.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3504, allocations: 0 / 371.2 MB, free: 10.81 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005798/0.351, allocations: 417.6 kB / 371.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3511, allocations: 12.03 kB / 371.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.3511, allocations: 30.56 kB / 371.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.3512, allocations: 15.86 kB / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3514, allocations: 190.9 kB / 371.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3515, allocations: 4 kB / 371.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3515, allocations: 8 kB / 371.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.3517, allocations: 61.61 kB / 371.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3517, allocations: 3.938 kB / 372 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3518, allocations: 0 / 372 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3518, allocations: 7.953 kB / 372 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.352, allocations: 39.95 kB / 372 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.3524, allocations: 296.8 kB / 372.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.3526, allocations: 54.5 kB / 372.3 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.3527, allocations: 11.98 kB / 372.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3527, allocations: 34.52 kB / 372.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3527, allocations: 0 / 372.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009387/0.3537, allocations: 201.2 kB / 372.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.3537, allocations: 55.41 kB / 372.6 MB, free: 9.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.354, allocations: 219.3 kB / 372.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.354, allocations: 25.7 kB / 372.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.761e-05/0.3541, allocations: 170.7 kB / 373 MB, free: 8.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.3542, allocations: 31.7 kB / 373.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.3542, allocations: 0 / 373.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3543, allocations: 318.8 kB / 373.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.3545, allocations: 27.98 kB / 373.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3547, allocations: 43.84 kB / 373.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3549, allocations: 57.69 kB / 373.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3549, allocations: 4 kB / 373.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000405/0.3553, allocations: 147.2 kB / 373.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.3554, allocations: 33.69 kB / 373.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3554, allocations: 0 / 373.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3554, allocations: 0 / 373.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3556, allocations: 23.98 kB / 373.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3556, allocations: 0 / 373.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.3557, allocations: 8 kB / 373.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3557, allocations: 0 / 373.7 MB, free: 8.062 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 (9): * Single equations (assignments): 8 * 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.0001317/0.3559, allocations: 133.8 kB / 373.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.3559, allocations: 11.86 kB / 373.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.3564, allocations: 143 kB / 374 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3564, allocations: 0 / 374 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3564, allocations: 0 / 374 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3564, allocations: 0 / 374 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/0.3572, allocations: 410.4 kB / 374.4 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3572, allocations: 0 / 374.4 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.3573, allocations: 23.92 kB / 374.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3573, allocations: 0 / 374.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3574, allocations: 4 kB / 374.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3574, allocations: 0 / 374.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3574, allocations: 384 / 374.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.3578, allocations: 207.4 kB / 374.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.3579, allocations: 92.88 kB / 374.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.3579, allocations: 4 kB / 374.7 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.358, allocations: 4 kB / 374.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3581, allocations: 16.25 kB / 374.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3581, allocations: 4 kB / 374.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.3583, allocations: 171.9 kB / 374.9 MB, free: 6.758 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3583, allocations: 3.938 kB / 374.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.3587, allocations: 20 kB / 374.9 MB, free: 6.734 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 (8): * Single equations (assignments): 8 * 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.001426/0.3601, allocations: 0.9333 MB / 375.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.3605, allocations: 131.3 kB / 376 MB, free: 5.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3606, allocations: 0 / 376 MB, free: 5.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3607, allocations: 43.97 kB / 376.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.361, allocations: 12.12 kB / 376.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.362, allocations: 0.523 MB / 376.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3623, allocations: 0.7121 MB / 377.3 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.3625, allocations: 31.42 kB / 377.3 MB, free: 4.312 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3625, allocations: 0 / 377.3 MB, free: 4.312 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.405/2.767, allocations: 2.058 MB / 379.4 MB, free: 2.254 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat failed! " Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(clock.y),der(d_t_new.u),der(d_t_new2.u),t_new.columns[1],t_new.columns[2],t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u,t_new.verboseRead,t_new.y[1],t_new.y[2],time