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.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.166/2.166, allocations: 209.2 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005238, allocations: 12 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3659, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002505/0.3685, allocations: 1.288 MB / 332.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3696, allocations: 419.1 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.3697, allocations: 1.031 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.37, allocations: 24.39 kB / 333 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.3702, allocations: 38.81 kB / 333 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.3705, allocations: 63.12 kB / 333.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.3707, allocations: 57.81 kB / 333.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3708, allocations: 10.72 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.849e-05/0.3709, allocations: 24.48 kB / 333.2 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.442e-05/0.371, allocations: 28.78 kB / 333.2 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.371, allocations: 1.219 kB / 333.2 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3712, allocations: 32.84 kB / 333.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.3712, allocations: 21.14 kB / 333.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.3713, allocations: 37.27 kB / 333.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3715, allocations: 86.91 kB / 333.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3716, allocations: 0 / 333.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3716, allocations: 0 / 333.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3716, allocations: 0 / 333.4 MB, free: 5.379 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.0005076/0.3721, allocations: 417.2 kB / 333.8 MB, free: 4.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3722, allocations: 13.98 kB / 333.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.3722, allocations: 36.67 kB / 333.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.3723, allocations: 7.969 kB / 333.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3725, allocations: 212.4 kB / 334.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3725, allocations: 1.406 kB / 334.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3726, allocations: 2.906 kB / 334.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3727, allocations: 43.53 kB / 334.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3727, allocations: 0 / 334.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3727, allocations: 0.7812 kB / 334.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3728, allocations: 4.875 kB / 334.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.848e-05/0.3728, allocations: 13.86 kB / 334.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.3732, allocations: 290.5 kB / 334.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.3735, allocations: 42.47 kB / 334.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3735, allocations: 1.344 kB / 334.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.3737, allocations: 55.84 kB / 334.5 MB, free: 4.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.3737, allocations: 4 kB / 334.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004855/0.3742, allocations: 116.9 kB / 334.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3743, allocations: 52.02 kB / 334.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.3746, allocations: 216.2 kB / 334.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3746, allocations: 28.45 kB / 334.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.3747, allocations: 160.6 kB / 335.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.3747, allocations: 16.53 kB / 335.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.3747, allocations: 0 / 335.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.3748, allocations: 321.5 kB / 335.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.3749, allocations: 19.61 kB / 335.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.085e-05/0.3749, allocations: 24.11 kB / 335.5 MB, free: 3.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.538e-05/0.375, allocations: 46.86 kB / 335.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.375, allocations: 1.281 kB / 335.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002437/0.3753, allocations: 109.3 kB / 335.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.3754, allocations: 36.55 kB / 335.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3754, allocations: 3.938 kB / 335.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3754, allocations: 2.078 kB / 335.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.3755, allocations: 9.25 kB / 335.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3755, allocations: 0 / 335.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/0.3756, allocations: 10.62 kB / 335.7 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.3756, allocations: 3.781 kB / 335.7 MB, free: 3.281 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.0001194/0.3757, allocations: 128 kB / 335.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3758, allocations: 13.22 kB / 335.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.364e-05/0.3758, allocations: 20.2 kB / 335.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3759, allocations: 1.156 kB / 335.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3759, allocations: 0.75 kB / 335.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3759, allocations: 1.188 kB / 335.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.3763, allocations: 351.7 kB / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3763, allocations: 1.312 kB / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.3764, allocations: 5.016 kB / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3764, allocations: 1.953 kB / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3764, allocations: 1.875 kB / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3764, allocations: 0 / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3764, allocations: 0.6562 kB / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.3766, allocations: 181.3 kB / 336.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.3767, allocations: 84.56 kB / 336.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3767, allocations: 10.31 kB / 336.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.3768, allocations: 2 kB / 336.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.3769, allocations: 4.016 kB / 336.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3769, allocations: 2.828 kB / 336.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001802/0.3771, allocations: 156.3 kB / 336.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3771, allocations: 0 / 336.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003524/0.3775, allocations: 33.22 kB / 336.7 MB, free: 2.434 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.001306/0.3788, allocations: 0.9581 MB / 337.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3791, allocations: 114.3 kB / 337.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3791, allocations: 4 kB / 337.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.982e-05/0.3791, allocations: 16.55 kB / 337.7 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3795, allocations: 18.31 kB / 337.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.3804, allocations: 0.492 MB / 338.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.3806, allocations: 0.7083 MB / 339 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.3807, allocations: 28.27 kB / 339 MB, free: 388 kB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3807, allocations: 0 / 339 MB, free: 388 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.116/3.497, allocations: 2.253 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.Test53_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_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