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.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.183/2.183, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.000416, allocations: 8 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3231, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002279/0.3254, allocations: 1.216 MB / 370.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006588/0.3261, allocations: 257.2 kB / 370.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.3262, allocations: 0 / 370.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.3265, allocations: 75.77 kB / 370.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.3266, allocations: 39.94 kB / 370.9 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.3268, allocations: 31.91 kB / 370.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.327, allocations: 47.88 kB / 370.9 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.3271, allocations: 11.98 kB / 370.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.818e-05/0.3272, allocations: 31.91 kB / 371 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3273, allocations: 39.83 kB / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3273, allocations: 0 / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.759e-05/0.3274, allocations: 19.98 kB / 371 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.3275, allocations: 11.98 kB / 371 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.3275, allocations: 37.64 kB / 371.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.3277, allocations: 51.92 kB / 371.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.3277, allocations: 4 kB / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3277, allocations: 0 / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3277, allocations: 0 / 371.1 MB, free: 8.82 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.0005937/0.3283, allocations: 405.7 kB / 371.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3284, allocations: 8.031 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.3285, allocations: 38.48 kB / 371.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.3285, allocations: 15.8 kB / 371.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.3288, allocations: 183.5 kB / 371.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3288, allocations: 4 kB / 371.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3288, allocations: 0 / 371.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.329, allocations: 57.69 kB / 371.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.329, allocations: 0 / 371.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3291, allocations: 0 / 371.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3291, allocations: 7.984 kB / 371.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.3293, allocations: 31.92 kB / 371.9 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.3297, allocations: 284.7 kB / 372.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.33, allocations: 46.56 kB / 372.2 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.33, allocations: 4 kB / 372.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3301, allocations: 30.56 kB / 372.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.3301, allocations: 0 / 372.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008053/0.3309, allocations: 161.3 kB / 372.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3309, allocations: 55.41 kB / 372.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3312, allocations: 194.5 kB / 372.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3312, allocations: 29.7 kB / 372.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.3313, allocations: 170.5 kB / 372.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.3314, allocations: 15.73 kB / 372.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.3314, allocations: 4 kB / 372.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3315, allocations: 314.8 kB / 373.2 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3316, allocations: 27.92 kB / 373.2 MB, free: 6.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3318, allocations: 27.98 kB / 373.2 MB, free: 6.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3319, allocations: 49.69 kB / 373.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.332, allocations: 0 / 373.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003288/0.3323, allocations: 111.4 kB / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.3323, allocations: 39.73 kB / 373.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3324, allocations: 3.953 kB / 373.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3324, allocations: 4 kB / 373.4 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3325, allocations: 11.98 kB / 373.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3325, allocations: 4 kB / 373.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.3326, allocations: 11.92 kB / 373.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3326, allocations: 0 / 373.4 MB, free: 6.277 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.0001133/0.3327, allocations: 129.8 kB / 373.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.3328, allocations: 7.906 kB / 373.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.3332, allocations: 102 kB / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3332, allocations: 3.953 kB / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3332, allocations: 4 kB / 373.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3332, allocations: 4 kB / 373.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.3338, allocations: 354.8 kB / 374 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3338, allocations: 0 / 374 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3339, allocations: 15.98 kB / 374 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3339, allocations: 3.953 kB / 374 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3339, allocations: 8 kB / 374.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.334, allocations: 0 / 374.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.334, allocations: 0 / 374.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.3343, allocations: 187.3 kB / 374.2 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.3344, allocations: 93 kB / 374.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3344, allocations: 3.953 kB / 374.3 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3345, allocations: 8 kB / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.3346, allocations: 11.92 kB / 374.4 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.3346, allocations: 0 / 374.4 MB, free: 5.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.3348, allocations: 151.1 kB / 374.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.3348, allocations: 0 / 374.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.3351, allocations: 16 kB / 374.5 MB, free: 5.094 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.001294/0.3364, allocations: 0.9066 MB / 375.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.3368, allocations: 115.3 kB / 375.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3368, allocations: 0 / 375.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3369, allocations: 31.97 kB / 375.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.3372, allocations: 15.89 kB / 375.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.338, allocations: 473.2 kB / 376 MB, free: 3.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.3383, allocations: 0.7043 MB / 376.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.3384, allocations: 27.42 kB / 376.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3384, allocations: 4 kB / 376.8 MB, free: 2.777 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.422/2.761, allocations: 1.751 MB / 378.5 MB, free: 1.023 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_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