Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.174/2.174, allocations: 234.9 MB / 250.4 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.0006379, allocations: 8 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3559, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002313/0.3583, allocations: 1.227 MB / 370.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006829/0.359, allocations: 249.3 kB / 370.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.3591, allocations: 7.938 kB / 370.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.3594, allocations: 103.8 kB / 370.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.3596, allocations: 79.75 kB / 370.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.3598, allocations: 23.97 kB / 370.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.3599, allocations: 59.86 kB / 371 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.3601, allocations: 12 kB / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.3601, allocations: 39.88 kB / 371.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3603, allocations: 55.86 kB / 371.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.3603, allocations: 0 / 371.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.93e-05/0.3604, allocations: 19.94 kB / 371.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.3605, allocations: 23.92 kB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.3605, allocations: 37.64 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3607, allocations: 59.91 kB / 371.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3607, allocations: 4 kB / 371.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3607, allocations: 0 / 371.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3607, allocations: 0 / 371.3 MB, free: 10.76 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.0006547/0.3614, allocations: 425.5 kB / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3615, allocations: 12.03 kB / 371.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.3615, allocations: 38.55 kB / 371.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.3616, allocations: 15.77 kB / 371.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.3619, allocations: 190.8 kB / 371.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3619, allocations: 4 kB / 371.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.3619, allocations: 8 kB / 371.9 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.3622, allocations: 45.69 kB / 372 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3622, allocations: 7.984 kB / 372 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3622, allocations: 3.938 kB / 372 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3622, allocations: 0 / 372 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.3624, allocations: 31.88 kB / 372 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.363, allocations: 292.8 kB / 372.3 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.3633, allocations: 42.55 kB / 372.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3633, allocations: 4 kB / 372.3 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.3634, allocations: 38.64 kB / 372.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.3634, allocations: 7.938 kB / 372.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.001016/0.3644, allocations: 161.2 kB / 372.6 MB, free: 9.273 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3645, allocations: 55.41 kB / 372.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.365, allocations: 263.4 kB / 372.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.365, allocations: 25.7 kB / 372.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3652, allocations: 174.5 kB / 373.1 MB, free: 8.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.3652, allocations: 11.75 kB / 373.1 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.3652, allocations: 4 kB / 373.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3654, allocations: 314.8 kB / 373.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.3656, allocations: 27.98 kB / 373.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3657, allocations: 27.97 kB / 373.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.3659, allocations: 45.7 kB / 373.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.366, allocations: 0 / 373.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004486/0.3664, allocations: 119.4 kB / 373.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.3665, allocations: 29.7 kB / 373.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3665, allocations: 3.953 kB / 373.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3665, allocations: 4 kB / 373.6 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3667, allocations: 19.92 kB / 373.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3667, allocations: 4 kB / 373.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3668, allocations: 8 kB / 373.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3669, allocations: 0 / 373.7 MB, free: 8.09 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.0001656/0.367, allocations: 129.8 kB / 373.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.3671, allocations: 15.81 kB / 373.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.3676, allocations: 106.6 kB / 373.9 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.3676, allocations: 7.953 kB / 373.9 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3676, allocations: 0 / 373.9 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3677, allocations: 0 / 373.9 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/0.3685, allocations: 370.8 kB / 374.3 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3685, allocations: 64 / 374.3 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.3687, allocations: 20 kB / 374.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.3687, allocations: 7.891 kB / 374.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3687, allocations: 0 / 374.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.3687, allocations: 7.969 kB / 374.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3687, allocations: 0 / 374.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.3692, allocations: 195.3 kB / 374.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.3693, allocations: 84.95 kB / 374.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.3694, allocations: 7.953 kB / 374.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.3695, allocations: 11.98 kB / 374.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.3696, allocations: 4 kB / 374.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3696, allocations: 0 / 374.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003261/0.37, allocations: 197.2 kB / 374.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.37, allocations: 4 kB / 374.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005291/0.3705, allocations: 20 kB / 374.8 MB, free: 6.824 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.001805/0.3723, allocations: 0.9044 MB / 375.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.3728, allocations: 119.4 kB / 375.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3728, allocations: 3.938 kB / 375.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.373, allocations: 27.98 kB / 375.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3734, allocations: 16.14 kB / 375.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.3747, allocations: 0.5307 MB / 376.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.3752, allocations: 0.716 MB / 377.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3753, allocations: 31.42 kB / 377.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3753, allocations: 0 / 377.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.533/2.908, allocations: 2.048 MB / 379.2 MB, free: 2.395 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_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(clock.y),der(d_t_new.u),t_new.columns[1],t_new.nout,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,t_new.verboseRead,t_new.y[1],time