Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.256/2.256, allocations: 234.9 MB / 250.4 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004226, allocations: 12 kB / 314.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3488, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.00233/0.3512, allocations: 1.277 MB / 370.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007361/0.3519, allocations: 293.1 kB / 370.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.352, allocations: 0 / 370.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.3522, allocations: 19.91 kB / 370.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3523, allocations: 19.92 kB / 370.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.3525, allocations: 39.89 kB / 370.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.3526, allocations: 43.88 kB / 371 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.3527, allocations: 16 kB / 371 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.3528, allocations: 31.89 kB / 371 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.881e-05/0.3529, allocations: 31.84 kB / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.3529, allocations: 4 kB / 371 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3531, allocations: 31.92 kB / 371.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.3531, allocations: 15.92 kB / 371.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.3532, allocations: 29.7 kB / 371.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3534, allocations: 71.88 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3534, allocations: 0 / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.696e-06/0.3534, allocations: 4 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3534, allocations: 0 / 371.2 MB, free: 10.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007021/0.3541, allocations: 430.3 kB / 371.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3542, allocations: 12.03 kB / 371.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.3542, allocations: 34.55 kB / 371.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.3543, allocations: 23.73 kB / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.3545, allocations: 186.9 kB / 371.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3545, allocations: 0 / 371.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.3546, allocations: 4 kB / 371.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.355, allocations: 107.3 kB / 372 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.355, allocations: 4 kB / 372 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.355, allocations: 0 / 372 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3551, allocations: 4 kB / 372 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.3557, allocations: 107.8 kB / 372.1 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.3562, allocations: 288.8 kB / 372.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.3566, allocations: 86.52 kB / 372.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3566, allocations: 0 / 372.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.3567, allocations: 38.62 kB / 372.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3567, allocations: 0 / 372.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.00279/0.3595, allocations: 469.3 kB / 372.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.3596, allocations: 81.09 kB / 373 MB, free: 8.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3597, allocations: 132.8 kB / 373.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3597, allocations: 29.7 kB / 373.2 MB, free: 8.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.3598, allocations: 162.7 kB / 373.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.3599, allocations: 23.66 kB / 373.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.3599, allocations: 0 / 373.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.36, allocations: 314.8 kB / 373.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.3606, allocations: 95.92 kB / 373.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.3612, allocations: 109.6 kB / 373.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.3617, allocations: 113.7 kB / 374 MB, free: 7.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3617, allocations: 3.984 kB / 374 MB, free: 7.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001187/0.3629, allocations: 263.2 kB / 374.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.363, allocations: 37.66 kB / 374.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.363, allocations: 4.062 kB / 374.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.363, allocations: 0 / 374.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.3634, allocations: 55.89 kB / 374.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3634, allocations: 0 / 374.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.3637, allocations: 35.97 kB / 374.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.3638, allocations: 8 kB / 374.4 MB, free: 7.379 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 (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.0001228/0.3639, allocations: 113.8 kB / 374.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.364, allocations: 7.906 kB / 374.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.3652, allocations: 241.8 kB / 374.7 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3652, allocations: 0 / 374.7 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3652, allocations: 4 kB / 374.7 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3652, allocations: 0 / 374.7 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.3667, allocations: 0.5022 MB / 375.2 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3667, allocations: 3.953 kB / 375.2 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.3671, allocations: 51.95 kB / 375.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3671, allocations: 0 / 375.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3671, allocations: 4 kB / 375.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.3672, allocations: 0 / 375.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3672, allocations: 0 / 375.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3684, allocations: 327.2 kB / 375.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.3684, allocations: 88.97 kB / 375.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3685, allocations: 4 kB / 375.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.3688, allocations: 31.97 kB / 375.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.3689, allocations: 11.97 kB / 375.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3689, allocations: 12 kB / 375.8 MB, free: 5.883 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.715e-05/0.369, allocations: 95.27 kB / 375.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.369, allocations: 0 / 375.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003486/0.3694, allocations: 28 kB / 375.9 MB, free: 5.762 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 (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.002531/0.3719, allocations: 1.157 MB / 377 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.3732, allocations: 251.2 kB / 377.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3732, allocations: 0 / 377.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.3738, allocations: 103.9 kB / 377.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3741, allocations: 11.98 kB / 377.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008523/0.3749, allocations: 448.6 kB / 377.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3752, allocations: 0.7004 MB / 378.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3754, allocations: 23.44 kB / 378.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3754, allocations: 0 / 378.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.437/2.813, allocations: 2.322 MB / 380.9 MB, free: 0.7383 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat failed! Error: Could not read variable t_new.der(u1) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable t_new.der(u1) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat failed! Error: Could not read variable t_new.der(u2) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable t_new.der(u2) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_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