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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 234.9 MB / 250.5 MB, free: 10.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004206, allocations: 12 kB / 314.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3298, allocations: 54.88 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002339/0.3322, allocations: 1.223 MB / 370.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006782/0.333, allocations: 249.3 kB / 370.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.333, allocations: 0 / 370.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.3333, allocations: 91.73 kB / 370.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.3335, allocations: 51.86 kB / 370.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.3337, allocations: 23.97 kB / 370.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.3339, allocations: 59.86 kB / 371 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.334, allocations: 4 kB / 371 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.3341, allocations: 31.91 kB / 371 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3342, allocations: 35.89 kB / 371 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3342, allocations: 7.938 kB / 371 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.3343, allocations: 11.98 kB / 371.1 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.3344, allocations: 19.92 kB / 371.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.3344, allocations: 37.64 kB / 371.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.3346, allocations: 59.92 kB / 371.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.3346, allocations: 0 / 371.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3346, allocations: 0 / 371.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3346, allocations: 0 / 371.2 MB, free: 8.93 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.0005491/0.3352, allocations: 413.6 kB / 371.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3352, allocations: 8.031 kB / 371.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.3353, allocations: 30.56 kB / 371.6 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3353, allocations: 11.86 kB / 371.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3355, allocations: 194.9 kB / 371.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3356, allocations: 7.938 kB / 371.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3356, allocations: 7.938 kB / 371.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3358, allocations: 49.67 kB / 371.9 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3358, allocations: 7.938 kB / 371.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3358, allocations: 0 / 371.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3359, allocations: 0 / 371.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.336, allocations: 27.94 kB / 371.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.3365, allocations: 277 kB / 372.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.3368, allocations: 46.5 kB / 372.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3368, allocations: 4 kB / 372.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3368, allocations: 34.64 kB / 372.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.3369, allocations: 4 kB / 372.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008214/0.3377, allocations: 165.1 kB / 372.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3377, allocations: 55.41 kB / 372.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.3381, allocations: 218 kB / 372.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3381, allocations: 29.7 kB / 372.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.3382, allocations: 162.6 kB / 372.9 MB, free: 7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3383, allocations: 19.7 kB / 372.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/0.3383, allocations: 0 / 372.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3384, allocations: 310.8 kB / 373.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3385, allocations: 27.98 kB / 373.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3387, allocations: 23.98 kB / 373.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3388, allocations: 53.69 kB / 373.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3389, allocations: 0 / 373.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003575/0.3392, allocations: 123.3 kB / 373.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.3393, allocations: 33.69 kB / 373.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3393, allocations: 3.953 kB / 373.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3393, allocations: 0 / 373.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3394, allocations: 12 kB / 373.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3395, allocations: 0 / 373.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.3396, allocations: 15.98 kB / 373.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3396, allocations: 0 / 373.5 MB, free: 6.355 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.0001312/0.3397, allocations: 129.8 kB / 373.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.3398, allocations: 7.906 kB / 373.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.3402, allocations: 113.8 kB / 373.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3402, allocations: 3.953 kB / 373.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3402, allocations: 320 / 373.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3402, allocations: 0 / 373.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.3408, allocations: 358.5 kB / 374.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3409, allocations: 0 / 374.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.341, allocations: 24.22 kB / 374.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.341, allocations: 3.953 kB / 374.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.341, allocations: 0 / 374.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.341, allocations: 0 / 374.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.341, allocations: 4 kB / 374.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.3414, allocations: 195.3 kB / 374.3 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.3415, allocations: 81.02 kB / 374.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3415, allocations: 7.953 kB / 374.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3416, allocations: 7.984 kB / 374.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.3417, allocations: 0 / 374.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3417, allocations: 8 kB / 374.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.3419, allocations: 163.2 kB / 374.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3419, allocations: 4 kB / 374.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.3423, allocations: 16 kB / 374.6 MB, free: 5.148 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.001381/0.3437, allocations: 0.9062 MB / 375.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.3441, allocations: 115.3 kB / 375.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.3441, allocations: 0 / 375.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3442, allocations: 31.92 kB / 375.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.3445, allocations: 19.88 kB / 375.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.3455, allocations: 0.4903 MB / 376.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3458, allocations: 0.7082 MB / 376.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.3459, allocations: 27.42 kB / 376.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.3459, allocations: 0 / 376.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.513/2.859, allocations: 1.846 MB / 378.7 MB, free: 0.9531 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_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[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,t_new.verboseRead,t_new.y[1],time