Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.22/2.22, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004289, allocations: 8 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3918, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.5512, allocations: 87.99 MB / 457.4 MB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/0.5516, allocations: 107.9 kB / 457.5 MB, free: 2.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03879/0.5904, allocations: 7.642 MB / 465.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5905, allocations: 0 / 465.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.5905, allocations: 0 / 465.1 MB, free: 10.71 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007631/0.5913, allocations: 454.8 kB / 465.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5913, allocations: 15.97 kB / 465.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.5914, allocations: 46.55 kB / 465.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.5915, allocations: 19.77 kB / 465.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.5916, allocations: 171 kB / 465.8 MB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.5917, allocations: 8 kB / 465.8 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.5917, allocations: 15.94 kB / 465.8 MB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.5922, allocations: 141.6 kB / 466 MB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5922, allocations: 0 / 466 MB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.5923, allocations: 4 kB / 466 MB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.5923, allocations: 7.953 kB / 466 MB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.5928, allocations: 151.9 kB / 466.1 MB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.5941, allocations: 0.526 MB / 466.7 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.5945, allocations: 98.59 kB / 466.8 MB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.5945, allocations: 8 kB / 466.8 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.5946, allocations: 34.56 kB / 466.8 MB, free: 8.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.455e-06/0.5946, allocations: 0 / 466.8 MB, free: 8.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007655/0.5954, allocations: 181.7 kB / 467 MB, free: 8.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.5954, allocations: 59.3 kB / 467 MB, free: 8.582 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5955, allocations: 105.2 kB / 467.1 MB, free: 8.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5956, allocations: 25.7 kB / 467.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.5957, allocations: 182 kB / 467.3 MB, free: 8.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.5957, allocations: 35.47 kB / 467.4 MB, free: 8.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.5957, allocations: 0 / 467.4 MB, free: 8.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5959, allocations: 327.8 kB / 467.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.5961, allocations: 43.91 kB / 467.7 MB, free: 7.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.5964, allocations: 85.11 kB / 467.8 MB, free: 7.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.5966, allocations: 48.36 kB / 467.9 MB, free: 7.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.5966, allocations: 0 / 467.9 MB, free: 7.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005704/0.5972, allocations: 169.3 kB / 468 MB, free: 7.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5972, allocations: 8 kB / 468 MB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5973, allocations: 3.938 kB / 468 MB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.5973, allocations: 4 kB / 468 MB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.5977, allocations: 60.05 kB / 468.1 MB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004242/0.5981, allocations: 0.5859 MB / 468.7 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.5983, allocations: 19.92 kB / 468.7 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.5984, allocations: 8 kB / 468.7 MB, free: 6.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.5985, allocations: 121.9 kB / 468.8 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.5986, allocations: 11.89 kB / 468.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007186/0.5993, allocations: 185.8 kB / 469 MB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.5993, allocations: 4 kB / 469 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5993, allocations: 0 / 469 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5994, allocations: 3.984 kB / 469 MB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.5997, allocations: 209.5 kB / 469.2 MB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5998, allocations: 3.984 kB / 469.2 MB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.6002, allocations: 39.97 kB / 469.3 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.6002, allocations: 4 kB / 469.3 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.6002, allocations: 8 kB / 469.3 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003894/0.6006, allocations: 0.5859 MB / 469.9 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6006, allocations: 0 / 469.9 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.6015, allocations: 311.5 kB / 470.2 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.6016, allocations: 100.9 kB / 470.3 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.6016, allocations: 8 kB / 470.3 MB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.6018, allocations: 16.05 kB / 470.3 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.6019, allocations: 11.98 kB / 470.3 MB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.6019, allocations: 4 kB / 470.3 MB, free: 5.086 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.602, allocations: 91.27 kB / 470.4 MB, free: 4.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.602, allocations: 0 / 470.4 MB, free: 4.996 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000563/0.6026, allocations: 87.77 kB / 470.5 MB, free: 4.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/0.6042, allocations: 0.9477 MB / 471.4 MB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007255/0.605, allocations: 132.6 kB / 471.6 MB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.605, allocations: 0 / 471.6 MB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.6054, allocations: 71.95 kB / 471.6 MB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.6057, allocations: 7.984 kB / 471.7 MB, free: 3.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.6085, allocations: 1.606 MB / 473.3 MB, free: 2.047 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.6089, allocations: 0.7082 MB / 474 MB, free: 1.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.609, allocations: 39.42 kB / 474 MB, free: 1.273 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6091, allocations: 0 / 474 MB, free: 1.273 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/3.474, allocations: 3.131 MB / 477.1 MB, free: 97.07 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat