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.00152/0.00152, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001379/0.001379, 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.295/1.295, 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.1966/0.1966, allocations: 43.53 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.001285/0.001285, allocations: 68.41 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1, 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.003231/0.1033, allocations: 2.192 MB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.1077, allocations: 3.303 MB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.1079, allocations: 7.938 kB / 0.4928 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1083, allocations: 91.42 kB / 0.4929 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.1087, allocations: 143.2 kB / 0.493 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.1107, allocations: 0.8953 MB / 0.4939 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000556/0.1112, allocations: 0.567 MB / 0.4945 GB, free: 5.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1114, allocations: 85.67 kB / 0.4945 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.1117, allocations: 238.5 kB / 0.4948 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.1121, allocations: 274.5 kB / 0.495 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.1121, allocations: 20 kB / 0.495 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.1146, allocations: 1.945 MB / 0.4969 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1148, allocations: 147.2 kB / 0.4971 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.1151, allocations: 274 kB / 0.4974 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.1173, allocations: 1.682 MB / 0.499 GB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1174, allocations: 0 / 0.499 GB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1174, allocations: 0 / 0.499 GB, free: 388 kB / 382.1 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.1174, allocations: 0 / 0.499 GB, free: 388 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.001911/0.1193, allocations: 1.055 MB / 0.5 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1194, allocations: 12.03 kB / 0.5 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.1196, allocations: 152 kB / 0.5002 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1197, allocations: 76.42 kB / 0.5003 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.1202, allocations: 346.6 kB / 0.5006 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.1203, allocations: 61.98 kB / 0.5006 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.1204, allocations: 72 kB / 0.5007 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1221, allocations: 1.221 MB / 0.5019 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1221, allocations: 0 / 0.5019 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.1222, allocations: 39.98 kB / 0.5019 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.45e-05/0.1223, allocations: 81.94 kB / 0.502 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.1247, allocations: 1.722 MB / 0.5037 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.1291, allocations: 2.936 MB / 0.5066 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.13, allocations: 423.8 kB / 0.507 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.1303, allocations: 145.3 kB / 0.5071 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.1303, allocations: 12.27 kB / 0.5071 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1304, allocations: 38.84 kB / 0.5072 GB, free: 7.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.1304, allocations: 0 / 0.5072 GB, free: 7.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009323/0.1313, allocations: 490.4 kB / 0.5076 GB, free: 7.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1313, allocations: 55.41 kB / 0.5077 GB, free: 7.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1315, allocations: 210.5 kB / 0.5079 GB, free: 6.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1316, allocations: 29.7 kB / 0.5079 GB, free: 6.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.1318, allocations: 403.5 kB / 0.5083 GB, free: 6.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/0.1319, allocations: 126.9 kB / 0.5084 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.1321, allocations: 122.2 kB / 0.5085 GB, free: 6.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1322, allocations: 338.7 kB / 0.5089 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.1325, allocations: 149 kB / 0.509 GB, free: 5.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.1329, allocations: 350.3 kB / 0.5093 GB, free: 5.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.1337, allocations: 0.5288 MB / 0.5098 GB, free: 4.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.1337, allocations: 4 kB / 0.5099 GB, free: 4.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009945/0.1347, allocations: 0.5435 MB / 0.5104 GB, free: 4.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1347, allocations: 8 kB / 0.5104 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1348, allocations: 4 kB / 0.5104 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.1348, allocations: 12.81 kB / 0.5104 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.1355, allocations: 211.8 kB / 0.5106 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.1371, allocations: 2.996 MB / 0.5135 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.1374, allocations: 63.61 kB / 0.5136 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.1375, allocations: 28.28 kB / 0.5136 GB, free: 0.7617 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.0003574/0.1378, allocations: 289.2 kB / 0.5139 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.1379, allocations: 23.86 kB / 0.5139 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.139, allocations: 0.5426 MB / 0.5145 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.139, allocations: 4 kB / 0.5145 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.139, allocations: 0 / 0.5145 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.139, allocations: 7.984 kB / 0.5145 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.1408, allocations: 1.166 MB / 0.5156 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1408, allocations: 7.938 kB / 0.5156 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.1414, allocations: 179.8 kB / 0.5158 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.1415, allocations: 4 kB / 0.5158 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.1415, allocations: 12 kB / 0.5158 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.1429, allocations: 2.962 MB / 0.5187 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1429, allocations: 4.031 kB / 0.5187 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.1436, allocations: 0.4944 MB / 0.5192 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.1437, allocations: 100.9 kB / 0.5193 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1437, allocations: 11.94 kB / 0.5193 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1439, allocations: 19.98 kB / 0.5193 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.144, allocations: 39.95 kB / 0.5193 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.1441, allocations: 16 kB / 0.5194 GB, free: 10.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.591e-05/0.1442, allocations: 135.2 kB / 0.5195 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1442, allocations: 0 / 0.5195 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001015/0.1452, allocations: 358.3 kB / 0.5198 GB, free: 10.13 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.001795/0.147, allocations: 1.293 MB / 0.5211 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.1481, allocations: 475.8 kB / 0.5215 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1481, allocations: 4 kB / 0.5215 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.1487, allocations: 265.4 kB / 0.5218 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1491, allocations: 24 kB / 0.5218 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.1541, allocations: 3.988 MB / 0.5257 GB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.1547, allocations: 0.9829 MB / 0.5267 GB, free: 2.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003943/0.1551, allocations: 170.5 kB / 0.5268 GB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.1554, allocations: 207.4 kB / 0.527 GB, free: 2.363 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1554, allocations: 0 / 0.527 GB, free: 2.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.226/0.3814, allocations: 12.59 MB / 0.5393 GB, free: 39.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.42, allocations: 13.78 kB / 0.5393 GB, free: 39.6 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