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.General.dp_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 235 MB / 248 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.209e-05, allocations: 4 kB / 309.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4184, allocations: 54.85 MB / 364.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.5764, allocations: 85.92 MB / 450.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/0.5768, allocations: 95.88 kB / 450.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0268/0.6036, allocations: 5.939 MB / 456.6 MB, free: 4.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6037, allocations: 4 kB / 456.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.6037, allocations: 4 kB / 456.6 MB, free: 4.43 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007763/0.6045, allocations: 490.3 kB / 457.1 MB, free: 3.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.6046, allocations: 8.031 kB / 457.1 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.6047, allocations: 70.52 kB / 457.2 MB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.6069, allocations: 199.3 kB / 457.4 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.6075, allocations: 270.6 kB / 457.6 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.6076, allocations: 20.56 kB / 457.6 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.6077, allocations: 20 kB / 457.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6088, allocations: 448.6 kB / 458.1 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6089, allocations: 0 / 458.1 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.6089, allocations: 15.95 kB / 458.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.609, allocations: 28.48 kB / 458.1 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.6104, allocations: 0.5058 MB / 458.7 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.6138, allocations: 1.176 MB / 459.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/0.6143, allocations: 118.5 kB / 459.9 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.6146, allocations: 48.83 kB / 460 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.6146, allocations: 5.219 kB / 460 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.6147, allocations: 42.45 kB / 460 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.6147, allocations: 0 / 460 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006668/0.6154, allocations: 141.4 kB / 460.2 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.6154, allocations: 55.41 kB / 460.2 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.6158, allocations: 250.8 kB / 460.5 MB, free: 332 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.6159, allocations: 29.7 kB / 460.5 MB, free: 296 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.616, allocations: 218 kB / 460.7 MB, free: 76 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.6161, allocations: 31.78 kB / 460.7 MB, free: 44 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.6161, allocations: 4 kB / 460.8 MB, free: 40 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6163, allocations: 314.8 kB / 461.1 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.6165, allocations: 51.97 kB / 461.1 MB, free: 15.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.6168, allocations: 87.33 kB / 461.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.6171, allocations: 65.73 kB / 461.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6171, allocations: 0 / 461.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006671/0.6178, allocations: 169.5 kB / 461.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.6178, allocations: 8 kB / 461.4 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6178, allocations: 0 / 461.4 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.6179, allocations: 4.984 kB / 461.4 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009981/0.6279, allocations: 450.7 kB / 461.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.6325, allocations: 1.914 MB / 463.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.6333, allocations: 47.88 kB / 463.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/0.6334, allocations: 7.984 kB / 463.8 MB, free: 12.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.6336, allocations: 108.9 kB / 464 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.6337, allocations: 27.7 kB / 464 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.757e-05/0.6338, allocations: 25.83 kB / 464 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6338, allocations: 3.953 kB / 464 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6338, allocations: 4 kB / 464 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6338, allocations: 0 / 464 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.6344, allocations: 290.4 kB / 464.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6344, allocations: 0 / 464.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009789/0.6442, allocations: 431.4 kB / 464.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.6442, allocations: 7.938 kB / 464.7 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.6443, allocations: 3.984 kB / 464.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004526/0.6488, allocations: 1.914 MB / 466.6 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6489, allocations: 0 / 466.6 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.6496, allocations: 259.5 kB / 466.9 MB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.6497, allocations: 96.84 kB / 467 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.6498, allocations: 0 / 467 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.6505, allocations: 24.06 kB / 467 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.6506, allocations: 15.88 kB / 467 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.6506, allocations: 7.984 kB / 467 MB, free: 9.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003217/0.651, allocations: 207.1 kB / 467.2 MB, free: 9.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.651, allocations: 0 / 467.2 MB, free: 9.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005077/0.6515, allocations: 71.84 kB / 467.3 MB, free: 9.227 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.6527, allocations: 0.8214 MB / 468.1 MB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009344/0.6621, allocations: 463.3 kB / 468.6 MB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.6621, allocations: 0 / 468.6 MB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008927/0.6711, allocations: 399.5 kB / 469 MB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.6716, allocations: 48.36 kB / 469 MB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.6729, allocations: 400.8 kB / 469.4 MB, free: 7.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.6733, allocations: 0.7792 MB / 470.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.6736, allocations: 67.41 kB / 470.3 MB, free: 6.176 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6736, allocations: 0 / 470.3 MB, free: 6.176 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.937/3.61, allocations: 7.761 MB / 478 MB, free: 14.44 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat