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.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.182/2.182, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004306, allocations: 15.98 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3278, allocations: 54.86 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002212/0.3301, allocations: 1.219 MB / 370.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.3308, allocations: 253.2 kB / 370.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.3309, allocations: 4 kB / 370.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.3312, allocations: 67.83 kB / 370.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.3314, allocations: 43.88 kB / 370.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.3315, allocations: 31.91 kB / 370.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.3317, allocations: 43.94 kB / 370.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.3318, allocations: 15.94 kB / 370.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.3319, allocations: 31.89 kB / 371 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.332, allocations: 35.91 kB / 371 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.332, allocations: 0 / 371 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.3321, allocations: 19.92 kB / 371 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.3322, allocations: 19.92 kB / 371 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.3322, allocations: 29.7 kB / 371.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3324, allocations: 59.91 kB / 371.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.3324, allocations: 0 / 371.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3324, allocations: 0 / 371.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3324, allocations: 0 / 371.1 MB, free: 8.848 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.000519/0.3329, allocations: 409.6 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.333, allocations: 12.03 kB / 371.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.333, allocations: 34.55 kB / 371.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.3331, allocations: 11.86 kB / 371.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.3333, allocations: 179.5 kB / 371.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3333, allocations: 0 / 371.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3333, allocations: 4 kB / 371.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3335, allocations: 53.69 kB / 371.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3336, allocations: 0 / 371.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3336, allocations: 4 kB / 371.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3336, allocations: 0 / 371.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.3338, allocations: 35.86 kB / 371.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3342, allocations: 292.7 kB / 372.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.3345, allocations: 46.55 kB / 372.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3345, allocations: 4 kB / 372.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3345, allocations: 30.56 kB / 372.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 3.256e-06/0.3345, allocations: 0 / 372.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008044/0.3354, allocations: 165.3 kB / 372.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3354, allocations: 51.41 kB / 372.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.3357, allocations: 201.9 kB / 372.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3357, allocations: 29.7 kB / 372.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3358, allocations: 166.5 kB / 372.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3359, allocations: 15.75 kB / 372.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.3359, allocations: 0 / 372.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.336, allocations: 318.8 kB / 373.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3361, allocations: 19.98 kB / 373.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3363, allocations: 27.98 kB / 373.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3364, allocations: 53.69 kB / 373.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3364, allocations: 4 kB / 373.3 MB, free: 6.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000334/0.3368, allocations: 111.4 kB / 373.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.3368, allocations: 35.73 kB / 373.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3369, allocations: 3.953 kB / 373.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3369, allocations: 0 / 373.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.337, allocations: 15.98 kB / 373.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.337, allocations: 3.938 kB / 373.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.3371, allocations: 11.98 kB / 373.4 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3371, allocations: 4 kB / 373.4 MB, free: 6.301 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.0001161/0.3373, allocations: 125.8 kB / 373.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.3373, allocations: 7.906 kB / 373.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.3377, allocations: 102 kB / 373.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3377, allocations: 3.953 kB / 373.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3377, allocations: 0 / 373.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3377, allocations: 0 / 373.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006287/0.3384, allocations: 358.8 kB / 374 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3384, allocations: 0 / 374 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3385, allocations: 15.98 kB / 374 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3385, allocations: 7.891 kB / 374 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3385, allocations: 8 kB / 374.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3386, allocations: 0 / 374.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3386, allocations: 4 kB / 374.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.3389, allocations: 187.3 kB / 374.2 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.339, allocations: 89 kB / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.339, allocations: 7.953 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3391, allocations: 4 kB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.3392, allocations: 7.922 kB / 374.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.3392, allocations: 4 kB / 374.4 MB, free: 5.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.3394, allocations: 155.1 kB / 374.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3394, allocations: 0 / 374.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.3397, allocations: 8 kB / 374.5 MB, free: 5.125 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.001304/0.341, allocations: 0.9105 MB / 375.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.3414, allocations: 115.4 kB / 375.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3414, allocations: 0 / 375.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.3416, allocations: 27.98 kB / 375.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3418, allocations: 16.48 kB / 375.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008459/0.3427, allocations: 481.1 kB / 376.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.343, allocations: 0.7043 MB / 376.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.3431, allocations: 27.42 kB / 376.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3431, allocations: 4 kB / 376.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.505/2.848, allocations: 1.747 MB / 378.5 MB, free: 1.051 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_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.u,t_new.verboseRead,t_new.y[1],time