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.001708/0.001708, allocations: 104.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.001786/0.001786, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.393/1.393, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2153/0.2153, 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.002068/0.002068, allocations: 71.89 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.111, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003472/0.1145, allocations: 1.823 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004587/0.1191, allocations: 2.906 MB / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1193, allocations: 0 / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.1196, allocations: 47.75 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.1199, allocations: 79.56 kB / 0.4922 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.1217, allocations: 0.7238 MB / 0.4929 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.122, allocations: 242.7 kB / 0.4931 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.1221, allocations: 32.38 kB / 0.4931 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1223, allocations: 99.5 kB / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1225, allocations: 123.4 kB / 0.4933 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1225, allocations: 8 kB / 0.4934 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.1243, allocations: 1.212 MB / 0.4945 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.1244, allocations: 67.69 kB / 0.4946 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1245, allocations: 111.2 kB / 0.4947 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.1258, allocations: 0.9226 MB / 0.4956 GB, free: 3.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1258, allocations: 0 / 0.4956 GB, free: 3.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1258, allocations: 0 / 0.4956 GB, free: 3.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1258, allocations: 0 / 0.4956 GB, free: 3.848 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.001004/0.1268, allocations: 0.6886 MB / 0.4963 GB, free: 3.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1268, allocations: 8.031 kB / 0.4963 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.02e-05/0.1269, allocations: 78.7 kB / 0.4964 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.127, allocations: 32.75 kB / 0.4964 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1273, allocations: 243.2 kB / 0.4966 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1273, allocations: 20.55 kB / 0.4966 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.1273, allocations: 24 kB / 0.4967 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.1281, allocations: 467.2 kB / 0.4971 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1281, allocations: 8 kB / 0.4971 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1281, allocations: 11.98 kB / 0.4971 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.1282, allocations: 48.97 kB / 0.4972 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.1291, allocations: 0.5426 MB / 0.4977 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1309, allocations: 1.308 MB / 0.499 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.1314, allocations: 278.3 kB / 0.4993 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.1316, allocations: 100.7 kB / 0.4994 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.1317, allocations: 11.94 kB / 0.4994 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1317, allocations: 34.55 kB / 0.4994 GB, free: 15.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.303e-06/0.1317, allocations: 0 / 0.4994 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007431/0.1325, allocations: 329.3 kB / 0.4997 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1325, allocations: 55.41 kB / 0.4998 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1326, allocations: 142 kB / 0.4999 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1327, allocations: 29.7 kB / 0.4999 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1328, allocations: 200.7 kB / 0.5001 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.1329, allocations: 91.22 kB / 0.5002 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.133, allocations: 69.66 kB / 0.5003 GB, free: 14.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1331, allocations: 326.8 kB / 0.5006 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1334, allocations: 95.72 kB / 0.5007 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.1337, allocations: 170.2 kB / 0.5008 GB, free: 14.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.1342, allocations: 302.7 kB / 0.5011 GB, free: 13.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1342, allocations: 4 kB / 0.5011 GB, free: 13.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005987/0.1348, allocations: 325.1 kB / 0.5014 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1349, allocations: 8 kB / 0.5014 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1349, allocations: 3.984 kB / 0.5015 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1349, allocations: 8 kB / 0.5015 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.1354, allocations: 115.9 kB / 0.5016 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.1368, allocations: 2.36 MB / 0.5039 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.137, allocations: 43.77 kB / 0.5039 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.1371, allocations: 16 kB / 0.5039 GB, free: 10.86 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.0001798/0.1372, allocations: 181.5 kB / 0.5041 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.1373, allocations: 11.91 kB / 0.5041 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008061/0.1381, allocations: 366.6 kB / 0.5045 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1381, allocations: 4 kB / 0.5045 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1381, allocations: 4 kB / 0.5045 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1381, allocations: 7.922 kB / 0.5045 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.1386, allocations: 337.4 kB / 0.5048 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1386, allocations: 0 / 0.5048 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.139, allocations: 107.9 kB / 0.5049 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.139, allocations: 3.938 kB / 0.5049 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.139, allocations: 8 kB / 0.5049 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.1404, allocations: 2.375 MB / 0.5072 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1404, allocations: 0 / 0.5072 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.141, allocations: 372.2 kB / 0.5076 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.1411, allocations: 96.95 kB / 0.5077 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.1411, allocations: 4 kB / 0.5077 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.1413, allocations: 11.98 kB / 0.5077 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.1414, allocations: 28.03 kB / 0.5077 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1414, allocations: 12 kB / 0.5077 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.232e-05/0.1415, allocations: 103.2 kB / 0.5078 GB, free: 6.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1415, allocations: 0 / 0.5078 GB, free: 6.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006973/0.1422, allocations: 246.8 kB / 0.5081 GB, free: 6.418 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.001484/0.1437, allocations: 1.141 MB / 0.5092 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007556/0.1444, allocations: 300.4 kB / 0.5095 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1444, allocations: 0 / 0.5095 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.1449, allocations: 176.3 kB / 0.5096 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1453, allocations: 19.94 kB / 0.5097 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.1486, allocations: 2.575 MB / 0.5122 GB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.1491, allocations: 0.8025 MB / 0.513 GB, free: 1.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002688/0.1493, allocations: 105.7 kB / 0.5131 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.1495, allocations: 87.41 kB / 0.5131 GB, free: 1.031 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1495, allocations: 0 / 0.5131 GB, free: 1.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.1827, allocations: 8.796 MB / 0.5217 GB, free: 8.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.11, allocations: 448 / 0.5217 GB, free: 8.23 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