Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.037/2.037, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004544, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3474, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002226/0.3497, allocations: 1.216 MB / 332.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006428/0.3504, allocations: 246.6 kB / 332.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.3505, allocations: 1.438 kB / 332.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.3508, allocations: 91.05 kB / 332.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.351, allocations: 51.08 kB / 332.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.3512, allocations: 24.58 kB / 332.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3514, allocations: 62.27 kB / 333 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3516, allocations: 22.06 kB / 333 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.3517, allocations: 37.3 kB / 333 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3518, allocations: 38.19 kB / 333.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3518, allocations: 2.219 kB / 333.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.3519, allocations: 15.28 kB / 333.1 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.352, allocations: 25.81 kB / 333.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.352, allocations: 33.33 kB / 333.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.3522, allocations: 60.55 kB / 333.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3522, allocations: 0 / 333.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3522, allocations: 9.219 kB / 333.2 MB, free: 5.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3523, allocations: 0 / 333.2 MB, free: 5.586 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004843/0.3527, allocations: 415.4 kB / 333.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3528, allocations: 10.39 kB / 333.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.3529, allocations: 40.64 kB / 333.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.3529, allocations: 8.906 kB / 333.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3531, allocations: 191.4 kB / 333.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3531, allocations: 6.047 kB / 333.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.3532, allocations: 11.09 kB / 333.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3534, allocations: 61.22 kB / 333.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3534, allocations: 0.7031 kB / 333.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3534, allocations: 5.188 kB / 333.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3534, allocations: 1.312 kB / 333.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.3536, allocations: 36.88 kB / 334 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.3541, allocations: 301.4 kB / 334.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.3543, allocations: 54 kB / 334.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.3543, allocations: 1.312 kB / 334.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.3544, allocations: 36.38 kB / 334.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.444e-06/0.3544, allocations: 0 / 334.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.001027/0.3554, allocations: 210.8 kB / 334.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3555, allocations: 53.72 kB / 334.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.3558, allocations: 225 kB / 334.8 MB, free: 4.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3558, allocations: 31.27 kB / 334.9 MB, free: 4.133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.3559, allocations: 162.1 kB / 335 MB, free: 3.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3559, allocations: 25.89 kB / 335 MB, free: 3.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.356, allocations: 0 / 335 MB, free: 3.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.356, allocations: 317.5 kB / 335.4 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3562, allocations: 35.69 kB / 335.4 MB, free: 3.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3563, allocations: 29.12 kB / 335.4 MB, free: 3.625 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.3565, allocations: 62.77 kB / 335.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3565, allocations: 3.938 kB / 335.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003981/0.3569, allocations: 142.9 kB / 335.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.357, allocations: 32.59 kB / 335.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.357, allocations: 0 / 335.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.357, allocations: 1.469 kB / 335.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.3572, allocations: 23.11 kB / 335.7 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3572, allocations: 5.109 kB / 335.7 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-05/0.3573, allocations: 14.59 kB / 335.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3574, allocations: 11.52 kB / 335.7 MB, free: 3.434 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 (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.0001292/0.3575, allocations: 125.1 kB / 335.8 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.3576, allocations: 9.938 kB / 335.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.358, allocations: 135.5 kB / 336 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3581, allocations: 4.656 kB / 336 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3581, allocations: 5.312 kB / 336 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3581, allocations: 4.656 kB / 336 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.3588, allocations: 394.2 kB / 336.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3588, allocations: 0.875 kB / 336.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3589, allocations: 22.81 kB / 336.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.359, allocations: 5.828 kB / 336.4 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.359, allocations: 5.297 kB / 336.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.359, allocations: 0.7031 kB / 336.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.359, allocations: 0 / 336.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.3594, allocations: 211.1 kB / 336.6 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.3595, allocations: 89.67 kB / 336.7 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3595, allocations: 1.797 kB / 336.7 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3596, allocations: 15.05 kB / 336.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.3597, allocations: 6.234 kB / 336.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3597, allocations: 2.469 kB / 336.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002143/0.36, allocations: 163.7 kB / 336.9 MB, free: 2.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.36, allocations: 4 kB / 336.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.3603, allocations: 18.55 kB / 336.9 MB, free: 2.516 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 (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.00117/0.3615, allocations: 0.9021 MB / 337.8 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004267/0.362, allocations: 137.1 kB / 337.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.362, allocations: 0 / 337.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.3621, allocations: 39.12 kB / 338 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.3625, allocations: 13.47 kB / 338 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3635, allocations: 0.5215 MB / 338.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3637, allocations: 0.7117 MB / 339.2 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.3638, allocations: 32.75 kB / 339.3 MB, free: 492 kB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3639, allocations: 5.312 kB / 339.3 MB, free: 488 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.773/3.136, allocations: 2.038 MB / 341.3 MB, free: 15.59 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_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