Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.001073/0.001073, allocations: 104 kB / 17.63 MB, free: 5.523 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.001131/0.001131, allocations: 192.1 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.236/0.236, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 60.38 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1025, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003342/0.1059, allocations: 1.771 MB / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.1084, allocations: 1.836 MB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.1085, allocations: 3.938 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1087, allocations: 43.75 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.109, allocations: 79.64 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009705/0.11, allocations: 0.5639 MB / 473.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.1102, allocations: 234.8 kB / 473.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.1103, allocations: 25.66 kB / 473.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1104, allocations: 95.58 kB / 474 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1106, allocations: 115.5 kB / 474.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1106, allocations: 4 kB / 474.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.1121, allocations: 1.154 MB / 475.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.1122, allocations: 67.67 kB / 475.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1123, allocations: 107.2 kB / 475.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009868/0.1133, allocations: 0.7795 MB / 476.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1133, allocations: 8 kB / 476.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1133, allocations: 0 / 476.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1133, allocations: 0 / 476.2 MB, free: 7.352 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009463/0.1143, allocations: 0.5965 MB / 476.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1143, allocations: 12.03 kB / 476.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.58e-05/0.1144, allocations: 66.7 kB / 476.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.1144, allocations: 28.56 kB / 476.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1147, allocations: 235.7 kB / 477.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1147, allocations: 24.44 kB / 477.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.1148, allocations: 16 kB / 477.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.1153, allocations: 376.4 kB / 477.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1154, allocations: 0 / 477.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.1154, allocations: 7.984 kB / 477.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.1155, allocations: 40.62 kB / 477.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.1162, allocations: 386.3 kB / 478 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.1177, allocations: 1.016 MB / 479 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.1183, allocations: 286.2 kB / 479.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.1185, allocations: 92.8 kB / 479.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.1186, allocations: 12.05 kB / 479.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1186, allocations: 38.56 kB / 479.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.1186, allocations: 0 / 479.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007162/0.1193, allocations: 326.8 kB / 479.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1194, allocations: 55.41 kB / 479.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.1197, allocations: 223.7 kB / 480 MB, free: 3.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1197, allocations: 29.7 kB / 480.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.1198, allocations: 148.4 kB / 480.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.1199, allocations: 74.94 kB / 480.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.12, allocations: 57.58 kB / 480.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1201, allocations: 334.8 kB / 480.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.1203, allocations: 71.94 kB / 480.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1205, allocations: 108.1 kB / 480.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.1209, allocations: 200.7 kB / 481 MB, free: 2.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1209, allocations: 0 / 481 MB, free: 2.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000481/0.1214, allocations: 261.1 kB / 481.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1214, allocations: 15.88 kB / 481.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1214, allocations: 4.062 kB / 481.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1214, allocations: 0 / 481.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.1218, allocations: 83.95 kB / 481.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.123, allocations: 2.383 MB / 483.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.1232, allocations: 31.7 kB / 483.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1232, allocations: 12 kB / 483.8 MB, free: 15.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (23): * Single equations (assignments): 19 * 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.000146/0.1234, allocations: 165.9 kB / 484 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.1234, allocations: 23.8 kB / 484 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.1241, allocations: 347.3 kB / 484.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1242, allocations: 4 kB / 484.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1242, allocations: 0 / 484.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1242, allocations: 0 / 484.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.1245, allocations: 317.3 kB / 484.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1245, allocations: 4 kB / 484.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.1249, allocations: 99.88 kB / 484.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1249, allocations: 3.984 kB / 484.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.125, allocations: 8 kB / 484.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.1262, allocations: 2.387 MB / 487.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1262, allocations: 0 / 487.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.1267, allocations: 372 kB / 487.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.1269, allocations: 124.8 kB / 487.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.1269, allocations: 4 kB / 487.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.1271, allocations: 11.98 kB / 487.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.1271, allocations: 15.98 kB / 487.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1272, allocations: 8 kB / 487.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.1273, allocations: 172.2 kB / 487.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1273, allocations: 0 / 487.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.1279, allocations: 159.8 kB / 488 MB, free: 11 MB / 366.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 (25): * Single equations (assignments): 21 * 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.001163/0.129, allocations: 1.034 MB / 489 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007735/0.1298, allocations: 311.7 kB / 489.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1298, allocations: 0 / 489.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.1303, allocations: 163.8 kB / 489.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.1307, allocations: 35.98 kB / 489.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.1342, allocations: 2.823 MB / 492.4 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1345, allocations: 0.7907 MB / 493.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00024/0.1348, allocations: 85.77 kB / 493.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1349, allocations: 79.41 kB / 493.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1349, allocations: 0 / 493.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.165, allocations: 8.597 MB / 0.4902 GB, free: 13.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.36, allocations: 18.58 kB / 0.4902 GB, free: 13.16 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches