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.001535/0.001535, allocations: 108.2 kB / 16.41 MB, free: 6.5 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.001514/0.001515, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.382/1.382, 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.2106/0.2106, allocations: 43.53 MB / 314.1 MB, free: 464 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.001957/0.001957, allocations: 75.89 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1138, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003136/0.1169, allocations: 1.675 MB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1185, allocations: 0.8383 MB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.1186, allocations: 3.938 kB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.1188, allocations: 43.77 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.119, allocations: 47.73 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.1194, allocations: 95.64 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1196, allocations: 151.2 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.1197, allocations: 24.83 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1198, allocations: 63.72 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1199, allocations: 75.61 kB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.12, allocations: 4 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.1203, allocations: 163.8 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.1204, allocations: 35.91 kB / 0.4906 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.1205, allocations: 63.55 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.1208, allocations: 203.2 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1208, allocations: 0 / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1208, allocations: 0 / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1208, allocations: 0 / 0.4908 GB, free: 8.793 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.0006944/0.1215, allocations: 462.1 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1216, allocations: 19.89 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.1217, allocations: 50.72 kB / 0.4913 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/0.1222, allocations: 72.77 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1225, allocations: 216.1 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.1225, allocations: 16.31 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1226, allocations: 15.94 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.1231, allocations: 233.4 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1231, allocations: 0 / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1231, allocations: 4 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-05/0.1232, allocations: 23.98 kB / 0.4919 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.1236, allocations: 223.8 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.1248, allocations: 0.7325 MB / 0.4928 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.125, allocations: 98.44 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1252, allocations: 44.81 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1252, allocations: 0 / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1252, allocations: 38.5 kB / 0.493 GB, free: 6.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.1252, allocations: 0 / 0.493 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005245/0.1258, allocations: 169.5 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1258, allocations: 59.41 kB / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.126, allocations: 183.3 kB / 0.4934 GB, free: 5.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.126, allocations: 25.7 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.1261, allocations: 143.7 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.1262, allocations: 35.88 kB / 0.4936 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.1263, allocations: 29.7 kB / 0.4936 GB, free: 5.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1264, allocations: 322.8 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1266, allocations: 47.95 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.1268, allocations: 98.81 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.1271, allocations: 162.7 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1271, allocations: 0 / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003858/0.1275, allocations: 177.4 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.1275, allocations: 14.64 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1276, allocations: 0 / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1276, allocations: 4 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008525/0.1284, allocations: 128 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.13, allocations: 1.809 MB / 0.4963 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1302, allocations: 27.86 kB / 0.4963 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1302, allocations: 11.94 kB / 0.4963 GB, free: 2.777 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.0001512/0.1304, allocations: 145.7 kB / 0.4964 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1304, allocations: 15.95 kB / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.1309, allocations: 178.9 kB / 0.4966 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.1309, allocations: 4 kB / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.131, allocations: 3.938 kB / 0.4966 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.131, allocations: 0 / 0.4966 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.1313, allocations: 237.5 kB / 0.4969 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1313, allocations: 3.984 kB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.132, allocations: 103.9 kB / 0.497 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.132, allocations: 4 kB / 0.497 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.132, allocations: 8 kB / 0.497 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.1333, allocations: 1.782 MB / 0.4987 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1333, allocations: 0 / 0.4987 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.1338, allocations: 247.2 kB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.1339, allocations: 85.06 kB / 0.499 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.1339, allocations: 0 / 0.499 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1341, allocations: 20.08 kB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.1342, allocations: 7.984 kB / 0.4991 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1342, allocations: 0 / 0.4991 GB, free: 15.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1343, allocations: 139.9 kB / 0.4992 GB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1343, allocations: 0 / 0.4992 GB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003349/0.1347, allocations: 47.89 kB / 0.4992 GB, free: 15.59 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.0009221/0.1356, allocations: 0.7825 MB / 0.5 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.1368, allocations: 232.1 kB / 0.5002 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1368, allocations: 0 / 0.5002 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.1375, allocations: 131.7 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1379, allocations: 48.33 kB / 0.5004 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.1406, allocations: 2.072 MB / 0.5024 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.1411, allocations: 0.7358 MB / 0.5031 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.1412, allocations: 33.41 kB / 0.5032 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.1413, allocations: 43.42 kB / 0.5032 GB, free: 11.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1413, allocations: 7.938 kB / 0.5032 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.1709, allocations: 5.075 MB / 0.5082 GB, free: 6.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.69, allocations: 12.77 kB / 0.5082 GB, free: 6.262 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