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.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.16/2.16, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004151, allocations: 8 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3268, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002279/0.3291, allocations: 1.239 MB / 370.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.3298, allocations: 261.2 kB / 370.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.3299, allocations: 4 kB / 370.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.3302, allocations: 75.81 kB / 370.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.3304, allocations: 63.84 kB / 370.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.3305, allocations: 23.92 kB / 370.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3307, allocations: 59.92 kB / 371 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3308, allocations: 15.98 kB / 371 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.3309, allocations: 35.89 kB / 371 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.331, allocations: 35.84 kB / 371.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.3311, allocations: 4 kB / 371.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.3312, allocations: 23.92 kB / 371.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.3312, allocations: 23.92 kB / 371.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.3313, allocations: 37.64 kB / 371.2 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.3315, allocations: 67.89 kB / 371.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3315, allocations: 0 / 371.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3315, allocations: 0 / 371.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.3315, allocations: 0 / 371.2 MB, free: 8.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005357/0.332, allocations: 417.6 kB / 371.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3321, allocations: 8.031 kB / 371.6 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.3321, allocations: 50.48 kB / 371.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3322, allocations: 11.86 kB / 371.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.3324, allocations: 186.9 kB / 371.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3324, allocations: 0 / 371.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.3325, allocations: 11.94 kB / 371.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3327, allocations: 79.31 kB / 372 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3328, allocations: 7.906 kB / 372 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3328, allocations: 12 kB / 372 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3328, allocations: 3.953 kB / 372 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.333, allocations: 39.91 kB / 372 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3336, allocations: 397 kB / 372.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.334, allocations: 93.06 kB / 372.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.334, allocations: 4.172 kB / 372.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3341, allocations: 34.52 kB / 372.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.3341, allocations: 4 kB / 372.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001097/0.3352, allocations: 257.2 kB / 372.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.3353, allocations: 81.11 kB / 372.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.3356, allocations: 219.3 kB / 373.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3356, allocations: 29.7 kB / 373.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/0.3357, allocations: 166.5 kB / 373.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3358, allocations: 31.47 kB / 373.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.3358, allocations: 8 kB / 373.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3359, allocations: 314.8 kB / 373.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.3361, allocations: 39.98 kB / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3363, allocations: 39.97 kB / 373.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.3365, allocations: 73.61 kB / 373.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3365, allocations: 3.938 kB / 373.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004455/0.3369, allocations: 159.3 kB / 374 MB, free: 5.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.337, allocations: 29.7 kB / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.337, allocations: 0 / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.337, allocations: 0 / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.3372, allocations: 24.12 kB / 374 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3372, allocations: 0 / 374 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.3373, allocations: 19.98 kB / 374 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3374, allocations: 0 / 374 MB, free: 5.66 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 (11): * Single equations (assignments): 10 * 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.0001438/0.3375, allocations: 137.8 kB / 374.2 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.3376, allocations: 23.69 kB / 374.2 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005226/0.3381, allocations: 162.5 kB / 374.3 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3381, allocations: 4 kB / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3381, allocations: 0 / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3382, allocations: 0 / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.3391, allocations: 0.5141 MB / 374.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3391, allocations: 0 / 374.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.3393, allocations: 28.23 kB / 374.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3393, allocations: 3.938 kB / 374.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3393, allocations: 8 kB / 374.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3394, allocations: 0 / 374.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3394, allocations: 4 kB / 374.9 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.3399, allocations: 311.5 kB / 375.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.3399, allocations: 88.92 kB / 375.3 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.34, allocations: 8 kB / 375.3 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.3401, allocations: 11.98 kB / 375.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.3402, allocations: 7.984 kB / 375.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3402, allocations: 8 kB / 375.3 MB, free: 4.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001974/0.3404, allocations: 163.9 kB / 375.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3404, allocations: 0 / 375.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.3408, allocations: 16 kB / 375.5 MB, free: 4.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001463/0.3423, allocations: 1.038 MB / 376.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.3428, allocations: 155.3 kB / 376.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.3428, allocations: 0 / 376.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.343, allocations: 51.92 kB / 376.7 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.3433, allocations: 12.2 kB / 376.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3444, allocations: 0.5705 MB / 377.3 MB, free: 2.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3448, allocations: 0.7238 MB / 378 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3449, allocations: 35.42 kB / 378.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3449, allocations: 0 / 378.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.479/2.824, allocations: 2.207 MB / 380.3 MB, free: 15.23 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4_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(d_t_new.u),der(d_t_new2.u),der(t_new.u[1]),der(t_new.u[2]),t_new.columns[1],t_new.columns[2],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.u[2],t_new.verboseRead,t_new.y[1],t_new.y[2],time