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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.198/2.198, allocations: 234.9 MB / 250.4 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004299, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3474, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002259/0.3498, allocations: 1.238 MB / 370.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006683/0.3504, allocations: 265.2 kB / 370.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.3505, allocations: 0 / 370.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006794/0.3512, allocations: 431.2 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.3516, allocations: 227.6 kB / 371.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.3518, allocations: 39.84 kB / 371.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.352, allocations: 107.8 kB / 371.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.903e-05/0.3521, allocations: 11.98 kB / 371.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3523, allocations: 103.8 kB / 371.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.3525, allocations: 147.7 kB / 371.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3526, allocations: 0 / 371.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.092e-05/0.3527, allocations: 16 kB / 371.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3528, allocations: 75.73 kB / 371.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.3529, allocations: 65.52 kB / 372 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.3531, allocations: 163.8 kB / 372.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.3531, allocations: 0 / 372.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3532, allocations: 4 kB / 372.1 MB, free: 9.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3532, allocations: 4 kB / 372.1 MB, free: 9.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008029/0.354, allocations: 0.6093 MB / 372.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.354, allocations: 8.031 kB / 372.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.3541, allocations: 34.56 kB / 372.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.3542, allocations: 51.33 kB / 372.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3545, allocations: 259.4 kB / 373.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3545, allocations: 8 kB / 373.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3545, allocations: 0 / 373.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3548, allocations: 61.67 kB / 373.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3548, allocations: 0 / 373.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3548, allocations: 3.938 kB / 373.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3548, allocations: 3.984 kB / 373.2 MB, free: 8.727 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.355, allocations: 35.88 kB / 373.2 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.3555, allocations: 384.7 kB / 373.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3558, allocations: 46.5 kB / 373.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3558, allocations: 0 / 373.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3559, allocations: 34.52 kB / 373.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.3559, allocations: 0 / 373.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008711/0.3568, allocations: 240.2 kB / 373.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.3568, allocations: 51.41 kB / 373.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.358, allocations: 0.8495 MB / 374.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3581, allocations: 29.7 kB / 374.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.3583, allocations: 234.5 kB / 375 MB, free: 6.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3583, allocations: 19.75 kB / 375.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.3583, allocations: 0 / 375.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3585, allocations: 318.8 kB / 375.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3586, allocations: 23.98 kB / 375.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3588, allocations: 32.05 kB / 375.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3589, allocations: 49.69 kB / 375.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3589, allocations: 0 / 375.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003437/0.3593, allocations: 123.3 kB / 375.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.3594, allocations: 37.66 kB / 375.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3594, allocations: 0 / 375.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3594, allocations: 0 / 375.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3595, allocations: 15.98 kB / 375.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3595, allocations: 0 / 375.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.3596, allocations: 8 kB / 375.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3597, allocations: 3.984 kB / 375.7 MB, free: 6.086 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.0002691/0.3599, allocations: 217.7 kB / 375.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.36, allocations: 39.44 kB / 375.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.3605, allocations: 148.8 kB / 376.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3605, allocations: 3.984 kB / 376.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3605, allocations: 4 kB / 376.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3605, allocations: 0 / 376.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/0.3613, allocations: 454.6 kB / 376.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3613, allocations: 3.953 kB / 376.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3614, allocations: 19.98 kB / 376.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3614, allocations: 4 kB / 376.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3614, allocations: 0 / 376.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3614, allocations: 0 / 376.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3615, allocations: 4.25 kB / 376.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.3618, allocations: 227 kB / 376.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.362, allocations: 116.4 kB / 376.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.362, allocations: 0 / 376.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3621, allocations: 11.98 kB / 376.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3622, allocations: 0 / 376.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3622, allocations: 0 / 376.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00092/0.3631, allocations: 0.6433 MB / 377.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3631, allocations: 0 / 377.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.3635, allocations: 27.98 kB / 377.6 MB, free: 4.086 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.001354/0.3649, allocations: 0.9405 MB / 378.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.3652, allocations: 119.4 kB / 378.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3653, allocations: 7.875 kB / 378.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3654, allocations: 31.92 kB / 378.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3657, allocations: 21.89 kB / 378.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.3678, allocations: 1.266 MB / 379.9 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.3684, allocations: 0.8223 MB / 380.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.3686, allocations: 99.39 kB / 380.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3686, allocations: 0 / 380.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.415/2.784, allocations: 6.251 MB / 387.1 MB, free: 10.47 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat failed! Error: Could not read variable t_new.der(u2) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat. Warning: Get data of variable t_new.der(u2) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat failed! " Variables in the reference:time,t_new.y,d_t_new.y,clock.y,const.y Variables in the result:clock.offset,clock.startTime,clock.y,const.k,const.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,10],t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[1,4],t_new.table[1,5],t_new.table[1,6],t_new.table[1,7],t_new.table[1,8],t_new.table[1,9],t_new.table[10,10],t_new.table[10,1],t_new.table[10,2],t_new.table[10,3],t_new.table[10,4],t_new.table[10,5],t_new.table[10,6],t_new.table[10,7],t_new.table[10,8],t_new.table[10,9],t_new.table[11,10],t_new.table[11,1],t_new.table[11,2],t_new.table[11,3],t_new.table[11,4],t_new.table[11,5],t_new.table[11,6],t_new.table[11,7],t_new.table[11,8],t_new.table[11,9],t_new.table[12,10],t_new.table[12,1],t_new.table[12,2],t_new.table[12,3],t_new.table[12,4],t_new.table[12,5],t_new.table[12,6],t_new.table[12,7],t_new.table[12,8],t_new.table[12,9],t_new.table[2,10],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[2,4],t_new.table[2,5],t_new.table[2,6],t_new.table[2,7],t_new.table[2,8],t_new.table[2,9],t_new.table[3,10],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[3,4],t_new.table[3,5],t_new.table[3,6],t_new.table[3,7],t_new.table[3,8],t_new.table[3,9],t_new.table[4,10],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[4,4],t_new.table[4,5],t_new.table[4,6],t_new.table[4,7],t_new.table[4,8],t_new.table[4,9],t_new.table[5,10],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.table[5,4],t_new.table[5,5],t_new.table[5,6],t_new.table[5,7],t_new.table[5,8],t_new.table[5,9],t_new.table[6,10],t_new.table[6,1],t_new.table[6,2],t_new.table[6,3],t_new.table[6,4],t_new.table[6,5],t_new.table[6,6],t_new.table[6,7],t_new.table[6,8],t_new.table[6,9],t_new.table[7,10],t_new.table[7,1],t_new.table[7,2],t_new.table[7,3],t_new.table[7,4],t_new.table[7,5],t_new.table[7,6],t_new.table[7,7],t_new.table[7,8],t_new.table[7,9],t_new.table[8,10],t_new.table[8,1],t_new.table[8,2],t_new.table[8,3],t_new.table[8,4],t_new.table[8,5],t_new.table[8,6],t_new.table[8,7],t_new.table[8,8],t_new.table[8,9],t_new.table[9,10],t_new.table[9,1],t_new.table[9,2],t_new.table[9,3],t_new.table[9,4],t_new.table[9,5],t_new.table[9,6],t_new.table[9,7],t_new.table[9,8],t_new.table[9,9],t_new.u1,t_new.u2,t_new.verboseRead,t_new.y,time