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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001093/0.001093, allocations: 112.7 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.001077/0.001077, 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.296/1.296, 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.1871/0.1871, allocations: 43.52 MB / 314.1 MB, free: 460 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: 64.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003734/0.1065, allocations: 1.826 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004102/0.1106, allocations: 2.906 MB / 0.4921 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.964e-05/0.1107, allocations: 4 kB / 0.4921 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.111, allocations: 43.75 kB / 0.4921 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.1114, allocations: 79.56 kB / 0.4922 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.1131, allocations: 0.7199 MB / 0.4929 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.1134, allocations: 246.7 kB / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.1135, allocations: 32.38 kB / 0.4931 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.1137, allocations: 99.5 kB / 0.4932 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1139, allocations: 123.4 kB / 0.4934 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.114, allocations: 12 kB / 0.4934 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.1155, allocations: 1.209 MB / 0.4945 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.1156, allocations: 67.69 kB / 0.4946 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1158, allocations: 119.2 kB / 0.4947 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.1171, allocations: 0.9071 MB / 0.4956 GB, free: 3.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1171, allocations: 0 / 0.4956 GB, free: 3.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1171, allocations: 0 / 0.4956 GB, free: 3.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1172, allocations: 4 kB / 0.4956 GB, free: 3.863 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.001114/0.1183, allocations: 0.6925 MB / 0.4963 GB, free: 3.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1183, allocations: 8.031 kB / 0.4963 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.98e-05/0.1184, allocations: 74.66 kB / 0.4964 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.1185, allocations: 32.75 kB / 0.4964 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1188, allocations: 243.1 kB / 0.4966 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1188, allocations: 16.56 kB / 0.4966 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.1189, allocations: 28 kB / 0.4967 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.1196, allocations: 475.3 kB / 0.4971 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1196, allocations: 0 / 0.4971 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1197, allocations: 4 kB / 0.4971 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.1197, allocations: 48.97 kB / 0.4972 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008267/0.1206, allocations: 0.5503 MB / 0.4977 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.1224, allocations: 1.3 MB / 0.499 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.1229, allocations: 286.3 kB / 0.4993 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.1231, allocations: 100.7 kB / 0.4994 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/0.1232, allocations: 16.3 kB / 0.4994 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1232, allocations: 34.56 kB / 0.4994 GB, free: 15.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.1232, allocations: 0 / 0.4994 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007514/0.124, allocations: 329.3 kB / 0.4997 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.124, allocations: 55.39 kB / 0.4998 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1241, allocations: 138.1 kB / 0.4999 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1242, allocations: 33.64 kB / 0.4999 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1243, allocations: 196.3 kB / 0.5001 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.1243, allocations: 91.22 kB / 0.5002 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1245, allocations: 73.64 kB / 0.5003 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1246, allocations: 330.8 kB / 0.5006 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.1248, allocations: 87.78 kB / 0.5007 GB, free: 14.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.125, allocations: 174.2 kB / 0.5008 GB, free: 14.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.1255, allocations: 298.8 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1255, allocations: 4 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006002/0.1261, allocations: 321.1 kB / 0.5014 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1261, allocations: 8 kB / 0.5014 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1261, allocations: 0 / 0.5014 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1262, allocations: 8 kB / 0.5015 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.1266, allocations: 119.8 kB / 0.5016 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.1279, allocations: 2.364 MB / 0.5039 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.1281, allocations: 39.72 kB / 0.5039 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1281, allocations: 19.92 kB / 0.5039 GB, free: 10.87 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.0002131/0.1283, allocations: 181.5 kB / 0.5041 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.1284, allocations: 11.91 kB / 0.5041 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008763/0.1293, allocations: 370.7 kB / 0.5045 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1293, allocations: 4 kB / 0.5045 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1293, allocations: 0 / 0.5045 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1293, allocations: 3.938 kB / 0.5045 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.1298, allocations: 349.4 kB / 0.5048 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1298, allocations: 0 / 0.5048 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.1303, allocations: 99.89 kB / 0.5049 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1303, allocations: 3.938 kB / 0.5049 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.1303, allocations: 15.98 kB / 0.5049 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.1319, allocations: 2.368 MB / 0.5072 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1319, allocations: 0 / 0.5072 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.1326, allocations: 372.2 kB / 0.5076 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.1327, allocations: 100.9 kB / 0.5077 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.1327, allocations: 4 kB / 0.5077 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.1329, allocations: 12.09 kB / 0.5077 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.133, allocations: 23.97 kB / 0.5077 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.133, allocations: 11.98 kB / 0.5077 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.793e-05/0.1331, allocations: 99.27 kB / 0.5078 GB, free: 6.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1331, allocations: 0 / 0.5078 GB, free: 6.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008763/0.134, allocations: 242.8 kB / 0.5081 GB, free: 6.441 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.001603/0.1356, allocations: 1.148 MB / 0.5092 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.1364, allocations: 295.8 kB / 0.5095 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1364, allocations: 0 / 0.5095 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.1368, allocations: 180.3 kB / 0.5096 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.1372, allocations: 15.94 kB / 0.5097 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1404, allocations: 2.582 MB / 0.5122 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1408, allocations: 0.7987 MB / 0.513 GB, free: 1.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.1411, allocations: 105.7 kB / 0.5131 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1412, allocations: 87.41 kB / 0.5131 GB, free: 1.047 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1412, allocations: 4 kB / 0.5131 GB, free: 1.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.1695, allocations: 8.788 MB / 0.5217 GB, free: 8.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.27, allocations: 4.438 kB / 0.5217 GB, free: 8.246 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches