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.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.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.188/2.188, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004399, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3311, allocations: 54.87 MB / 369.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.002179/0.3333, allocations: 1.212 MB / 370.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006543/0.334, allocations: 257.2 kB / 370.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.3341, allocations: 0 / 370.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.3343, allocations: 19.91 kB / 370.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3344, allocations: 23.91 kB / 370.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.3346, allocations: 27.92 kB / 370.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.3347, allocations: 43.88 kB / 370.9 MB, free: 9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.3348, allocations: 16 kB / 370.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.3349, allocations: 15.92 kB / 370.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.335, allocations: 15.92 kB / 370.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.335, allocations: 0 / 370.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.3351, allocations: 15.94 kB / 370.9 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.3351, allocations: 19.91 kB / 370.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.3352, allocations: 29.7 kB / 371 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3353, allocations: 55.92 kB / 371 MB, free: 8.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.3353, allocations: 4 kB / 371 MB, free: 8.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3354, allocations: 0 / 371 MB, free: 8.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.3354, allocations: 0 / 371 MB, free: 8.824 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.000486/0.3359, allocations: 385.8 kB / 371.4 MB, free: 8.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3359, allocations: 15.97 kB / 371.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.336, allocations: 30.56 kB / 371.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.336, allocations: 11.89 kB / 371.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.3362, allocations: 182.9 kB / 371.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3362, allocations: 0 / 371.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3363, allocations: 7.984 kB / 371.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3365, allocations: 53.69 kB / 371.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3365, allocations: 4 kB / 371.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3365, allocations: 0 / 371.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3365, allocations: 0 / 371.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.3367, allocations: 27.94 kB / 371.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.3372, allocations: 296.7 kB / 372 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.3374, allocations: 46.56 kB / 372.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3375, allocations: 0 / 372.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3375, allocations: 34.56 kB / 372.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.3375, allocations: 0 / 372.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008213/0.3383, allocations: 173.3 kB / 372.3 MB, free: 7.398 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.3384, allocations: 55.41 kB / 372.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.3386, allocations: 156 kB / 372.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3386, allocations: 25.7 kB / 372.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.3387, allocations: 162.5 kB / 372.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.3388, allocations: 19.8 kB / 372.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.3388, allocations: 0 / 372.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3389, allocations: 310.8 kB / 373 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.339, allocations: 39.91 kB / 373 MB, free: 6.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3392, allocations: 27.98 kB / 373 MB, free: 6.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3393, allocations: 49.69 kB / 373.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3394, allocations: 0 / 373.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003598/0.3397, allocations: 127.4 kB / 373.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.3398, allocations: 29.7 kB / 373.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3398, allocations: 7.938 kB / 373.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3398, allocations: 4 kB / 373.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.34, allocations: 15.98 kB / 373.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.34, allocations: 0 / 373.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.3401, allocations: 8 kB / 373.3 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3401, allocations: 0 / 373.3 MB, free: 6.32 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.000109/0.3402, allocations: 125.8 kB / 373.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.3402, allocations: 7.906 kB / 373.4 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.3406, allocations: 110 kB / 373.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3407, allocations: 3.953 kB / 373.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3407, allocations: 0 / 373.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3407, allocations: 0 / 373.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.3413, allocations: 362.7 kB / 373.9 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3413, allocations: 8.062 kB / 373.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3415, allocations: 19.98 kB / 373.9 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.3415, allocations: 11.89 kB / 373.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3415, allocations: 0 / 373.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3415, allocations: 0 / 373.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3415, allocations: 288 / 373.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3419, allocations: 195.4 kB / 374.1 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.3419, allocations: 85 kB / 374.2 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.342, allocations: 7.953 kB / 374.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3421, allocations: 11.98 kB / 374.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.3422, allocations: 0 / 374.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.3422, allocations: 4 kB / 374.2 MB, free: 5.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.3423, allocations: 125.4 kB / 374.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3423, allocations: 4 kB / 374.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.3426, allocations: 12 kB / 374.3 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.001342/0.344, allocations: 0.9116 MB / 375.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003667/0.3444, allocations: 115.3 kB / 375.4 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3444, allocations: 0 / 375.4 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3445, allocations: 31.97 kB / 375.4 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3448, allocations: 19.89 kB / 375.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000784/0.3456, allocations: 440.2 kB / 375.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3459, allocations: 0.7043 MB / 376.6 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.346, allocations: 23.42 kB / 376.6 MB, free: 2.859 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.346, allocations: 4 kB / 376.6 MB, free: 2.855 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.416/2.762, allocations: 1.631 MB / 378.2 MB, free: 1.223 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.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(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[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u[1],t_new.verboseRead,t_new.y[1],time