Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004329, allocations: 8 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3665, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002211/0.3688, allocations: 1.196 MB / 332.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006138/0.3694, allocations: 250.8 kB / 332.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.3695, allocations: 1.219 kB / 332.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.3697, allocations: 17.45 kB / 332.7 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.3699, allocations: 19.56 kB / 332.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.3701, allocations: 36.09 kB / 332.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3702, allocations: 35.7 kB / 332.8 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3703, allocations: 15.41 kB / 332.8 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.3704, allocations: 17.84 kB / 332.9 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.3705, allocations: 16.78 kB / 332.9 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3705, allocations: 1.594 kB / 332.9 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.3706, allocations: 24.62 kB / 332.9 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.3707, allocations: 6.875 kB / 332.9 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.3707, allocations: 36.52 kB / 332.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3709, allocations: 48.2 kB / 333 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.3709, allocations: 0 / 333 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3709, allocations: 0 / 333 MB, free: 5.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3709, allocations: 0 / 333 MB, free: 5.617 MB / 266.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.0004507/0.3714, allocations: 394.2 kB / 333.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3714, allocations: 9.969 kB / 333.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.3715, allocations: 35.12 kB / 333.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.3715, allocations: 9.609 kB / 333.4 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.3717, allocations: 186.1 kB / 333.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3717, allocations: 5.578 kB / 333.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3717, allocations: 6.25 kB / 333.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3719, allocations: 46.33 kB / 333.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.372, allocations: 5.578 kB / 333.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.372, allocations: 0 / 333.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.372, allocations: 1.469 kB / 333.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.3722, allocations: 33.66 kB / 333.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.3725, allocations: 274 kB / 334 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.3728, allocations: 50.44 kB / 334 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.3728, allocations: 5.25 kB / 334 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.3729, allocations: 31.31 kB / 334.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.3729, allocations: 0 / 334.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007996/0.3737, allocations: 156.5 kB / 334.2 MB, free: 4.465 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.3737, allocations: 53.23 kB / 334.3 MB, free: 4.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3739, allocations: 165.1 kB / 334.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.3739, allocations: 25.7 kB / 334.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.374, allocations: 160.5 kB / 334.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.374, allocations: 11.75 kB / 334.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.374, allocations: 8 kB / 334.6 MB, free: 4.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.3741, allocations: 313.2 kB / 334.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3742, allocations: 23.98 kB / 335 MB, free: 3.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3744, allocations: 23.64 kB / 335 MB, free: 3.758 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3745, allocations: 58.06 kB / 335 MB, free: 3.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3745, allocations: 1.438 kB / 335 MB, free: 3.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003383/0.3749, allocations: 115.7 kB / 335.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.3749, allocations: 33.33 kB / 335.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.375, allocations: 0 / 335.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.375, allocations: 0 / 335.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3751, allocations: 19.7 kB / 335.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3751, allocations: 0 / 335.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.3752, allocations: 11.53 kB / 335.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3752, allocations: 1.25 kB / 335.2 MB, free: 3.598 MB / 266.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 8.769e-05/0.3753, allocations: 118.1 kB / 335.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.3754, allocations: 8.359 kB / 335.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.3758, allocations: 111 kB / 335.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.3758, allocations: 288 / 335.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3758, allocations: 1.375 kB / 335.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3758, allocations: 4.688 kB / 335.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.3763, allocations: 365.5 kB / 335.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3764, allocations: 384 / 335.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3765, allocations: 18.48 kB / 335.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3765, allocations: 5.125 kB / 335.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.3765, allocations: 3.938 kB / 335.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3765, allocations: 1.766 kB / 335.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3765, allocations: 3.953 kB / 335.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3769, allocations: 189.1 kB / 336 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.3769, allocations: 81.41 kB / 336.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3769, allocations: 0 / 336.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3771, allocations: 7.828 kB / 336.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3771, allocations: 7.359 kB / 336.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.3771, allocations: 6.703 kB / 336.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.3773, allocations: 128.6 kB / 336.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3773, allocations: 0 / 336.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003115/0.3776, allocations: 15.44 kB / 336.3 MB, free: 2.703 MB / 266.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.001075/0.3787, allocations: 0.8585 MB / 337.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.3791, allocations: 115.4 kB / 337.2 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3792, allocations: 0 / 337.2 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3793, allocations: 31.06 kB / 337.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3796, allocations: 6.234 kB / 337.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.3804, allocations: 442.7 kB / 337.7 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.3806, allocations: 0.6987 MB / 338.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.3807, allocations: 28.94 kB / 338.4 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3807, allocations: 0 / 338.4 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.619/2.999, allocations: 1.583 MB / 340 MB, free: 224 kB / 266.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.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(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.u,t_new.verboseRead,t_new.y[1],time