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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001109/0.001109, allocations: 104.8 kB / 16.4 MB, free: 5.961 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.001044/0.001044, allocations: 195.7 kB / 17.34 MB, free: 5.566 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.293/1.293, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1988/0.1988, allocations: 43.53 MB / 314.1 MB, free: 448 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.00176/0.00176, allocations: 71.91 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1196, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003559/0.1232, allocations: 1.779 MB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1251, allocations: 1.01 MB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1252, allocations: 4 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.1256, allocations: 55.73 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.1259, allocations: 63.59 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.1264, allocations: 127.5 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.1267, allocations: 214.9 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.1268, allocations: 33.64 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.127, allocations: 91.52 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1272, allocations: 103.5 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.1272, allocations: 4 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.1276, allocations: 207.7 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1278, allocations: 55.77 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1279, allocations: 95.34 kB / 0.4912 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.1284, allocations: 298.7 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1284, allocations: 3.938 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1284, allocations: 4 kB / 0.4915 GB, free: 8.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1284, allocations: 0 / 0.4915 GB, free: 8.117 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008403/0.1293, allocations: 0.5376 MB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1293, allocations: 8.031 kB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.407e-05/0.1294, allocations: 66.7 kB / 0.4921 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.1303, allocations: 132.6 kB / 0.4922 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.1307, allocations: 255.6 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.1307, allocations: 20.78 kB / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.1308, allocations: 24.12 kB / 0.4925 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.1315, allocations: 437.9 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1315, allocations: 3.938 kB / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.1315, allocations: 4 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.1316, allocations: 36.53 kB / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006746/0.1323, allocations: 393.8 kB / 0.4933 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.1342, allocations: 1.477 MB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.1345, allocations: 98.44 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1347, allocations: 52.81 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1347, allocations: 3.938 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1347, allocations: 34.56 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1347, allocations: 0 / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006169/0.1354, allocations: 193.5 kB / 0.4951 GB, free: 4.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1354, allocations: 55.41 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.1358, allocations: 330.6 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1358, allocations: 25.7 kB / 0.4955 GB, free: 3.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1359, allocations: 179.6 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.136, allocations: 31.73 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.136, allocations: 37.7 kB / 0.4957 GB, free: 3.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1362, allocations: 338.8 kB / 0.4961 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.1364, allocations: 67.94 kB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.1366, allocations: 114 kB / 0.4962 GB, free: 2.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.137, allocations: 185.8 kB / 0.4964 GB, free: 2.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.137, allocations: 0 / 0.4964 GB, free: 2.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000521/0.1375, allocations: 245.2 kB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1375, allocations: 8 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1375, allocations: 0 / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1376, allocations: 4 kB / 0.4967 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.139, allocations: 115.8 kB / 0.4968 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.1409, allocations: 1.848 MB / 0.4986 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.1412, allocations: 27.81 kB / 0.4986 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.1413, allocations: 11.98 kB / 0.4986 GB, free: 368 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001645/0.1414, allocations: 173.4 kB / 0.4988 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.1415, allocations: 19.86 kB / 0.4988 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.142, allocations: 211.1 kB / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.142, allocations: 0 / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1421, allocations: 0 / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1421, allocations: 0 / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.1424, allocations: 273.5 kB / 0.4993 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1424, allocations: 0 / 0.4993 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.1436, allocations: 103.9 kB / 0.4994 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1436, allocations: 0 / 0.4994 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1436, allocations: 0 / 0.4994 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.1449, allocations: 1.793 MB / 0.5011 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1449, allocations: 0 / 0.5011 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.1453, allocations: 267.1 kB / 0.5014 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.1454, allocations: 101 kB / 0.5015 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.1454, allocations: 8 kB / 0.5015 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.1456, allocations: 12.08 kB / 0.5015 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.1457, allocations: 7.984 kB / 0.5015 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1457, allocations: 8 kB / 0.5015 GB, free: 13.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.146, allocations: 241.9 kB / 0.5017 GB, free: 13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.146, allocations: 0 / 0.5017 GB, free: 13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.1463, allocations: 63.94 kB / 0.5018 GB, free: 12.93 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.0007526/0.1471, allocations: 0.8058 MB / 0.5026 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00219/0.1493, allocations: 259.7 kB / 0.5028 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1493, allocations: 0 / 0.5028 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00094/0.1502, allocations: 108.1 kB / 0.5029 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1506, allocations: 53.38 kB / 0.503 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.1542, allocations: 2.91 MB / 0.5058 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1546, allocations: 0.7791 MB / 0.5066 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.1548, allocations: 54.25 kB / 0.5066 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1549, allocations: 67.42 kB / 0.5067 GB, free: 7.734 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1549, allocations: 0 / 0.5067 GB, free: 7.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.1826, allocations: 7.792 MB / 0.5143 GB, free: 15.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.2, allocations: 8.25 kB / 0.5143 GB, free: 15.94 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches