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.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.181/2.181, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.000439, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3296, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.002218/0.3319, allocations: 1.219 MB / 370.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.3326, allocations: 257.3 kB / 370.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.3326, allocations: 4 kB / 370.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.333, allocations: 111.8 kB / 370.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.3332, allocations: 75.77 kB / 370.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.3333, allocations: 23.97 kB / 371 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3335, allocations: 59.86 kB / 371 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.3336, allocations: 15.98 kB / 371 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.3337, allocations: 39.89 kB / 371.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.3338, allocations: 55.86 kB / 371.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3339, allocations: 4 kB / 371.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.979e-05/0.334, allocations: 11.94 kB / 371.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.334, allocations: 27.91 kB / 371.2 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.3341, allocations: 37.64 kB / 371.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.3342, allocations: 67.91 kB / 371.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3342, allocations: 0 / 371.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3343, allocations: 0 / 371.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3343, allocations: 4 kB / 371.3 MB, free: 8.695 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.0005361/0.3348, allocations: 421.5 kB / 371.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3349, allocations: 8.031 kB / 371.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.3349, allocations: 34.56 kB / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.335, allocations: 23.75 kB / 371.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3352, allocations: 186.8 kB / 371.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3352, allocations: 8 kB / 371.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3352, allocations: 0 / 371.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3354, allocations: 57.67 kB / 372 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3355, allocations: 4 kB / 372 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3355, allocations: 0 / 372 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3355, allocations: 3.938 kB / 372 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.3357, allocations: 39.81 kB / 372 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.3362, allocations: 296.9 kB / 372.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.3364, allocations: 42.66 kB / 372.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.3365, allocations: 7.984 kB / 372.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.3365, allocations: 30.56 kB / 372.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 3.517e-06/0.3365, allocations: 4 kB / 372.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000819/0.3373, allocations: 173.1 kB / 372.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3374, allocations: 55.41 kB / 372.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.3378, allocations: 259.4 kB / 372.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3378, allocations: 29.64 kB / 372.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.3379, allocations: 174.5 kB / 373.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3379, allocations: 23.72 kB / 373.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.3379, allocations: 0 / 373.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3381, allocations: 314.8 kB / 373.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3382, allocations: 27.98 kB / 373.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3384, allocations: 27.97 kB / 373.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3385, allocations: 57.69 kB / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3385, allocations: 0 / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000344/0.3389, allocations: 119.4 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.3389, allocations: 33.69 kB / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.339, allocations: 3.953 kB / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.339, allocations: 4 kB / 373.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3391, allocations: 8 kB / 373.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3391, allocations: 11.92 kB / 373.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.3392, allocations: 8 kB / 373.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3392, allocations: 4 kB / 373.7 MB, free: 5.992 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.0001254/0.3394, allocations: 129.8 kB / 373.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.3394, allocations: 15.81 kB / 373.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.3398, allocations: 114.6 kB / 374 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3398, allocations: 11.95 kB / 374 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3398, allocations: 0 / 374 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3398, allocations: 0 / 374 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.3405, allocations: 370.8 kB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3405, allocations: 64 / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3406, allocations: 27.92 kB / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3406, allocations: 3.953 kB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3406, allocations: 0 / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3407, allocations: 0 / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3407, allocations: 0 / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.341, allocations: 203.3 kB / 374.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.3411, allocations: 85.02 kB / 374.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3411, allocations: 11.89 kB / 374.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3413, allocations: 8.266 kB / 374.7 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.3413, allocations: 0 / 374.7 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.3413, allocations: 4 kB / 374.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002315/0.3416, allocations: 197.2 kB / 374.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3416, allocations: 4 kB / 374.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.3419, allocations: 20 kB / 374.9 MB, free: 4.711 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.001315/0.3432, allocations: 0.9158 MB / 375.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000356/0.3436, allocations: 115.4 kB / 375.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3436, allocations: 0 / 375.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3438, allocations: 35.91 kB / 376 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.344, allocations: 16.12 kB / 376 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.345, allocations: 0.5502 MB / 376.5 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.3453, allocations: 0.716 MB / 377.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.3454, allocations: 31.42 kB / 377.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3454, allocations: 0 / 377.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.419/2.764, allocations: 2.087 MB / 379.4 MB, free: 204 kB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test31_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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.verboseRead,t_new.y[1],time