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/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.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.711/2.711, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3e-05, allocations: 12 kB / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4835, allocations: 54.84 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.6876, allocations: 85.25 MB / 443.4 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/0.6881, allocations: 95.94 kB / 443.5 MB, free: 9.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02721/0.7153, allocations: 5.859 MB / 449.4 MB, free: 3.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7154, allocations: 4 kB / 449.4 MB, free: 3.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.7154, allocations: 4 kB / 449.4 MB, free: 3.402 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.0008536/0.7162, allocations: 486.3 kB / 449.8 MB, free: 2.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.7163, allocations: 8.031 kB / 449.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.7186, allocations: 207.3 kB / 450 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.7193, allocations: 266.7 kB / 450.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.7193, allocations: 15.98 kB / 450.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/0.7194, allocations: 12 kB / 450.3 MB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001302/0.7207, allocations: 0.4969 MB / 450.8 MB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.7218, allocations: 403.5 kB / 451.2 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.7218, allocations: 0 / 451.2 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.7219, allocations: 3.953 kB / 451.2 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-05/0.722, allocations: 24.55 kB / 451.3 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.7255, allocations: 1.084 MB / 452.3 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.726, allocations: 114.4 kB / 452.4 MB, free: 140 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.7262, allocations: 44.83 kB / 452.5 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.7263, allocations: 4 kB / 452.5 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.7263, allocations: 42.55 kB / 452.5 MB, free: 36 kB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.766e-06/0.7263, allocations: 0 / 452.5 MB, free: 36 kB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006589/0.727, allocations: 141.6 kB / 452.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.727, allocations: 51.41 kB / 452.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.7272, allocations: 127 kB / 452.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.7273, allocations: 25.7 kB / 452.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.7274, allocations: 246.1 kB / 453.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.7275, allocations: 27.58 kB / 453.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.7276, allocations: 0 / 453.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.7277, allocations: 322.8 kB / 453.5 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.7279, allocations: 51.97 kB / 453.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.7282, allocations: 75.41 kB / 453.6 MB, free: 14.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.7284, allocations: 59.89 kB / 453.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7284, allocations: 0 / 453.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006121/0.7291, allocations: 173.5 kB / 453.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.7291, allocations: 8 kB / 453.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.7291, allocations: 0 / 453.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.7291, allocations: 0 / 453.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009888/0.739, allocations: 447.4 kB / 454.3 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/0.7439, allocations: 1.918 MB / 456.2 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/0.7446, allocations: 32.12 kB / 456.2 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.7447, allocations: 7.984 kB / 456.2 MB, free: 12.23 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.0001531/0.7448, allocations: 108.9 kB / 456.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005375/0.7454, allocations: 141.6 kB / 456.5 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.7455, allocations: 11.86 kB / 456.5 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.7455, allocations: 16.61 kB / 456.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.7456, allocations: 4 kB / 456.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7456, allocations: 0 / 456.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7456, allocations: 4 kB / 456.5 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.7461, allocations: 238.1 kB / 456.7 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7461, allocations: 0 / 456.7 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009783/0.7559, allocations: 438.8 kB / 457.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.756, allocations: 3.938 kB / 457.2 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.7561, allocations: 16 kB / 457.2 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004706/0.7608, allocations: 1.918 MB / 459.1 MB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.7609, allocations: 7.922 kB / 459.1 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.7615, allocations: 243.5 kB / 459.3 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.7616, allocations: 84.95 kB / 459.4 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.7617, allocations: 4 kB / 459.4 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.7623, allocations: 15.97 kB / 459.4 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.7624, allocations: 11.94 kB / 459.5 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.7625, allocations: 11.98 kB / 459.5 MB, free: 8.824 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.7626, allocations: 101.2 kB / 459.6 MB, free: 8.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7626, allocations: 4 kB / 459.6 MB, free: 8.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005635/0.7632, allocations: 79.69 kB / 459.6 MB, free: 8.645 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.001161/0.7644, allocations: 0.8021 MB / 460.4 MB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00921/0.7736, allocations: 463.3 kB / 460.9 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.7737, allocations: 0 / 460.9 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008818/0.7825, allocations: 383.6 kB / 461.3 MB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.7829, allocations: 15.95 kB / 461.3 MB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.7842, allocations: 381.6 kB / 461.7 MB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.7847, allocations: 0.7704 MB / 462.4 MB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.7849, allocations: 59.41 kB / 462.5 MB, free: 5.703 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7849, allocations: 4 kB / 462.5 MB, free: 5.699 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.315/4.1, allocations: 6.96 MB / 469.5 MB, free: 101.8 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.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat