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.286/2.286, allocations: 209.2 MB / 224.8 MB, free: 1.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004622, allocations: 12 kB / 282.7 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1112, allocations: 48.7 MB / 331.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5436, allocations: 75.87 MB / 407.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.544, allocations: 71.95 kB / 407.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02283/0.5668, allocations: 4.206 MB / 411.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5669, allocations: 0 / 411.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.5669, allocations: 4 kB / 411.5 MB, free: 4.953 MB / 330.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.000762/0.5677, allocations: 451.5 kB / 412 MB, free: 4.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.5678, allocations: 8.031 kB / 412 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/0.5679, allocations: 30.56 kB / 412 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.5679, allocations: 11.89 kB / 412 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.5683, allocations: 206.8 kB / 412.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5684, allocations: 4 kB / 412.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.5684, allocations: 4 kB / 412.2 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5686, allocations: 45.62 kB / 412.3 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.5686, allocations: 0 / 412.3 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.5686, allocations: 3.984 kB / 412.3 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5687, allocations: 4 kB / 412.3 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.5688, allocations: 12 kB / 412.3 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.5694, allocations: 300.8 kB / 412.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.5697, allocations: 46.5 kB / 412.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.5697, allocations: 4.078 kB / 412.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.5699, allocations: 59.41 kB / 412.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.195e-06/0.57, allocations: 0 / 412.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006265/0.5706, allocations: 125.4 kB / 412.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.5707, allocations: 59.36 kB / 412.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.5711, allocations: 190.4 kB / 413.1 MB, free: 3.211 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.5712, allocations: 33.7 kB / 413.1 MB, free: 3.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.5713, allocations: 162.5 kB / 413.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.5713, allocations: 19.8 kB / 413.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.5714, allocations: 4 kB / 413.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5716, allocations: 314.8 kB / 413.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.5717, allocations: 19.98 kB / 413.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5718, allocations: 31.97 kB / 413.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.5719, allocations: 49.7 kB / 413.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.572, allocations: 0 / 413.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003977/0.5724, allocations: 131.4 kB / 413.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.5724, allocations: 29.7 kB / 413.8 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5725, allocations: 0 / 413.8 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5725, allocations: 7.984 kB / 413.8 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.5726, allocations: 16 kB / 413.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.5726, allocations: 0 / 413.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.766e-05/0.5727, allocations: 11.94 kB / 413.9 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.5728, allocations: 64 / 413.9 MB, free: 2.355 MB / 330.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.0001759/0.573, allocations: 129.8 kB / 414 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.5731, allocations: 11.91 kB / 414 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.5734, allocations: 90.67 kB / 414.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5735, allocations: 0 / 414.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5735, allocations: 4 kB / 414.1 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5735, allocations: 0 / 414.1 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.5742, allocations: 378.3 kB / 414.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.5742, allocations: 0 / 414.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.5743, allocations: 4 kB / 414.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5743, allocations: 0 / 414.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.5744, allocations: 11.98 kB / 414.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5744, allocations: 0 / 414.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5744, allocations: 3.953 kB / 414.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.5747, allocations: 175.4 kB / 414.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.5749, allocations: 96.94 kB / 414.8 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.5749, allocations: 4 kB / 414.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.5751, allocations: 4 kB / 414.8 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.5752, allocations: 3.953 kB / 414.8 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.5752, allocations: 7.984 kB / 414.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003005/0.5755, allocations: 155.9 kB / 414.9 MB, free: 1.191 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5755, allocations: 7.938 kB / 414.9 MB, free: 1.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006499/0.5762, allocations: 32 kB / 415 MB, free: 1.152 MB / 330.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 (6): * Single equations (assignments): 5 * 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.002067/0.5783, allocations: 0.9876 MB / 416 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.5786, allocations: 111.4 kB / 416.1 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5787, allocations: 0 / 416.1 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.231e-05/0.5788, allocations: 19.98 kB / 416.1 MB, free: 80 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.5792, allocations: 12 kB / 416.1 MB, free: 68 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.5805, allocations: 0.5102 MB / 416.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.581, allocations: 0.7043 MB / 417.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.5811, allocations: 35.42 kB / 417.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5812, allocations: 7.938 kB / 417.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.848/3.429, allocations: 2.327 MB / 419.7 MB, free: 12.41 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat