Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001677/0.001677, allocations: 102.9 kB / 16.4 MB, free: 6.461 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.001181/0.001181, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1912/0.1912, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 71.91 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1152, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003155/0.1184, allocations: 1.675 MB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.12, allocations: 0.8344 MB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.1202, allocations: 0 / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1205, allocations: 47.7 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1207, allocations: 55.72 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.1212, allocations: 91.64 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1215, allocations: 155.2 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.555e-05/0.1216, allocations: 16.86 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.1217, allocations: 63.7 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1219, allocations: 71.62 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1219, allocations: 4 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.1223, allocations: 167.8 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.1224, allocations: 35.88 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1225, allocations: 67.55 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.1229, allocations: 207.2 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1229, allocations: 0 / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.123, allocations: 0 / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.123, allocations: 0 / 0.4908 GB, free: 8.762 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007152/0.1237, allocations: 466.1 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1237, allocations: 11.89 kB / 0.4913 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.1238, allocations: 50.73 kB / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/0.1244, allocations: 68.77 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1246, allocations: 216.1 kB / 0.4916 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1246, allocations: 16.36 kB / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.1247, allocations: 11.94 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.1251, allocations: 229.5 kB / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1251, allocations: 7.875 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1252, allocations: 15.98 kB / 0.4919 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.1252, allocations: 15.98 kB / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.1256, allocations: 219.8 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1268, allocations: 0.7325 MB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.127, allocations: 94.44 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.1271, allocations: 48.81 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1272, allocations: 160 / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1272, allocations: 34.5 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1272, allocations: 0 / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005305/0.1277, allocations: 177.4 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1278, allocations: 55.41 kB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.128, allocations: 187.3 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.128, allocations: 29.7 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.1281, allocations: 139.8 kB / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1281, allocations: 27.73 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.1282, allocations: 29.7 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1283, allocations: 326.8 kB / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1284, allocations: 47.95 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1286, allocations: 98.81 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.1289, allocations: 166.6 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1289, allocations: 0 / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004004/0.1293, allocations: 181.4 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1293, allocations: 6.812 kB / 0.4944 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1294, allocations: 0 / 0.4944 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1294, allocations: 11.92 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008704/0.1303, allocations: 124.1 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.1314, allocations: 1.817 MB / 0.4963 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1316, allocations: 23.83 kB / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.1316, allocations: 4 kB / 0.4963 GB, free: 2.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001331/0.1318, allocations: 157.7 kB / 0.4965 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.1318, allocations: 11.95 kB / 0.4965 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/0.1323, allocations: 182.8 kB / 0.4966 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1323, allocations: 4 kB / 0.4966 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1323, allocations: 0 / 0.4966 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1323, allocations: 0 / 0.4966 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.1326, allocations: 237.5 kB / 0.4969 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1326, allocations: 0 / 0.4969 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/0.1333, allocations: 99.88 kB / 0.497 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1333, allocations: 7.984 kB / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1333, allocations: 4 kB / 0.497 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009651/0.1343, allocations: 1.782 MB / 0.4987 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.1343, allocations: 0 / 0.4987 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.1347, allocations: 247.2 kB / 0.499 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.1348, allocations: 85.06 kB / 0.499 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.1348, allocations: 4 kB / 0.499 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.135, allocations: 12.08 kB / 0.4991 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.1351, allocations: 11.98 kB / 0.4991 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1351, allocations: 4 kB / 0.4991 GB, free: 15.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1352, allocations: 135.9 kB / 0.4992 GB, free: 15.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1352, allocations: 0 / 0.4992 GB, free: 15.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.1356, allocations: 47.89 kB / 0.4992 GB, free: 15.57 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 (11): * Single equations (assignments): 8 * 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.0007183/0.1363, allocations: 0.7905 MB / 0.5 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.1375, allocations: 228.1 kB / 0.5002 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1375, allocations: 0 / 0.5002 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.1381, allocations: 127.7 kB / 0.5004 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.1385, allocations: 47.83 kB / 0.5004 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.1411, allocations: 2.08 MB / 0.5024 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1415, allocations: 0.7358 MB / 0.5032 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1416, allocations: 37.39 kB / 0.5032 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.1417, allocations: 43.42 kB / 0.5032 GB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 2.044e-06/0.1417, allocations: 0 / 0.5032 GB, free: 11.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.1654, allocations: 5.067 MB / 0.5082 GB, free: 6.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.72, allocations: 12.77 kB / 0.5082 GB, free: 6.242 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches