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.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.205/2.205, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.000426, allocations: 8 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.33, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002324/0.3324, allocations: 1.219 MB / 370.5 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006702/0.333, allocations: 253.3 kB / 370.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.3331, allocations: 3.938 kB / 370.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3334, allocations: 95.78 kB / 370.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.3336, allocations: 59.84 kB / 370.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.3338, allocations: 27.97 kB / 370.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.334, allocations: 59.86 kB / 371 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.3341, allocations: 8 kB / 371 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.3341, allocations: 31.91 kB / 371 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3343, allocations: 43.88 kB / 371.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3343, allocations: 4 kB / 371.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.3344, allocations: 15.94 kB / 371.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.3345, allocations: 19.92 kB / 371.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.3345, allocations: 33.64 kB / 371.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3347, allocations: 63.91 kB / 371.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.3347, allocations: 0 / 371.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3347, allocations: 4 kB / 371.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.3347, allocations: 4 kB / 371.2 MB, free: 8.766 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.0005267/0.3352, allocations: 421.5 kB / 371.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3353, allocations: 8.031 kB / 371.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.3353, allocations: 30.56 kB / 371.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3354, allocations: 15.86 kB / 371.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.3356, allocations: 199.5 kB / 371.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3356, allocations: 0 / 371.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3357, allocations: 11.91 kB / 371.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3359, allocations: 49.69 kB / 371.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3359, allocations: 0 / 371.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3359, allocations: 0 / 371.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3359, allocations: 3.938 kB / 371.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3361, allocations: 31.94 kB / 372 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.3365, allocations: 284.9 kB / 372.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.3368, allocations: 42.56 kB / 372.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3368, allocations: 4 kB / 372.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3368, allocations: 34.56 kB / 372.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.3369, allocations: 0 / 372.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007867/0.3377, allocations: 169.2 kB / 372.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3377, allocations: 51.41 kB / 372.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.338, allocations: 238.3 kB / 372.8 MB, free: 7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3381, allocations: 29.7 kB / 372.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3382, allocations: 166.6 kB / 373 MB, free: 6.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3382, allocations: 19.64 kB / 373 MB, free: 6.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.3383, allocations: 0 / 373 MB, free: 6.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3384, allocations: 314.8 kB / 373.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3385, allocations: 31.92 kB / 373.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3387, allocations: 23.98 kB / 373.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3388, allocations: 49.69 kB / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3388, allocations: 0 / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003391/0.3392, allocations: 119.4 kB / 373.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.3392, allocations: 33.69 kB / 373.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3393, allocations: 3.953 kB / 373.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3393, allocations: 0 / 373.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3394, allocations: 16 kB / 373.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3394, allocations: 0 / 373.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.3395, allocations: 11.98 kB / 373.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3395, allocations: 8.266 kB / 373.6 MB, free: 6.148 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.0001299/0.3397, allocations: 129.8 kB / 373.7 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3397, allocations: 7.906 kB / 373.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.3401, allocations: 106.6 kB / 373.8 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3401, allocations: 3.953 kB / 373.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3401, allocations: 4 kB / 373.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3401, allocations: 7.938 kB / 373.8 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.3408, allocations: 370.7 kB / 374.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3408, allocations: 3.938 kB / 374.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3409, allocations: 19.98 kB / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3409, allocations: 3.953 kB / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3409, allocations: 0 / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3409, allocations: 0 / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.341, allocations: 4 kB / 374.2 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.3413, allocations: 187.4 kB / 374.4 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.3414, allocations: 92.94 kB / 374.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.3414, allocations: 3.953 kB / 374.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3415, allocations: 4 kB / 374.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3416, allocations: 7.984 kB / 374.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.3416, allocations: 0 / 374.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000228/0.3418, allocations: 175.2 kB / 374.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3418, allocations: 0 / 374.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002969/0.3422, allocations: 19.98 kB / 374.7 MB, free: 4.918 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.001359/0.3435, allocations: 0.9124 MB / 375.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.3439, allocations: 115.3 kB / 375.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3439, allocations: 0 / 375.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.344, allocations: 27.98 kB / 375.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.3443, allocations: 15.94 kB / 375.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009046/0.3452, allocations: 0.5025 MB / 376.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3456, allocations: 0.716 MB / 377 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.3457, allocations: 23.44 kB / 377 MB, free: 2.559 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3457, allocations: 0 / 377 MB, free: 2.559 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.438/2.784, allocations: 1.924 MB / 378.9 MB, free: 0.6328 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_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.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