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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.606/2.606, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.895e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4002, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.5676, allocations: 87.24 MB / 445.4 MB, free: 7.586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/0.5681, allocations: 99.92 kB / 445.5 MB, free: 7.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04037/0.6085, allocations: 7.585 MB / 453.1 MB, free: 15.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6085, allocations: 0 / 453.1 MB, free: 15.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.6086, allocations: 0 / 453.1 MB, free: 15.87 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.0007669/0.6093, allocations: 448.1 kB / 453.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.6094, allocations: 8.031 kB / 453.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.6095, allocations: 15.86 kB / 453.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.6097, allocations: 174.9 kB / 453.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.6097, allocations: 4 kB / 453.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.6098, allocations: 15.84 kB / 453.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000311/0.6101, allocations: 99.97 kB / 453.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.6104, allocations: 117.6 kB / 453.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6104, allocations: 0 / 453.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.6104, allocations: 4 kB / 453.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.6105, allocations: 11.89 kB / 453.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.6117, allocations: 491.3 kB / 454.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.6121, allocations: 78.69 kB / 454.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.6122, allocations: 36.86 kB / 454.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.6122, allocations: 3.984 kB / 454.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.6123, allocations: 34.56 kB / 454.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 3.366e-06/0.6123, allocations: 0 / 454.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003517/0.6126, allocations: 97.75 kB / 454.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.6127, allocations: 59.41 kB / 454.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.6128, allocations: 101.1 kB / 454.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6129, allocations: 25.7 kB / 454.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.613, allocations: 186.1 kB / 455 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.6131, allocations: 39.45 kB / 455.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.6131, allocations: 0 / 455.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6132, allocations: 319.7 kB / 455.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.6133, allocations: 24 kB / 455.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.6135, allocations: 65.14 kB / 455.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.6136, allocations: 31.92 kB / 455.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6136, allocations: 0 / 455.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003327/0.614, allocations: 125.5 kB / 455.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.614, allocations: 4 kB / 455.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.614, allocations: 8 kB / 455.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.6141, allocations: 0 / 455.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.6145, allocations: 55.89 kB / 455.7 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004884/0.615, allocations: 0.59 MB / 456.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.6152, allocations: 24.22 kB / 456.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.6153, allocations: 8 kB / 456.3 MB, free: 12.36 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 () * 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.0001152/0.6154, allocations: 104.9 kB / 456.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002624/0.6157, allocations: 93.58 kB / 456.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.6157, allocations: 11.89 kB / 456.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/0.6162, allocations: 146.1 kB / 456.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6162, allocations: 0 / 456.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6162, allocations: 4 kB / 456.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6163, allocations: 7.875 kB / 456.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.6166, allocations: 174.2 kB / 456.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6167, allocations: 0 / 456.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.6171, allocations: 43.97 kB / 456.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.6171, allocations: 4 kB / 456.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.6171, allocations: 0 / 456.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004327/0.6176, allocations: 0.5975 MB / 457.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6176, allocations: 0 / 457.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.6181, allocations: 243.5 kB / 457.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.6182, allocations: 104.9 kB / 457.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.6182, allocations: 0 / 457.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.6184, allocations: 7.984 kB / 457.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.6185, allocations: 11.98 kB / 457.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.6185, allocations: 4 kB / 457.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.6186, allocations: 83.28 kB / 457.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6186, allocations: 4.062 kB / 457.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.6192, allocations: 83.86 kB / 458 MB, free: 10.54 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 () * 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.001242/0.6205, allocations: 0.8828 MB / 458.9 MB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004366/0.621, allocations: 83.92 kB / 459 MB, free: 9.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.621, allocations: 0 / 459 MB, free: 9.551 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.6212, allocations: 55.92 kB / 459 MB, free: 9.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.6215, allocations: 8.578 kB / 459 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.6227, allocations: 278 kB / 459.3 MB, free: 9.172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.6231, allocations: 0.7118 MB / 460 MB, free: 8.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.6232, allocations: 39.42 kB / 460.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6232, allocations: 0 / 460.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.857/3.48, allocations: 3.156 MB / 463.2 MB, free: 5.242 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