Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.001354/0.00136, allocations: 104.5 kB / 16.41 MB, free: 6.504 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.001296/0.001296, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.396/1.396, 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.2093/0.2093, allocations: 43.52 MB / 314.1 MB, free: 468 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.001979/0.001979, allocations: 67.91 kB / 441.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1122, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003508/0.1158, allocations: 2.18 MB / 0.4896 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004659/0.1205, allocations: 3.311 MB / 0.4928 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1206, allocations: 4 kB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1209, allocations: 91.42 kB / 0.4929 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.1214, allocations: 139.2 kB / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.1231, allocations: 0.8836 MB / 0.4939 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.1238, allocations: 0.5631 MB / 0.4944 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.124, allocations: 89.66 kB / 0.4945 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.1243, allocations: 238.6 kB / 0.4948 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.1246, allocations: 274.5 kB / 0.495 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.1247, allocations: 20 kB / 0.495 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.1275, allocations: 1.949 MB / 0.4969 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1277, allocations: 143.2 kB / 0.4971 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.128, allocations: 274 kB / 0.4973 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.1302, allocations: 1.682 MB / 0.499 GB, free: 412 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1302, allocations: 0 / 0.499 GB, free: 412 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1302, allocations: 4 kB / 0.499 GB, free: 408 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1303, allocations: 4 kB / 0.499 GB, free: 404 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001842/0.1321, allocations: 1.044 MB / 0.5 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1322, allocations: 12.03 kB / 0.5 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.1323, allocations: 152 kB / 0.5002 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.1325, allocations: 80.42 kB / 0.5002 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.1329, allocations: 350.6 kB / 0.5006 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.133, allocations: 58 kB / 0.5006 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.1331, allocations: 71.98 kB / 0.5007 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.1349, allocations: 1.233 MB / 0.5019 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1349, allocations: 0 / 0.5019 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.135, allocations: 35.98 kB / 0.5019 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/0.1351, allocations: 81.95 kB / 0.502 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.1378, allocations: 1.714 MB / 0.5037 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.1424, allocations: 2.936 MB / 0.5066 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009289/0.1434, allocations: 427.8 kB / 0.507 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.1437, allocations: 141.3 kB / 0.5071 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.718e-05/0.1437, allocations: 16.27 kB / 0.5071 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1438, allocations: 34.83 kB / 0.5071 GB, free: 7.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/0.1438, allocations: 3.938 kB / 0.5072 GB, free: 7.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001037/0.1448, allocations: 486.4 kB / 0.5076 GB, free: 7.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1449, allocations: 59.41 kB / 0.5077 GB, free: 7.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1451, allocations: 214.5 kB / 0.5079 GB, free: 6.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1451, allocations: 33.7 kB / 0.5079 GB, free: 6.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.1454, allocations: 395.5 kB / 0.5083 GB, free: 6.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1455, allocations: 134.9 kB / 0.5084 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.1457, allocations: 118.2 kB / 0.5085 GB, free: 6.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1459, allocations: 330.8 kB / 0.5088 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.1462, allocations: 157 kB / 0.509 GB, free: 5.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.1467, allocations: 346.3 kB / 0.5093 GB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008537/0.1475, allocations: 0.5249 MB / 0.5098 GB, free: 4.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.1475, allocations: 4 kB / 0.5098 GB, free: 4.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009609/0.1485, allocations: 0.5442 MB / 0.5104 GB, free: 4.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1485, allocations: 8 kB / 0.5104 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1485, allocations: 8.094 kB / 0.5104 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/0.1486, allocations: 15.98 kB / 0.5104 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.1493, allocations: 207.8 kB / 0.5106 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.151, allocations: 2.997 MB / 0.5135 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.1513, allocations: 59.61 kB / 0.5136 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.1514, allocations: 32 kB / 0.5136 GB, free: 0.7812 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004377/0.1518, allocations: 281.2 kB / 0.5139 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.1519, allocations: 23.86 kB / 0.5139 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.1531, allocations: 0.5465 MB / 0.5144 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1531, allocations: 8 kB / 0.5144 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1531, allocations: 4 kB / 0.5144 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1531, allocations: 0 / 0.5144 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.155, allocations: 1.165 MB / 0.5156 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.155, allocations: 3.938 kB / 0.5156 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.1556, allocations: 175.8 kB / 0.5158 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1556, allocations: 4 kB / 0.5158 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.1556, allocations: 19.98 kB / 0.5158 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.1576, allocations: 2.966 MB / 0.5187 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1576, allocations: 0 / 0.5187 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008066/0.1584, allocations: 0.4945 MB / 0.5192 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/0.1585, allocations: 104.9 kB / 0.5193 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.1586, allocations: 15.94 kB / 0.5193 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1587, allocations: 12 kB / 0.5193 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/0.1588, allocations: 39.95 kB / 0.5193 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.1589, allocations: 20 kB / 0.5193 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.159, allocations: 131.2 kB / 0.5195 GB, free: 10.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.159, allocations: 0 / 0.5195 GB, free: 10.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001045/0.16, allocations: 358.3 kB / 0.5198 GB, free: 10.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/0.1619, allocations: 1.293 MB / 0.5211 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.163, allocations: 481 kB / 0.5215 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.163, allocations: 0 / 0.5215 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.1636, allocations: 263.8 kB / 0.5218 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.164, allocations: 31.92 kB / 0.5218 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005425/0.1694, allocations: 3.976 MB / 0.5257 GB, free: 3.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007109/0.1701, allocations: 0.9829 MB / 0.5267 GB, free: 2.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004307/0.1706, allocations: 170.6 kB / 0.5268 GB, free: 2.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.1709, allocations: 211.4 kB / 0.527 GB, free: 2.387 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1709, allocations: 0 / 0.527 GB, free: 2.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2302/0.401, allocations: 12.59 MB / 0.5393 GB, free: 39.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.17, allocations: 8.25 kB / 0.5393 GB, free: 39.54 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches