Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.001215/0.001215, allocations: 109.8 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.00118/0.00118, 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.429/1.429, 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.2163/0.2163, allocations: 43.53 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.002041/0.002041, allocations: 63.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1118, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003146/0.115, allocations: 1.823 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1176, allocations: 1.68 MB / 0.4909 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.1177, allocations: 8 kB / 0.4909 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.1179, allocations: 39.75 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.1182, allocations: 87.56 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.1191, allocations: 402.6 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.1194, allocations: 246.7 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.554e-05/0.1195, allocations: 32.38 kB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.1196, allocations: 99.5 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1198, allocations: 123.4 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.1199, allocations: 8 kB / 0.4919 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.1209, allocations: 0.6978 MB / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.121, allocations: 71.67 kB / 0.4926 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1212, allocations: 111.2 kB / 0.4927 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008785/0.122, allocations: 0.6227 MB / 0.4933 GB, free: 6.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1221, allocations: 4 kB / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1221, allocations: 0 / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1221, allocations: 0 / 0.4933 GB, free: 6.211 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000992/0.1231, allocations: 0.6268 MB / 0.4939 GB, free: 5.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1231, allocations: 8.031 kB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.1232, allocations: 74.66 kB / 0.494 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.1233, allocations: 32.75 kB / 0.494 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1236, allocations: 255 kB / 0.4943 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.1236, allocations: 24.48 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.1237, allocations: 28 kB / 0.4943 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007436/0.1244, allocations: 459.3 kB / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1244, allocations: 0 / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.1245, allocations: 15.98 kB / 0.4948 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.266e-05/0.1245, allocations: 48.97 kB / 0.4948 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008607/0.1254, allocations: 0.5465 MB / 0.4954 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.1273, allocations: 1.3 MB / 0.4966 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.1278, allocations: 286 kB / 0.4969 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.128, allocations: 96.8 kB / 0.497 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.1281, allocations: 11.92 kB / 0.497 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1281, allocations: 34.56 kB / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 6.783e-06/0.1281, allocations: 3.984 kB / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008059/0.1289, allocations: 333.3 kB / 0.4974 GB, free: 1.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.129, allocations: 51.41 kB / 0.4974 GB, free: 1.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1292, allocations: 138.1 kB / 0.4975 GB, free: 1.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1292, allocations: 29.7 kB / 0.4976 GB, free: 1.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.1293, allocations: 200.6 kB / 0.4978 GB, free: 1.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.1294, allocations: 99.2 kB / 0.4979 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1295, allocations: 65.69 kB / 0.4979 GB, free: 1.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1297, allocations: 326.8 kB / 0.4982 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.1299, allocations: 91.78 kB / 0.4983 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.1302, allocations: 170.2 kB / 0.4985 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.1307, allocations: 298.7 kB / 0.4988 GB, free: 264 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1307, allocations: 11.94 kB / 0.4988 GB, free: 252 kB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000601/0.1313, allocations: 317.1 kB / 0.4991 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1314, allocations: 8 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1314, allocations: 4.328 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1314, allocations: 8 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.1319, allocations: 119.9 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.1334, allocations: 2.364 MB / 0.5015 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1335, allocations: 35.72 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.1336, allocations: 19.98 kB / 0.5016 GB, free: 13.28 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.1338, allocations: 185.7 kB / 0.5018 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.1338, allocations: 11.91 kB / 0.5018 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007866/0.1346, allocations: 362.7 kB / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.1346, allocations: 4 kB / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1347, allocations: 0 / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1347, allocations: 3.938 kB / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.1351, allocations: 349.3 kB / 0.5025 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1351, allocations: 0 / 0.5025 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.1355, allocations: 107.9 kB / 0.5026 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1355, allocations: 0 / 0.5026 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.1355, allocations: 11.98 kB / 0.5026 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.1369, allocations: 2.364 MB / 0.5049 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1369, allocations: 4.031 kB / 0.5049 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.1375, allocations: 384.4 kB / 0.5052 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.1375, allocations: 104.9 kB / 0.5053 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.1376, allocations: 4 kB / 0.5054 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1377, allocations: 8 kB / 0.5054 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.1378, allocations: 19.97 kB / 0.5054 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1378, allocations: 15.98 kB / 0.5054 GB, free: 9.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.4e-05/0.1379, allocations: 99.27 kB / 0.5055 GB, free: 9.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1379, allocations: 0 / 0.5055 GB, free: 9.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005635/0.1385, allocations: 167.2 kB / 0.5056 GB, free: 8.918 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.1398, allocations: 1.028 MB / 0.5067 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008105/0.1406, allocations: 296.3 kB / 0.5069 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1406, allocations: 4 kB / 0.5069 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.141, allocations: 176.3 kB / 0.5071 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1414, allocations: 14.5 kB / 0.5071 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.145, allocations: 2.553 MB / 0.5096 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.1455, allocations: 0.8065 MB / 0.5104 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.1457, allocations: 93.75 kB / 0.5105 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1459, allocations: 87.41 kB / 0.5106 GB, free: 3.68 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1459, allocations: 0 / 0.5106 GB, free: 3.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.178, allocations: 7.081 MB / 0.5175 GB, free: 12.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/11.92, allocations: 4.188 kB / 0.5175 GB, free: 12.59 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches