Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 68.03 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3834, allocations: 60.81 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.00269/0.3861, allocations: 1.823 MB / 0.5202 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3871, allocations: 0.6355 MB / 0.5208 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.3872, allocations: 1.031 kB / 0.5208 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.3876, allocations: 53.88 kB / 0.5209 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.3878, allocations: 77 kB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.3882, allocations: 119.4 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.3884, allocations: 226.4 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.668e-05/0.3885, allocations: 25.39 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3886, allocations: 90.84 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.3888, allocations: 109.8 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.3888, allocations: 5.594 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.3893, allocations: 215.2 kB / 0.5217 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.3894, allocations: 57.44 kB / 0.5218 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.399e-05/0.3895, allocations: 99.5 kB / 0.5219 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.3901, allocations: 326.9 kB / 0.5222 GB, free: 1.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3901, allocations: 5.188 kB / 0.5222 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3901, allocations: 0 / 0.5222 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3901, allocations: 0 / 0.5222 GB, free: 1.02 MB / 382.1 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.0007924/0.3909, allocations: 0.5345 MB / 0.5227 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.391, allocations: 10.31 kB / 0.5227 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.48e-05/0.3911, allocations: 72.03 kB / 0.5228 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.393, allocations: 207 kB / 0.523 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.3933, allocations: 267.5 kB / 0.5232 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.3934, allocations: 13.28 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.3934, allocations: 23.5 kB / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3945, allocations: 0.5055 MB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3945, allocations: 0 / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3945, allocations: 10.56 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.3946, allocations: 31.27 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.396, allocations: 0.58 MB / 0.5244 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.3984, allocations: 1.168 MB / 0.5255 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.3991, allocations: 172.4 kB / 0.5257 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.3995, allocations: 88.48 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.3995, allocations: 0 / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3995, allocations: 36.03 kB / 0.5258 GB, free: 14.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3995, allocations: 0 / 0.5258 GB, free: 14.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001261/0.4008, allocations: 296.2 kB / 0.5261 GB, free: 14.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.4009, allocations: 56.78 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.4012, allocations: 282.9 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.4012, allocations: 29.64 kB / 0.5264 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.4013, allocations: 165.7 kB / 0.5266 GB, free: 14.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.4014, allocations: 35.78 kB / 0.5266 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4015, allocations: 38.06 kB / 0.5267 GB, free: 14.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4017, allocations: 328.3 kB / 0.527 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.4021, allocations: 94.77 kB / 0.5271 GB, free: 13.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.4025, allocations: 113.2 kB / 0.5272 GB, free: 13.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/0.4032, allocations: 223 kB / 0.5274 GB, free: 13.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4033, allocations: 0 / 0.5274 GB, free: 13.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008829/0.4041, allocations: 263.3 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4042, allocations: 5.688 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4042, allocations: 1.062 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4042, allocations: 1.312 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00577/0.41, allocations: 459.9 kB / 0.5281 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.413, allocations: 1.945 MB / 0.53 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.4134, allocations: 47.67 kB / 0.53 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.4135, allocations: 12.39 kB / 0.53 GB, free: 11.41 MB / 398.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.4137, allocations: 159.9 kB / 0.5302 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.4137, allocations: 17.94 kB / 0.5302 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.4138, allocations: 25.89 kB / 0.5302 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4138, allocations: 5.188 kB / 0.5302 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4138, allocations: 0 / 0.5302 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4139, allocations: 5.234 kB / 0.5302 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.4143, allocations: 292.8 kB / 0.5305 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4143, allocations: 3.984 kB / 0.5305 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005688/0.42, allocations: 449 kB / 0.531 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.42, allocations: 4 kB / 0.531 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.4201, allocations: 6.391 kB / 0.531 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.4229, allocations: 1.944 MB / 0.5329 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.423, allocations: 0 / 0.5329 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.4239, allocations: 329.7 kB / 0.5332 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.868e-05/0.424, allocations: 97.38 kB / 0.5333 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.424, allocations: 1.375 kB / 0.5333 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.4244, allocations: 22.42 kB / 0.5333 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.4245, allocations: 14.97 kB / 0.5333 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.4245, allocations: 10.86 kB / 0.5333 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002399/0.4248, allocations: 213.7 kB / 0.5335 GB, free: 8.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4248, allocations: 0 / 0.5335 GB, free: 8.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003889/0.4252, allocations: 66.98 kB / 0.5336 GB, free: 8.359 MB / 398.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/0.4265, allocations: 0.8592 MB / 0.5344 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006112/0.4326, allocations: 0.5968 MB / 0.535 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4327, allocations: 0 / 0.535 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005539/0.4382, allocations: 499.4 kB / 0.5355 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.4387, allocations: 43.61 kB / 0.5355 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/0.4439, allocations: 2.992 MB / 0.5384 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.4444, allocations: 0.7849 MB / 0.5392 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.4446, allocations: 50.64 kB / 0.5393 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.4447, allocations: 68.38 kB / 0.5393 GB, free: 4.164 MB / 398.1 MB Notification: Performance of SimCode: time 2.785e-06/0.4447, allocations: 0 / 0.5393 GB, free: 4.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.4784, allocations: 7.961 MB / 0.5471 GB, free: 14.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.41, allocations: 8.578 kB / 0.5471 GB, free: 14.39 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches