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.001378/0.001379, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001427/0.001427, allocations: 188.8 kB / 18.71 MB, free: 4.371 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.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.21/0.21, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.387, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003007/0.39, allocations: 1.812 MB / 0.5202 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3911, allocations: 0.6325 MB / 0.5208 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.3913, allocations: 1.031 kB / 0.5208 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3916, allocations: 53.22 kB / 0.5209 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.3918, allocations: 76.2 kB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.3922, allocations: 123.8 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.3925, allocations: 225.9 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.373e-05/0.3926, allocations: 29.95 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3927, allocations: 90.38 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3929, allocations: 105.8 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3929, allocations: 6.906 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.3934, allocations: 222.7 kB / 0.5217 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.3934, allocations: 56.81 kB / 0.5218 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3936, allocations: 95.7 kB / 0.5219 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005152/0.3941, allocations: 322.1 kB / 0.5222 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3941, allocations: 0 / 0.5222 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3941, allocations: 1.062 kB / 0.5222 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.3941, 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.0006721/0.3948, allocations: 0.5354 MB / 0.5227 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3948, allocations: 10.03 kB / 0.5227 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.3949, allocations: 67.55 kB / 0.5228 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.3967, allocations: 198.1 kB / 0.523 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3971, allocations: 271.5 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3971, allocations: 14.91 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.3972, allocations: 22.03 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3982, allocations: 0.5024 MB / 0.5237 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3982, allocations: 0 / 0.5237 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.3982, allocations: 6.25 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.3983, allocations: 35.11 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.3997, allocations: 0.5762 MB / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.402, allocations: 1.165 MB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.4028, allocations: 177.2 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.4031, allocations: 84.78 kB / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4032, allocations: 4 kB / 0.5257 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.4032, allocations: 39.84 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.4032, allocations: 0 / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001306/0.4045, allocations: 300.1 kB / 0.5261 GB, free: 14.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.4046, allocations: 56.64 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.4049, allocations: 278.9 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.4049, allocations: 33.58 kB / 0.5264 GB, free: 14.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.405, allocations: 173.2 kB / 0.5266 GB, free: 14.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.4051, allocations: 23.78 kB / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.4052, allocations: 34.06 kB / 0.5266 GB, free: 14.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4053, allocations: 332.3 kB / 0.527 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.4057, allocations: 86.78 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.4061, allocations: 117 kB / 0.5271 GB, free: 13.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.4068, allocations: 214.8 kB / 0.5274 GB, free: 13.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4069, allocations: 1.469 kB / 0.5274 GB, free: 13.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009362/0.4078, allocations: 265.1 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4078, allocations: 5.594 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4078, allocations: 5.531 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4079, allocations: 1.312 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005953/0.4138, allocations: 460.8 kB / 0.5281 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.4167, allocations: 1.945 MB / 0.53 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/0.4171, allocations: 51.19 kB / 0.53 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.4172, allocations: 8.016 kB / 0.53 GB, free: 11.42 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.0001908/0.4174, allocations: 153 kB / 0.5302 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.4174, allocations: 22.03 kB / 0.5302 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.4175, allocations: 25.52 kB / 0.5302 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4175, allocations: 1.625 kB / 0.5302 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4175, allocations: 0 / 0.5302 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4175, allocations: 0 / 0.5302 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.418, allocations: 297.8 kB / 0.5305 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.418, allocations: 3.938 kB / 0.5305 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005957/0.424, allocations: 452 kB / 0.5309 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/0.424, allocations: 5.047 kB / 0.5309 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.4241, allocations: 9.797 kB / 0.5309 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/0.427, allocations: 1.948 MB / 0.5328 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4271, allocations: 192 / 0.5328 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4281, allocations: 321.9 kB / 0.5332 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.4283, allocations: 94.62 kB / 0.5332 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.4283, allocations: 0 / 0.5332 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.4287, allocations: 18.03 kB / 0.5333 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.4288, allocations: 10.83 kB / 0.5333 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.4288, allocations: 10.7 kB / 0.5333 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.4291, allocations: 214.5 kB / 0.5335 GB, free: 8.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4291, allocations: 0 / 0.5335 GB, free: 8.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000413/0.4295, allocations: 78.34 kB / 0.5336 GB, free: 8.371 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.001328/0.4308, allocations: 0.8617 MB / 0.5344 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006241/0.4371, allocations: 0.5908 MB / 0.535 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4371, allocations: 4.062 kB / 0.535 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005644/0.4428, allocations: 0.4913 MB / 0.5355 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.4433, allocations: 51.22 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.005048/0.4483, allocations: 2.969 MB / 0.5384 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.4487, allocations: 0.7803 MB / 0.5392 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.4489, allocations: 54.97 kB / 0.5392 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.449, allocations: 64.75 kB / 0.5393 GB, free: 4.195 MB / 398.1 MB Notification: Performance of SimCode: time 1.914e-06/0.449, allocations: 0 / 0.5393 GB, free: 4.195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.4809, allocations: 8.13 MB / 0.5472 GB, free: 14.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.76, allocations: 15.08 kB / 0.5472 GB, free: 14.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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