Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.32/2.32, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.75e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3851, allocations: 54.84 MB / 364.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.5549, allocations: 82.78 MB / 447.4 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5552, allocations: 71.95 kB / 447.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0188/0.5741, allocations: 4.176 MB / 451.6 MB, free: 9.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5741, allocations: 0 / 451.6 MB, free: 9.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.5742, allocations: 4 kB / 451.7 MB, free: 9.379 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001095/0.5753, allocations: 0.5102 MB / 452.2 MB, free: 8.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5753, allocations: 9.438 kB / 452.2 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.5754, allocations: 70.53 kB / 452.2 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.653e-05/0.5755, allocations: 35.58 kB / 452.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.5758, allocations: 200.4 kB / 452.5 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.576, allocations: 24.78 kB / 452.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.576, allocations: 32 kB / 452.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/0.5768, allocations: 267.7 kB / 452.8 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5768, allocations: 4 kB / 452.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.5769, allocations: 12 kB / 452.8 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.5769, allocations: 11.95 kB / 452.8 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.5775, allocations: 203.1 kB / 453 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.5803, allocations: 1.042 MB / 454.1 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.5804, allocations: 26.58 kB / 454.1 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.5805, allocations: 24.92 kB / 454.1 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.5806, allocations: 0 / 454.1 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.5806, allocations: 35.22 kB / 454.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.5806, allocations: 0 / 454.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002557/0.5809, allocations: 73.42 kB / 454.2 MB, free: 6.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5809, allocations: 55.41 kB / 454.3 MB, free: 6.566 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.5815, allocations: 283.3 kB / 454.5 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.5815, allocations: 29.7 kB / 454.6 MB, free: 6.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.5817, allocations: 293.2 kB / 454.9 MB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.5818, allocations: 8.406 kB / 454.9 MB, free: 5.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.5818, allocations: 8 kB / 454.9 MB, free: 5.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5819, allocations: 318.8 kB / 455.2 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.5821, allocations: 60 kB / 455.2 MB, free: 5.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.5824, allocations: 85.7 kB / 455.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.5826, allocations: 68.47 kB / 455.4 MB, free: 5.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5826, allocations: 4.656 kB / 455.4 MB, free: 5.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005567/0.5832, allocations: 205.9 kB / 455.6 MB, free: 5.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5832, allocations: 4 kB / 455.6 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5832, allocations: 0 / 455.6 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5833, allocations: 4 kB / 455.6 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.5839, allocations: 71.81 kB / 455.7 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5839, allocations: 0 / 455.7 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/0.5845, allocations: 44.16 kB / 455.7 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.5846, allocations: 7.984 kB / 455.7 MB, free: 5.066 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 prepare postOptimizeDAE: time 0.0001449/0.5848, allocations: 112.9 kB / 455.8 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.5849, allocations: 15.81 kB / 455.9 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.447e-05/0.585, allocations: 24.89 kB / 455.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.585, allocations: 0 / 455.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.585, allocations: 3.953 kB / 455.9 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5851, allocations: 5.219 kB / 455.9 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.5864, allocations: 0.5071 MB / 456.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5865, allocations: 0 / 456.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.5865, allocations: 4 kB / 456.4 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.5865, allocations: 3.953 kB / 456.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5866, allocations: 0 / 456.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5866, allocations: 0 / 456.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5866, allocations: 4.062 kB / 456.4 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.5868, allocations: 107.5 kB / 456.5 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5869, allocations: 108.7 kB / 456.6 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.587, allocations: 4 kB / 456.6 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.5872, allocations: 3.984 kB / 456.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.5873, allocations: 12.03 kB / 456.6 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.5873, allocations: 3.938 kB / 456.6 MB, free: 4.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003509/0.5876, allocations: 215.1 kB / 456.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5876, allocations: 4 kB / 456.9 MB, free: 3.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000397/0.5881, allocations: 63.84 kB / 456.9 MB, free: 3.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005555/0.5886, allocations: 0.7108 MB / 457.6 MB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.589, allocations: 115.9 kB / 457.7 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.589, allocations: 0 / 457.7 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.5891, allocations: 12 kB / 457.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.5894, allocations: 17.11 kB / 457.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.5903, allocations: 315.1 kB / 458.1 MB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.5907, allocations: 0.748 MB / 458.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.5909, allocations: 79.41 kB / 458.9 MB, free: 1.656 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.591, allocations: 0 / 458.9 MB, free: 1.656 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.376/2.967, allocations: 3.714 MB / 462.6 MB, free: 13.95 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat