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.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 234.9 MB / 250.5 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004151, allocations: 8 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3483, allocations: 54.86 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002304/0.3507, allocations: 1.223 MB / 370.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006775/0.3514, allocations: 253.3 kB / 370.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.3515, allocations: 0 / 370.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.3518, allocations: 95.72 kB / 370.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.352, allocations: 59.92 kB / 370.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.3522, allocations: 31.89 kB / 370.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3523, allocations: 55.86 kB / 371 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.3524, allocations: 12 kB / 371 MB, free: 9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.3525, allocations: 31.91 kB / 371 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.3527, allocations: 47.88 kB / 371.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3527, allocations: 0 / 371.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.321e-05/0.3528, allocations: 15.94 kB / 371.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.3528, allocations: 19.92 kB / 371.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.3529, allocations: 37.64 kB / 371.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.3531, allocations: 59.91 kB / 371.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.3531, allocations: 4 kB / 371.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3531, allocations: 0 / 371.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3531, allocations: 0 / 371.2 MB, free: 8.781 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.0005539/0.3537, allocations: 417.6 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3537, allocations: 12.03 kB / 371.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.3538, allocations: 30.56 kB / 371.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3538, allocations: 11.86 kB / 371.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3541, allocations: 199.6 kB / 371.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3541, allocations: 0 / 371.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.3541, allocations: 11.91 kB / 371.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3543, allocations: 61.5 kB / 371.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3543, allocations: 0 / 371.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3544, allocations: 0 / 371.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3544, allocations: 0 / 371.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.3545, allocations: 27.94 kB / 372 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.355, allocations: 285 kB / 372.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.3552, allocations: 50.48 kB / 372.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3553, allocations: 0 / 372.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3553, allocations: 30.56 kB / 372.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.376e-06/0.3553, allocations: 4 kB / 372.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008146/0.3562, allocations: 173.2 kB / 372.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3562, allocations: 55.41 kB / 372.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.3566, allocations: 234.3 kB / 372.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3566, allocations: 25.7 kB / 372.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3567, allocations: 162.6 kB / 373 MB, free: 6.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.3568, allocations: 31.62 kB / 373 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.3568, allocations: 0 / 373 MB, free: 6.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3569, allocations: 310.8 kB / 373.3 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.3571, allocations: 27.98 kB / 373.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3572, allocations: 24.05 kB / 373.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3574, allocations: 57.81 kB / 373.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3574, allocations: 0 / 373.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003544/0.3578, allocations: 119.3 kB / 373.5 MB, free: 6.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.3578, allocations: 33.7 kB / 373.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3579, allocations: 7.938 kB / 373.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3579, allocations: 0 / 373.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.358, allocations: 12 kB / 373.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.358, allocations: 3.984 kB / 373.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.3581, allocations: 7.984 kB / 373.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3581, allocations: 8 kB / 373.6 MB, free: 6.152 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.0001353/0.3583, allocations: 129.8 kB / 373.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.3583, allocations: 7.906 kB / 373.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.3587, allocations: 106.6 kB / 373.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.3587, allocations: 7.953 kB / 373.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3587, allocations: 3.938 kB / 373.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3588, allocations: 0 / 373.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.3594, allocations: 362.5 kB / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3594, allocations: 0 / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.3595, allocations: 19.94 kB / 374.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3595, allocations: 3.953 kB / 374.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3596, allocations: 3.984 kB / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3596, allocations: 0 / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3596, allocations: 3.938 kB / 374.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.36, allocations: 187.6 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.36, allocations: 85.02 kB / 374.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3601, allocations: 7.938 kB / 374.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3602, allocations: 12 kB / 374.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3602, allocations: 0 / 374.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3603, allocations: 4 kB / 374.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.3605, allocations: 175.2 kB / 374.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3605, allocations: 4 kB / 374.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003193/0.3608, allocations: 12 kB / 374.7 MB, free: 4.938 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.3622, allocations: 0.9158 MB / 375.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.3626, allocations: 115.4 kB / 375.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3626, allocations: 4 kB / 375.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.3628, allocations: 27.92 kB / 375.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3631, allocations: 11.94 kB / 375.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.364, allocations: 0.5064 MB / 376.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3644, allocations: 0.7121 MB / 377 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.935e-05/0.3645, allocations: 23.44 kB / 377 MB, free: 2.574 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3645, allocations: 0 / 377 MB, free: 2.574 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.36/2.724, allocations: 1.938 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.Test28_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_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