Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.031/2.031, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004392, allocations: 12 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3572, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.002342/0.3596, allocations: 1.216 MB / 332.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006712/0.3604, allocations: 263 kB / 332.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.3605, allocations: 0 / 332.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.3608, allocations: 81.38 kB / 332.8 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.361, allocations: 57.64 kB / 332.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.3612, allocations: 28.19 kB / 332.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3614, allocations: 64.53 kB / 333 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3616, allocations: 13.23 kB / 333 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.3617, allocations: 34.22 kB / 333 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3618, allocations: 38.97 kB / 333.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3619, allocations: 14.53 kB / 333.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.362, allocations: 16.31 kB / 333.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.362, allocations: 22.48 kB / 333.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.3621, allocations: 32.64 kB / 333.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3623, allocations: 68.05 kB / 333.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3623, allocations: 1.031 kB / 333.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.576e-06/0.3623, allocations: 0 / 333.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3623, allocations: 3.938 kB / 333.2 MB, free: 5.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005253/0.3629, allocations: 419.8 kB / 333.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3629, allocations: 9.438 kB / 333.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.363, allocations: 37 kB / 333.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.363, allocations: 13.75 kB / 333.7 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.3632, allocations: 188 kB / 333.9 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3632, allocations: 10.75 kB / 333.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.3633, allocations: 2.781 kB / 333.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3635, allocations: 81.7 kB / 334 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3635, allocations: 4 kB / 334 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3636, allocations: 1.594 kB / 334 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3636, allocations: 1.344 kB / 334 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.3638, allocations: 39.42 kB / 334 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.3644, allocations: 405.5 kB / 334.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.3648, allocations: 90.17 kB / 334.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.3648, allocations: 2.125 kB / 334.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.3649, allocations: 40.66 kB / 334.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.856e-06/0.3649, allocations: 3.938 kB / 334.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001134/0.366, allocations: 259 kB / 334.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.3661, allocations: 79.14 kB / 334.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.3664, allocations: 223 kB / 335.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3664, allocations: 27.14 kB / 335.1 MB, free: 3.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.3665, allocations: 173 kB / 335.3 MB, free: 3.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.3666, allocations: 30.39 kB / 335.3 MB, free: 3.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.3666, allocations: 1.344 kB / 335.3 MB, free: 3.742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.3667, allocations: 322 kB / 335.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3668, allocations: 35.95 kB / 335.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.367, allocations: 40.5 kB / 335.7 MB, free: 3.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.3672, allocations: 73.8 kB / 335.8 MB, free: 3.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3672, allocations: 0 / 335.8 MB, free: 3.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004569/0.3677, allocations: 160.5 kB / 335.9 MB, free: 3.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.3678, allocations: 36.11 kB / 336 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3678, allocations: 0 / 336 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3678, allocations: 0 / 336 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.368, allocations: 27.67 kB / 336 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.368, allocations: 4 kB / 336 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.735e-05/0.3681, allocations: 11.48 kB / 336 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3681, allocations: 3.281 kB / 336 MB, free: 3.219 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 (11): * Single equations (assignments): 10 * 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.0001428/0.3683, allocations: 130.8 kB / 336.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.3684, allocations: 10 kB / 336.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/0.3689, allocations: 171.7 kB / 336.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.369, allocations: 1.031 kB / 336.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.369, allocations: 5.75 kB / 336.3 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.369, allocations: 1.031 kB / 336.3 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009078/0.3699, allocations: 0.5172 MB / 336.8 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3699, allocations: 5.984 kB / 336.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.3701, allocations: 21.56 kB / 336.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.3701, allocations: 6.078 kB / 336.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3702, allocations: 2.75 kB / 336.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.3702, allocations: 1.734 kB / 336.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3702, allocations: 9.219 kB / 336.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.3707, allocations: 305 kB / 337.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.3707, allocations: 92.66 kB / 337.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.3708, allocations: 6.734 kB / 337.3 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3709, allocations: 15.16 kB / 337.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.371, allocations: 7.906 kB / 337.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.371, allocations: 3.531 kB / 337.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.3712, allocations: 168.2 kB / 337.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3712, allocations: 1.469 kB / 337.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003875/0.3716, allocations: 14.25 kB / 337.5 MB, free: 2.086 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001294/0.3729, allocations: 0.9803 MB / 338.5 MB, free: 1.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004917/0.3735, allocations: 150.2 kB / 338.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3735, allocations: 4 kB / 338.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.3737, allocations: 51.09 kB / 338.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.3741, allocations: 17.73 kB / 338.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3752, allocations: 0.5722 MB / 339.3 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3755, allocations: 0.7119 MB / 340 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3756, allocations: 42.34 kB / 340 MB, free: 15.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3756, allocations: 0 / 340 MB, free: 15.93 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.181, allocations: 2.191 MB / 342.2 MB, free: 14.9 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat failed! " Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d_t_new.u),der(d_t_new2.u),der(t_new.u[1]),der(t_new.u[2]),t_new.columns[1],t_new.columns[2],t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.u[2],t_new.verboseRead,t_new.y[1],t_new.y[2],time