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.001645/0.001645, allocations: 103.7 kB / 16.4 MB, free: 6.473 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.001838/0.001838, allocations: 192.1 kB / 17.34 MB, free: 5.754 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.339/1.339, 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.1903/0.1903, allocations: 43.52 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.001524/0.001524, allocations: 63.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, 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.00291/0.1132, allocations: 1.823 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00384/0.117, allocations: 2.91 MB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1172, allocations: 0 / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1174, allocations: 39.75 kB / 0.4921 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1178, allocations: 79.56 kB / 0.4922 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.1194, allocations: 0.7277 MB / 0.4929 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.1197, allocations: 242.7 kB / 0.4931 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.444e-05/0.1197, allocations: 36.38 kB / 0.4931 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1199, allocations: 107.5 kB / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1201, allocations: 119.4 kB / 0.4933 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1202, allocations: 8 kB / 0.4934 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.1219, allocations: 1.205 MB / 0.4945 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1221, allocations: 67.69 kB / 0.4946 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1222, allocations: 111.2 kB / 0.4947 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.1237, allocations: 0.9116 MB / 0.4956 GB, free: 3.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1237, allocations: 4 kB / 0.4956 GB, free: 3.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1237, allocations: 0 / 0.4956 GB, free: 3.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1237, allocations: 3.938 kB / 0.4956 GB, free: 3.871 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.001097/0.1248, allocations: 0.6708 MB / 0.4963 GB, free: 3.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1249, allocations: 8.031 kB / 0.4963 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.457e-05/0.125, allocations: 70.72 kB / 0.4963 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.125, allocations: 32.56 kB / 0.4964 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1254, allocations: 243.1 kB / 0.4966 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1254, allocations: 20.55 kB / 0.4966 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.1254, allocations: 28 kB / 0.4966 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.1262, allocations: 463.3 kB / 0.4971 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1262, allocations: 0 / 0.4971 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.1262, allocations: 15.98 kB / 0.4971 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-05/0.1263, allocations: 48.91 kB / 0.4971 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.1271, allocations: 0.5543 MB / 0.4977 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1289, allocations: 1.299 MB / 0.499 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.1294, allocations: 270.4 kB / 0.4992 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.1296, allocations: 104.7 kB / 0.4993 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.1297, allocations: 7.938 kB / 0.4993 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1297, allocations: 38.56 kB / 0.4994 GB, free: 15.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.1297, allocations: 0 / 0.4994 GB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007118/0.1304, allocations: 329.2 kB / 0.4997 GB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1305, allocations: 55.41 kB / 0.4997 GB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1306, allocations: 141.7 kB / 0.4999 GB, free: 15.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1307, allocations: 29.7 kB / 0.4999 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1308, allocations: 200.2 kB / 0.5001 GB, free: 15.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.1309, allocations: 86.75 kB / 0.5002 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.131, allocations: 69.69 kB / 0.5002 GB, free: 14.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1311, allocations: 322.8 kB / 0.5005 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.1313, allocations: 91.78 kB / 0.5006 GB, free: 14.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.1315, allocations: 178.2 kB / 0.5008 GB, free: 14.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.132, allocations: 302.7 kB / 0.5011 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.132, allocations: 0 / 0.5011 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005716/0.1326, allocations: 329 kB / 0.5014 GB, free: 13.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1326, allocations: 11.94 kB / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1326, allocations: 352 / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.1327, allocations: 8 kB / 0.5014 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.1332, allocations: 119.9 kB / 0.5015 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.1344, allocations: 2.368 MB / 0.5038 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1346, allocations: 35.62 kB / 0.5039 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.1346, allocations: 19.98 kB / 0.5039 GB, free: 10.91 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.0001557/0.1348, allocations: 181.7 kB / 0.5041 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.1348, allocations: 15.81 kB / 0.5041 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.1355, allocations: 358.7 kB / 0.5044 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1355, allocations: 4 kB / 0.5044 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1356, allocations: 0 / 0.5044 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1356, allocations: 3.938 kB / 0.5044 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.136, allocations: 345.2 kB / 0.5048 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.136, allocations: 4 kB / 0.5048 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.1364, allocations: 107.9 kB / 0.5049 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1364, allocations: 3.938 kB / 0.5049 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.1364, allocations: 11.98 kB / 0.5049 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.1376, allocations: 2.356 MB / 0.5072 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1376, allocations: 0 / 0.5072 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.1381, allocations: 384.4 kB / 0.5076 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.1382, allocations: 96.86 kB / 0.5076 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1382, allocations: 4 kB / 0.5076 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1384, allocations: 11.98 kB / 0.5077 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.1384, allocations: 19.98 kB / 0.5077 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.1385, allocations: 11.98 kB / 0.5077 GB, free: 6.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.117e-05/0.1385, allocations: 99.27 kB / 0.5078 GB, free: 6.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1385, allocations: 0 / 0.5078 GB, free: 6.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000696/0.1392, allocations: 239.5 kB / 0.508 GB, free: 6.496 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.001462/0.1407, allocations: 1.145 MB / 0.5091 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007183/0.1414, allocations: 295.7 kB / 0.5094 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1414, allocations: 0.6875 kB / 0.5094 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.1419, allocations: 180.3 kB / 0.5096 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1422, allocations: 15.94 kB / 0.5096 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.1454, allocations: 2.556 MB / 0.5121 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1458, allocations: 0.7987 MB / 0.5129 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000238/0.146, allocations: 101.7 kB / 0.513 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.1461, allocations: 87.41 kB / 0.5131 GB, free: 1.137 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1461, allocations: 3.938 kB / 0.5131 GB, free: 1.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.1747, allocations: 8.862 MB / 0.5217 GB, free: 8.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.56, allocations: 4.438 kB / 0.5217 GB, free: 8.262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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