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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.213/2.213, allocations: 209.2 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004316, allocations: 8 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3709, allocations: 48.7 MB / 331.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.002335/0.3733, allocations: 1.207 MB / 332.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006495/0.374, allocations: 250.9 kB / 332.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.374, allocations: 0 / 332.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.3744, allocations: 86.17 kB / 332.8 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.3746, allocations: 52.45 kB / 332.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.3747, allocations: 32.55 kB / 332.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.3749, allocations: 49.69 kB / 332.9 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.375, allocations: 15.84 kB / 333 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.3751, allocations: 27.55 kB / 333 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3752, allocations: 37.06 kB / 333 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3753, allocations: 1.062 kB / 333 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3754, allocations: 15.67 kB / 333 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.3754, allocations: 28.25 kB / 333.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.3755, allocations: 32.48 kB / 333.1 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.3757, allocations: 64.56 kB / 333.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3757, allocations: 0 / 333.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3757, allocations: 1.281 kB / 333.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.3757, allocations: 0 / 333.2 MB, free: 5.609 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.0004766/0.3762, allocations: 407.1 kB / 333.6 MB, free: 5.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3762, allocations: 9.703 kB / 333.6 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.3763, allocations: 32.56 kB / 333.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3763, allocations: 11.47 kB / 333.6 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.3765, allocations: 190.7 kB / 333.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3765, allocations: 1.125 kB / 333.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.3766, allocations: 5.156 kB / 333.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3767, allocations: 56.19 kB / 333.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3768, allocations: 1.156 kB / 333.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3768, allocations: 0 / 333.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3768, allocations: 4.906 kB / 333.9 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.377, allocations: 31.67 kB / 333.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.3774, allocations: 295.8 kB / 334.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.3777, allocations: 44.05 kB / 334.2 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.3777, allocations: 10.09 kB / 334.2 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.3778, allocations: 31.81 kB / 334.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.3778, allocations: 0 / 334.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008303/0.3786, allocations: 173.6 kB / 334.4 MB, free: 4.438 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.3786, allocations: 53.03 kB / 334.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.3789, allocations: 217.1 kB / 334.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3789, allocations: 31.14 kB / 334.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.379, allocations: 165 kB / 334.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.379, allocations: 15.25 kB / 334.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.3791, allocations: 0 / 334.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.288e-05/0.3791, allocations: 317.2 kB / 335.2 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3793, allocations: 30.27 kB / 335.2 MB, free: 3.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3795, allocations: 26.16 kB / 335.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3796, allocations: 56.08 kB / 335.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3796, allocations: 0 / 335.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003554/0.38, allocations: 121.4 kB / 335.4 MB, free: 3.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.3801, allocations: 33.06 kB / 335.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.3801, allocations: 288 / 335.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3801, allocations: 3.938 kB / 335.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3802, allocations: 18.5 kB / 335.5 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3802, allocations: 1.406 kB / 335.5 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.3803, allocations: 11.14 kB / 335.5 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3803, allocations: 1.156 kB / 335.5 MB, free: 3.547 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.0001065/0.3805, allocations: 129.8 kB / 335.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3805, allocations: 14.27 kB / 335.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.3809, allocations: 112.9 kB / 335.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3809, allocations: 0.8438 kB / 335.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3809, allocations: 7.875 kB / 335.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.381, allocations: 2.062 kB / 335.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.3815, allocations: 366.3 kB / 336.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3816, allocations: 1.062 kB / 336.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3817, allocations: 13.58 kB / 336.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3817, allocations: 1.188 kB / 336.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3817, allocations: 4.938 kB / 336.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3817, allocations: 5.156 kB / 336.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3817, allocations: 8.562 kB / 336.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.3821, allocations: 193.6 kB / 336.4 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.3821, allocations: 85.08 kB / 336.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3822, allocations: 6.031 kB / 336.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3823, allocations: 6.906 kB / 336.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.3823, allocations: 7.297 kB / 336.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/0.3824, allocations: 6.766 kB / 336.5 MB, free: 2.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.3826, allocations: 164.2 kB / 336.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3826, allocations: 0 / 336.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003129/0.3829, allocations: 19.59 kB / 336.6 MB, free: 2.637 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.001098/0.384, allocations: 0.8735 MB / 337.5 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.3844, allocations: 119.7 kB / 337.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3844, allocations: 0 / 337.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.3846, allocations: 34.2 kB / 337.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3848, allocations: 8.828 kB / 337.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.3857, allocations: 0.5001 MB / 338.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3859, allocations: 0.7138 MB / 338.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.386, allocations: 31.31 kB / 338.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.386, allocations: 0 / 338.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.757/3.143, allocations: 1.867 MB / 340.8 MB, free: 15.86 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5_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[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[1],t_new.verboseRead,t_new.y[1],time