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.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.157/2.157, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004299, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.336, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002339/0.3384, allocations: 1.227 MB / 370.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006629/0.3392, allocations: 245.3 kB / 370.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.3392, allocations: 0 / 370.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.3394, allocations: 19.91 kB / 370.8 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3396, allocations: 23.91 kB / 370.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.3397, allocations: 31.92 kB / 370.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3399, allocations: 43.88 kB / 370.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.34, allocations: 8 kB / 370.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.3401, allocations: 15.92 kB / 370.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.3401, allocations: 15.94 kB / 370.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3402, allocations: 0 / 370.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.3403, allocations: 19.92 kB / 370.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.3403, allocations: 15.92 kB / 370.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.3404, allocations: 37.69 kB / 371 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3405, allocations: 47.94 kB / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.3405, allocations: 0 / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3405, allocations: 0 / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3405, allocations: 0 / 371 MB, free: 8.949 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.0005056/0.3411, allocations: 393.7 kB / 371.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3411, allocations: 11.97 kB / 371.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.3412, allocations: 34.5 kB / 371.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.3412, allocations: 7.953 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.3414, allocations: 186.9 kB / 371.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3414, allocations: 0 / 371.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3415, allocations: 4 kB / 371.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3416, allocations: 53.67 kB / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3417, allocations: 0 / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.3417, allocations: 0 / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3417, allocations: 0 / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3419, allocations: 35.88 kB / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.3423, allocations: 276.8 kB / 372 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.3426, allocations: 42.56 kB / 372 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3426, allocations: 0 / 372 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3426, allocations: 38.56 kB / 372.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.3426, allocations: 0 / 372.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008019/0.3434, allocations: 165.4 kB / 372.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.3435, allocations: 51.41 kB / 372.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3437, allocations: 160 kB / 372.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3437, allocations: 29.7 kB / 372.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.3438, allocations: 162.4 kB / 372.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.3439, allocations: 15.8 kB / 372.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.3439, allocations: 4 kB / 372.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.344, allocations: 314.8 kB / 373 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3442, allocations: 31.98 kB / 373 MB, free: 6.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3443, allocations: 23.98 kB / 373 MB, free: 6.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3445, allocations: 49.69 kB / 373.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3445, allocations: 0 / 373.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003353/0.3448, allocations: 115.4 kB / 373.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.3449, allocations: 29.7 kB / 373.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.3449, allocations: 3.953 kB / 373.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3449, allocations: 4 kB / 373.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3451, allocations: 11.98 kB / 373.2 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3451, allocations: 4 kB / 373.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.3452, allocations: 15.94 kB / 373.2 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3452, allocations: 0 / 373.2 MB, free: 6.477 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.0001151/0.3453, allocations: 121.8 kB / 373.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.3454, allocations: 7.906 kB / 373.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.3457, allocations: 97.97 kB / 373.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3457, allocations: 3.953 kB / 373.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3458, allocations: 0 / 373.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3458, allocations: 0 / 373.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006165/0.3464, allocations: 354.5 kB / 373.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3464, allocations: 7.938 kB / 373.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3465, allocations: 15.98 kB / 373.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.3465, allocations: 8.547 kB / 373.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3466, allocations: 4 kB / 373.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3466, allocations: 4 kB / 373.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3466, allocations: 0 / 373.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.3469, allocations: 195.3 kB / 374 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.347, allocations: 81.02 kB / 374.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.347, allocations: 3.953 kB / 374.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3472, allocations: 12 kB / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.3472, allocations: 3.984 kB / 374.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.3472, allocations: 4 kB / 374.1 MB, free: 5.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3474, allocations: 129.4 kB / 374.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3474, allocations: 0 / 374.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002938/0.3477, allocations: 12 kB / 374.3 MB, free: 5.332 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.001377/0.3491, allocations: 0.9036 MB / 375.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003516/0.3495, allocations: 111.3 kB / 375.3 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3495, allocations: 4 kB / 375.3 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3496, allocations: 27.98 kB / 375.3 MB, free: 4.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3499, allocations: 15.89 kB / 375.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.3507, allocations: 440.2 kB / 375.8 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.351, allocations: 0.6926 MB / 376.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.3511, allocations: 23.42 kB / 376.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.3511, allocations: 0 / 376.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.467/2.819, allocations: 1.583 MB / 378.1 MB, free: 1.488 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_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[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u,t_new.verboseRead,t_new.y[1],time