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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001599/0.001599, allocations: 109.4 kB / 16.41 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.001309/0.001309, allocations: 189.5 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.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2071/0.2071, allocations: 43.52 MB / 314.1 MB, free: 444 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.002052/0.002052, allocations: 75.89 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1088, 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_volumeFlowRate_DPMFLOW): time 0.002929/0.1117, allocations: 1.647 MB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1134, allocations: 0.9161 MB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.1134, allocations: 0 / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.1137, allocations: 35.77 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1139, allocations: 51.73 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1143, allocations: 139.5 kB / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.1145, allocations: 147.3 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.1146, allocations: 13.44 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.1147, allocations: 47.78 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1148, allocations: 75.61 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1148, allocations: 4 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.1152, allocations: 215.7 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.1153, allocations: 35.89 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.1153, allocations: 67.53 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.1157, allocations: 239 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1157, allocations: 0 / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1158, allocations: 0 / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1158, allocations: 0 / 0.491 GB, free: 8.625 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006294/0.1164, allocations: 478.1 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1164, allocations: 12.03 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.103e-05/0.1165, allocations: 50.73 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.1176, allocations: 120.6 kB / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1178, allocations: 228.1 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1179, allocations: 12.38 kB / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1179, allocations: 8.375 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.1186, allocations: 325.4 kB / 0.4921 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1186, allocations: 0 / 0.4921 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.1186, allocations: 4 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.1186, allocations: 35.91 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/0.1194, allocations: 319.7 kB / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.1209, allocations: 0.8297 MB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.1216, allocations: 222.4 kB / 0.4935 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.1219, allocations: 88.75 kB / 0.4936 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.122, allocations: 3.984 kB / 0.4936 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.122, allocations: 34.56 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.122, allocations: 0 / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001061/0.1231, allocations: 297.2 kB / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1231, allocations: 51.41 kB / 0.494 GB, free: 5.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1234, allocations: 195.3 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1234, allocations: 25.7 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1235, allocations: 143.8 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.1235, allocations: 35.64 kB / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.1236, allocations: 49.67 kB / 0.4944 GB, free: 4.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1238, allocations: 326.8 kB / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1241, allocations: 87.89 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.1245, allocations: 134.7 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.1251, allocations: 223 kB / 0.4951 GB, free: 4.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1251, allocations: 4 kB / 0.4951 GB, free: 4.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007971/0.1259, allocations: 273.1 kB / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1259, allocations: 10.66 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.126, allocations: 3.938 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.126, allocations: 4 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.1264, allocations: 84.14 kB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.1275, allocations: 1.782 MB / 0.4972 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.1277, allocations: 27.86 kB / 0.4972 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1278, allocations: 15.97 kB / 0.4973 GB, free: 1.781 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 (17): * Single equations (assignments): 14 * 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.0001485/0.1279, allocations: 149.6 kB / 0.4974 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.1281, allocations: 19.78 kB / 0.4974 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008242/0.1289, allocations: 266.9 kB / 0.4977 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1289, allocations: 0 / 0.4977 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1289, allocations: 0 / 0.4977 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1289, allocations: 0 / 0.4977 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.1293, allocations: 261.5 kB / 0.4979 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1293, allocations: 0 / 0.4979 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.1296, allocations: 75.8 kB / 0.498 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1296, allocations: 4 kB / 0.498 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.1297, allocations: 7.984 kB / 0.498 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.1308, allocations: 1.789 MB / 0.4998 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1308, allocations: 4 kB / 0.4998 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007264/0.1315, allocations: 315.2 kB / 0.5001 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.1316, allocations: 85.06 kB / 0.5001 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.1316, allocations: 8 kB / 0.5001 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.1318, allocations: 12.08 kB / 0.5002 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.1319, allocations: 15.97 kB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.1319, allocations: 7.984 kB / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1321, allocations: 143.9 kB / 0.5003 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1321, allocations: 0 / 0.5003 GB, free: 14.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.1324, allocations: 59.83 kB / 0.5004 GB, free: 14.41 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 (10): * Single equations (assignments): 7 * 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.001141/0.1336, allocations: 0.8683 MB / 0.5012 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008641/0.1344, allocations: 239.7 kB / 0.5015 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1345, allocations: 0 / 0.5015 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.1349, allocations: 132.2 kB / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1352, allocations: 19.94 kB / 0.5016 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.139, allocations: 2.35 MB / 0.5039 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1394, allocations: 0.7319 MB / 0.5046 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.1396, allocations: 61.05 kB / 0.5047 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1398, allocations: 63.38 kB / 0.5047 GB, free: 9.777 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1398, allocations: 0 / 0.5047 GB, free: 9.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.1683, allocations: 4.849 MB / 0.5095 GB, free: 4.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.6, allocations: 8.25 kB / 0.5095 GB, free: 4.93 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches