Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004497, allocations: 8 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3516, allocations: 48.7 MB / 331.4 MB, free: 6.426 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.4944, allocations: 79.58 MB / 411 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/0.4949, allocations: 91.92 kB / 411.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02814/0.523, allocations: 5.94 MB / 417 MB, free: 8.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5231, allocations: 0 / 417 MB, free: 8.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.5231, allocations: 4 kB / 417 MB, free: 8.578 MB / 346.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.0008611/0.524, allocations: 0.4902 MB / 417.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.524, allocations: 8.031 kB / 417.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.5242, allocations: 66.53 kB / 417.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/0.5265, allocations: 203.3 kB / 417.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.5271, allocations: 262.6 kB / 418 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.5272, allocations: 32.55 kB / 418.1 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.5273, allocations: 23.98 kB / 418.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.529, allocations: 488.5 kB / 418.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.529, allocations: 0 / 418.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.5291, allocations: 8 kB / 418.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.5292, allocations: 24.55 kB / 418.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.5314, allocations: 0.5915 MB / 419.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.5349, allocations: 1.174 MB / 420.3 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.5361, allocations: 174.4 kB / 420.5 MB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.5362, allocations: 4 kB / 420.5 MB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.5362, allocations: 34.56 kB / 420.6 MB, free: 4.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.5362, allocations: 0 / 420.6 MB, free: 4.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.002216/0.5384, allocations: 313.3 kB / 420.9 MB, free: 4.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.5385, allocations: 55.41 kB / 420.9 MB, free: 4.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.5389, allocations: 249.7 kB / 421.2 MB, free: 4.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.539, allocations: 25.7 kB / 421.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.5391, allocations: 225.9 kB / 421.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.5392, allocations: 27.59 kB / 421.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.5392, allocations: 4 kB / 421.4 MB, free: 3.898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5394, allocations: 318.8 kB / 421.7 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.5401, allocations: 95.91 kB / 421.8 MB, free: 3.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/0.5408, allocations: 123.3 kB / 422 MB, free: 3.352 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.5415, allocations: 103.9 kB / 422.1 MB, free: 3.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.5415, allocations: 0 / 422.1 MB, free: 3.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001578/0.5431, allocations: 253.4 kB / 422.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.5431, allocations: 4 kB / 422.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.5432, allocations: 0 / 422.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.5432, allocations: 4 kB / 422.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009969/0.5532, allocations: 443.4 kB / 422.8 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/0.5583, allocations: 1.949 MB / 424.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007748/0.5591, allocations: 55.77 kB / 424.8 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.5592, allocations: 7.938 kB / 424.8 MB, free: 484 kB / 346.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 () * Number of clocked 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.0002833/0.5595, allocations: 161.7 kB / 424.9 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.5596, allocations: 19.72 kB / 424.9 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.672e-05/0.5597, allocations: 25.7 kB / 425 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5597, allocations: 0 / 425 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5597, allocations: 4 kB / 425 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.5597, allocations: 3.984 kB / 425 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.5603, allocations: 285.5 kB / 425.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5603, allocations: 4 kB / 425.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009851/0.5702, allocations: 436.1 kB / 425.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.5702, allocations: 0 / 425.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.5703, allocations: 4 kB / 425.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00508/0.5754, allocations: 1.937 MB / 427.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.5755, allocations: 8.172 kB / 427.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.577, allocations: 343 kB / 428 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.5771, allocations: 88.92 kB / 428.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.5772, allocations: 96 / 428.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/0.5779, allocations: 23.91 kB / 428.1 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.578, allocations: 11.98 kB / 428.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.5781, allocations: 11.98 kB / 428.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003171/0.5784, allocations: 201.9 kB / 428.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5784, allocations: 0 / 428.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005333/0.5789, allocations: 79.83 kB / 428.4 MB, free: 12.7 MB / 362.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 () * Number of clocked 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.002028/0.581, allocations: 0.8973 MB / 429.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0101/0.5911, allocations: 0.5266 MB / 429.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.5912, allocations: 192 / 429.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009293/0.6005, allocations: 431.3 kB / 430.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.601, allocations: 36.55 kB / 430.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/0.6064, allocations: 2.154 MB / 432.4 MB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.6069, allocations: 0.7909 MB / 433.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.6071, allocations: 63.41 kB / 433.3 MB, free: 7.684 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6072, allocations: 7.938 kB / 433.3 MB, free: 7.676 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/3.472, allocations: 7.882 MB / 441.2 MB, free: 15.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat