Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.208/2.208, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004268, allocations: 8 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3274, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.002204/0.3297, allocations: 1.215 MB / 370.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006443/0.3303, allocations: 253.2 kB / 370.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.3304, allocations: 4 kB / 370.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.3306, allocations: 15.92 kB / 370.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.3307, allocations: 27.84 kB / 370.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.3309, allocations: 19.98 kB / 370.8 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.331, allocations: 47.88 kB / 370.9 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.3312, allocations: 15.98 kB / 370.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.3312, allocations: 11.94 kB / 370.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.3313, allocations: 15.92 kB / 370.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3313, allocations: 4 kB / 370.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.889e-05/0.3314, allocations: 15.92 kB / 370.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.3314, allocations: 19.92 kB / 370.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.3315, allocations: 25.7 kB / 371 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.3316, allocations: 59.86 kB / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.3317, allocations: 4 kB / 371 MB, free: 8.945 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3317, allocations: 0 / 371 MB, free: 8.945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.3317, allocations: 0 / 371 MB, free: 8.945 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004633/0.3321, allocations: 392.7 kB / 371.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3322, allocations: 12.02 kB / 371.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.3322, allocations: 30.56 kB / 371.4 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.3323, allocations: 11.95 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.3325, allocations: 179.6 kB / 371.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3325, allocations: 0 / 371.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.3325, allocations: 12 kB / 371.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3327, allocations: 45.69 kB / 371.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3327, allocations: 0 / 371.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.3328, allocations: 3.938 kB / 371.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3328, allocations: 3.984 kB / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.333, allocations: 35.88 kB / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.3334, allocations: 280.9 kB / 372 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.3337, allocations: 50.5 kB / 372.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3337, allocations: 3.938 kB / 372.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3338, allocations: 42.64 kB / 372.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.3338, allocations: 0 / 372.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008273/0.3346, allocations: 173.3 kB / 372.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3347, allocations: 51.41 kB / 372.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3349, allocations: 160 kB / 372.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3349, allocations: 25.7 kB / 372.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.335, allocations: 162.5 kB / 372.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.335, allocations: 19.78 kB / 372.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.3351, allocations: 0 / 372.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3352, allocations: 310.8 kB / 373 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3353, allocations: 35.98 kB / 373 MB, free: 6.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3355, allocations: 23.98 kB / 373 MB, free: 6.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.3356, allocations: 53.69 kB / 373.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3357, allocations: 4 kB / 373.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003568/0.336, allocations: 119.4 kB / 373.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.3361, allocations: 33.7 kB / 373.2 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3361, allocations: 7.891 kB / 373.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3361, allocations: 0 / 373.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3362, allocations: 15.98 kB / 373.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3363, allocations: 0 / 373.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.3363, allocations: 11.98 kB / 373.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3364, allocations: 4 kB / 373.3 MB, free: 6.438 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 (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.0001059/0.3365, allocations: 117.8 kB / 373.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.3365, allocations: 3.906 kB / 373.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.3369, allocations: 114.2 kB / 373.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.337, allocations: 7.891 kB / 373.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.337, allocations: 4 kB / 373.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.337, allocations: 3.984 kB / 373.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.3376, allocations: 358.5 kB / 373.9 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3376, allocations: 4 kB / 373.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3378, allocations: 15.94 kB / 373.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.3378, allocations: 3.953 kB / 373.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3378, allocations: 384 / 373.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3378, allocations: 0 / 373.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3378, allocations: 4 kB / 373.9 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.3382, allocations: 195.4 kB / 374.1 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.3383, allocations: 89 kB / 374.2 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.3383, allocations: 7.953 kB / 374.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3384, allocations: 4 kB / 374.2 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.3385, allocations: 7.984 kB / 374.2 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3385, allocations: 3.938 kB / 374.2 MB, free: 5.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3386, allocations: 129.3 kB / 374.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3386, allocations: 0 / 374.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002943/0.3389, allocations: 16 kB / 374.4 MB, free: 5.27 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 (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.001328/0.3403, allocations: 0.9068 MB / 375.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.3407, allocations: 115.4 kB / 375.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3407, allocations: 0 / 375.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3408, allocations: 39.92 kB / 375.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3411, allocations: 15.94 kB / 375.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007728/0.3419, allocations: 440.2 kB / 375.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3422, allocations: 0.7043 MB / 376.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.3423, allocations: 19.44 kB / 376.6 MB, free: 2.984 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3423, allocations: 0 / 376.6 MB, free: 2.984 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.468/2.81, allocations: 1.633 MB / 378.2 MB, free: 1.352 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12_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