Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.057/2.057, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004941, allocations: 16 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3824, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002355/0.3848, allocations: 1.3 MB / 332.6 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009899/0.3858, allocations: 414.7 kB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.3859, allocations: 1.25 kB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.3861, allocations: 24.95 kB / 333 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.3863, allocations: 36.14 kB / 333 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.3866, allocations: 58.55 kB / 333.1 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3867, allocations: 58.48 kB / 333.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.3869, allocations: 8.594 kB / 333.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.3869, allocations: 25.84 kB / 333.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.387, allocations: 32.23 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3871, allocations: 5.219 kB / 333.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3872, allocations: 33.7 kB / 333.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.3873, allocations: 20.7 kB / 333.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.3873, allocations: 37.66 kB / 333.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3875, allocations: 85.69 kB / 333.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3875, allocations: 0 / 333.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3876, allocations: 0 / 333.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3876, allocations: 0 / 333.4 MB, free: 5.395 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004635/0.388, allocations: 425.6 kB / 333.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3881, allocations: 9.562 kB / 333.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.3882, allocations: 35.27 kB / 333.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.3882, allocations: 10.31 kB / 333.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3884, allocations: 196.1 kB / 334.1 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3885, allocations: 1.25 kB / 334.1 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3885, allocations: 7.281 kB / 334.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3887, allocations: 46.89 kB / 334.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3887, allocations: 4.641 kB / 334.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3887, allocations: 0.875 kB / 334.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3887, allocations: 0.9688 kB / 334.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.468e-05/0.3888, allocations: 10.3 kB / 334.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.3892, allocations: 293.8 kB / 334.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3894, allocations: 37.38 kB / 334.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3894, allocations: 9.922 kB / 334.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.3896, allocations: 55.69 kB / 334.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.3896, allocations: 4 kB / 334.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004346/0.3901, allocations: 117 kB / 334.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.3901, allocations: 53.58 kB / 334.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.3904, allocations: 216.5 kB / 334.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3904, allocations: 26.27 kB / 334.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.3905, allocations: 166.5 kB / 335.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3905, allocations: 11.72 kB / 335.1 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.3905, allocations: 4 kB / 335.1 MB, free: 3.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.3906, allocations: 321.6 kB / 335.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.3907, allocations: 23.7 kB / 335.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.3907, allocations: 15.8 kB / 335.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.3908, allocations: 46.91 kB / 335.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3909, allocations: 1.219 kB / 335.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002093/0.3911, allocations: 116.3 kB / 335.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.3911, allocations: 33.08 kB / 335.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3911, allocations: 1.203 kB / 335.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3912, allocations: 1.125 kB / 335.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.3912, allocations: 8.938 kB / 335.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3912, allocations: 4.078 kB / 335.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.3913, allocations: 12.78 kB / 335.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.3913, allocations: 2.203 kB / 335.7 MB, free: 3.297 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001003/0.3914, allocations: 136.4 kB / 335.8 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.3915, allocations: 13.23 kB / 335.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.3915, allocations: 15.72 kB / 335.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3916, allocations: 1.125 kB / 335.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3916, allocations: 2.016 kB / 335.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3916, allocations: 0 / 335.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.3919, allocations: 343.7 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.392, allocations: 1.172 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.392, allocations: 5.75 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.392, allocations: 0 / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.392, allocations: 6.531 kB / 336.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3921, allocations: 1.469 kB / 336.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3921, allocations: 0 / 336.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.3922, allocations: 177.5 kB / 336.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.3923, allocations: 84.58 kB / 336.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.3924, allocations: 2.5 kB / 336.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.3925, allocations: 1.656 kB / 336.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.3925, allocations: 8.484 kB / 336.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3925, allocations: 2.406 kB / 336.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3927, allocations: 156.4 kB / 336.6 MB, free: 2.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.3927, allocations: 0 / 336.6 MB, free: 2.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.3931, allocations: 27.89 kB / 336.6 MB, free: 2.461 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001257/0.3943, allocations: 0.9854 MB / 337.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.3946, allocations: 102.3 kB / 337.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3946, allocations: 4 kB / 337.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.794e-05/0.3946, allocations: 19.98 kB / 337.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3949, allocations: 14.59 kB / 337.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.3957, allocations: 495.9 kB / 338.2 MB, free: 1.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.3959, allocations: 0.7035 MB / 339 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.396, allocations: 28.86 kB / 339 MB, free: 408 kB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.396, allocations: 3.938 kB / 339 MB, free: 404 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.684/3.08, allocations: 2.254 MB / 341.2 MB, free: 15.48 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.verboseRead,t_new.y[1],time