Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004299, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3685, allocations: 48.71 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002559/0.3711, allocations: 1.263 MB / 332.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.3721, allocations: 288.1 kB / 332.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.3722, allocations: 4.125 kB / 332.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.3724, allocations: 11.48 kB / 332.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.3726, allocations: 27.14 kB / 332.9 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.3728, allocations: 32.92 kB / 332.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.373, allocations: 50.19 kB / 332.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3732, allocations: 16.94 kB / 333 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/0.3733, allocations: 31.08 kB / 333 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.3734, allocations: 28.12 kB / 333 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3734, allocations: 3.094 kB / 333 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3736, allocations: 38.11 kB / 333.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.3737, allocations: 9 kB / 333.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.3737, allocations: 40.27 kB / 333.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.374, allocations: 73.17 kB / 333.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.374, allocations: 1.156 kB / 333.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3741, allocations: 4 kB / 333.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3741, allocations: 0 / 333.2 MB, free: 5.512 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008416/0.3749, allocations: 429.9 kB / 333.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.375, allocations: 10.09 kB / 333.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.3751, allocations: 41.12 kB / 333.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.3751, allocations: 8.219 kB / 333.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.3754, allocations: 191 kB / 333.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3754, allocations: 2.219 kB / 333.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.3755, allocations: 6.719 kB / 333.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.3761, allocations: 101.5 kB / 334 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3761, allocations: 0 / 334 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.3761, allocations: 5 kB / 334 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3762, allocations: 1.5 kB / 334 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.377, allocations: 92.11 kB / 334.1 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.3776, allocations: 300.5 kB / 334.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.3782, allocations: 84.36 kB / 334.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.3783, allocations: 0 / 334.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3783, allocations: 32.22 kB / 334.5 MB, free: 4.379 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 3.577e-06/0.3783, allocations: 4 kB / 334.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.004033/0.3824, allocations: 471.1 kB / 334.9 MB, free: 4.262 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3825, allocations: 82.45 kB / 335 MB, free: 4.164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3827, allocations: 132.3 kB / 335.1 MB, free: 4.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3827, allocations: 27.42 kB / 335.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.3828, allocations: 156.8 kB / 335.3 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.3829, allocations: 34.11 kB / 335.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.3829, allocations: 0 / 335.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.383, allocations: 317.4 kB / 335.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007473/0.3837, allocations: 89.47 kB / 335.7 MB, free: 3.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007457/0.3845, allocations: 107.8 kB / 335.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.3852, allocations: 121.9 kB / 336 MB, free: 3.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3853, allocations: 1.266 kB / 336 MB, free: 3.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00159/0.3869, allocations: 255.2 kB / 336.2 MB, free: 3.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.3869, allocations: 35.88 kB / 336.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.387, allocations: 0.8281 kB / 336.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.387, allocations: 1.031 kB / 336.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.3875, allocations: 55.77 kB / 336.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3875, allocations: 0.5625 kB / 336.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.3879, allocations: 40.28 kB / 336.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.388, allocations: 7.641 kB / 336.4 MB, free: 3.273 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 (9): * Single equations (assignments): 8 * 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.0001204/0.3881, allocations: 114.1 kB / 336.5 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.3882, allocations: 12.81 kB / 336.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.3898, allocations: 242.6 kB / 336.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3899, allocations: 1.219 kB / 336.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3899, allocations: 0 / 336.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3899, allocations: 1.953 kB / 336.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.392, allocations: 0.5088 MB / 337.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.392, allocations: 1.062 kB / 337.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.3925, allocations: 44.31 kB / 337.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.3925, allocations: 0 / 337.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3925, allocations: 1.125 kB / 337.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3926, allocations: 2.5 kB / 337.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3926, allocations: 4 kB / 337.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.3942, allocations: 337 kB / 337.6 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.3943, allocations: 87.56 kB / 337.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.3944, allocations: 1.375 kB / 337.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.3948, allocations: 38.33 kB / 337.7 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.3949, allocations: 16.36 kB / 337.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.395, allocations: 3.094 kB / 337.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3951, allocations: 105.2 kB / 337.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.3951, allocations: 0 / 337.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000673/0.3958, allocations: 30.25 kB / 337.9 MB, free: 2.285 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 (8): * Single equations (assignments): 8 * 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.002988/0.3988, allocations: 1.088 MB / 339 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.4004, allocations: 246.2 kB / 339.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4005, allocations: 0 / 339.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.4012, allocations: 105 kB / 339.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.4017, allocations: 17.05 kB / 339.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4028, allocations: 446.2 kB / 339.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.403, allocations: 0.7001 MB / 340.5 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.4032, allocations: 29.05 kB / 340.5 MB, free: 76 kB / 266.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4032, allocations: 1.469 kB / 340.5 MB, free: 76 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.733/3.136, allocations: 2.311 MB / 342.8 MB, free: 14.9 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat failed! Error: Could not read variable t_new.der(u1) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable t_new.der(u1) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat failed! Error: Could not read variable t_new.der(u2) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable t_new.der(u2) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat failed! " Variables in the reference:time,t_new.y,d_t_new.y,ramp.y,ramp1.y,realExpression.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(ramp.y),der(ramp1.y),ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,realExpression.y,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.u1,t_new.u2,t_new.verboseRead,t_new.y,time