Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test11.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.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.000439, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3421, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.002362/0.3445, allocations: 1.199 MB / 332.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006921/0.3453, allocations: 249.4 kB / 332.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.3454, allocations: 0 / 332.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.3456, allocations: 14.77 kB / 332.7 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.3458, allocations: 23.8 kB / 332.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.346, allocations: 32.58 kB / 332.8 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3462, allocations: 35.61 kB / 332.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3463, allocations: 20.33 kB / 332.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.3464, allocations: 18.92 kB / 332.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.3465, allocations: 16.91 kB / 332.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3465, allocations: 0 / 332.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.3466, allocations: 16.89 kB / 332.9 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.3467, allocations: 15.67 kB / 332.9 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.3467, allocations: 36.17 kB / 332.9 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3469, allocations: 46.12 kB / 333 MB, free: 5.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.3469, allocations: 4 kB / 333 MB, free: 5.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3469, allocations: 0 / 333 MB, free: 5.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3469, allocations: 0 / 333 MB, free: 5.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004893/0.3474, allocations: 393 kB / 333.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3475, allocations: 9.594 kB / 333.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.3475, allocations: 40.3 kB / 333.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.3476, allocations: 8.125 kB / 333.4 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.3478, allocations: 182.6 kB / 333.6 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3478, allocations: 9 kB / 333.6 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.3478, allocations: 6.312 kB / 333.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.348, allocations: 56.23 kB / 333.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3481, allocations: 0 / 333.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3481, allocations: 1.438 kB / 333.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3481, allocations: 0.5156 kB / 333.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3483, allocations: 27.09 kB / 333.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.3487, allocations: 286.5 kB / 334 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.349, allocations: 52.19 kB / 334 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3491, allocations: 1.891 kB / 334 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3491, allocations: 35.84 kB / 334.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.3491, allocations: 0 / 334.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009046/0.35, allocations: 167.7 kB / 334.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.3501, allocations: 53.69 kB / 334.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.3503, allocations: 164.3 kB / 334.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3503, allocations: 25.7 kB / 334.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.3504, allocations: 160.9 kB / 334.6 MB, free: 4.098 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3504, allocations: 11.7 kB / 334.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.3504, allocations: 1.094 kB / 334.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.3505, allocations: 317 kB / 335 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3507, allocations: 29.39 kB / 335 MB, free: 3.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3508, allocations: 26.38 kB / 335 MB, free: 3.762 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.351, allocations: 56.05 kB / 335.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.351, allocations: 0 / 335.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003698/0.3514, allocations: 126.3 kB / 335.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.3514, allocations: 31.75 kB / 335.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3514, allocations: 0.75 kB / 335.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.3515, allocations: 0 / 335.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3516, allocations: 14.94 kB / 335.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3516, allocations: 0 / 335.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.3517, allocations: 16.33 kB / 335.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3517, allocations: 1.344 kB / 335.3 MB, free: 3.602 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 (6): * Single equations (assignments): 5 * 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.0001016/0.3518, allocations: 122.8 kB / 335.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.3519, allocations: 8.531 kB / 335.4 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.3523, allocations: 110.7 kB / 335.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3523, allocations: 1.156 kB / 335.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3524, allocations: 8 kB / 335.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3524, allocations: 1.781 kB / 335.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.353, allocations: 364 kB / 335.9 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.353, allocations: 5.156 kB / 335.9 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3531, allocations: 13.38 kB / 335.9 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.3531, allocations: 1.578 kB / 335.9 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3531, allocations: 5.125 kB / 335.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.3532, allocations: 3.938 kB / 335.9 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3532, allocations: 5.562 kB / 335.9 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.3535, allocations: 193.7 kB / 336.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.3536, allocations: 85.31 kB / 336.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.3536, allocations: 0 / 336.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3537, allocations: 7.031 kB / 336.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.3538, allocations: 4.75 kB / 336.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3538, allocations: 4.922 kB / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.354, allocations: 132.8 kB / 336.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.354, allocations: 1.375 kB / 336.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.3543, allocations: 10.42 kB / 336.3 MB, free: 2.711 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 (5): * Single equations (assignments): 5 * 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.001161/0.3555, allocations: 0.867 MB / 337.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.3559, allocations: 122.7 kB / 337.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.356, allocations: 0 / 337.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3561, allocations: 38.03 kB / 337.4 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3564, allocations: 5.672 kB / 337.4 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.3573, allocations: 457 kB / 337.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.3575, allocations: 0.696 MB / 338.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.3575, allocations: 22.8 kB / 338.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3576, allocations: 0 / 338.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.71/3.068, allocations: 1.632 MB / 340.2 MB, free: 172 kB / 266.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u[1],t_new.verboseRead,t_new.y[1],time