Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001099/0.001099, allocations: 104.2 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.001199/0.001199, allocations: 191.9 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.351/1.351, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2029/0.2029, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.11 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09909, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003168/0.1023, allocations: 1.899 MB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.104, allocations: 1.098 MB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.1041, allocations: 4 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.1044, allocations: 67.59 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1046, allocations: 79.52 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.1051, allocations: 155.6 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.1054, allocations: 270.4 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.1055, allocations: 36.66 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1056, allocations: 107.4 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.1058, allocations: 119.3 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1059, allocations: 8 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.1064, allocations: 319.5 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.1064, allocations: 55.69 kB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1066, allocations: 115.2 kB / 473.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.1071, allocations: 426.5 kB / 474.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1071, allocations: 0 / 474.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1071, allocations: 4 kB / 474.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1072, allocations: 0 / 474.1 MB, free: 9.492 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0006881/0.1079, allocations: 0.5699 MB / 474.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1079, allocations: 15.97 kB / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.664e-05/0.108, allocations: 70.72 kB / 474.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.108, allocations: 32.56 kB / 474.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1083, allocations: 232 kB / 475 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1083, allocations: 28.92 kB / 475 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.1083, allocations: 32 kB / 475.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.109, allocations: 0.4896 MB / 475.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1091, allocations: 0 / 475.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.1091, allocations: 12 kB / 475.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.1091, allocations: 28.98 kB / 475.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.1098, allocations: 423.7 kB / 476 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.1111, allocations: 1.193 MB / 477.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1113, allocations: 78.47 kB / 477.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1115, allocations: 40.83 kB / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.1115, allocations: 8.141 kB / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1115, allocations: 34.56 kB / 477.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1115, allocations: 0 / 477.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004698/0.112, allocations: 149.5 kB / 477.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1121, allocations: 59.34 kB / 477.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1122, allocations: 168 kB / 477.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1122, allocations: 25.7 kB / 477.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1123, allocations: 223.2 kB / 478 MB, free: 5.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.1124, allocations: 27.64 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.1125, allocations: 57.61 kB / 478.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1126, allocations: 322.8 kB / 478.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1128, allocations: 47.95 kB / 478.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.113, allocations: 172.3 kB / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.1134, allocations: 244 kB / 478.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1134, allocations: 3.938 kB / 478.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004647/0.1139, allocations: 249.1 kB / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1139, allocations: 4 kB / 479.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1139, allocations: 7.938 kB / 479.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1139, allocations: 8.562 kB / 479.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.1143, allocations: 95.89 kB / 479.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009685/0.1152, allocations: 1.785 MB / 481 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1154, allocations: 31.69 kB / 481 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.1154, allocations: 16 kB / 481 MB, free: 2.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.1157, allocations: 179.9 kB / 481.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.1157, allocations: 7.906 kB / 481.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.1163, allocations: 198.1 kB / 481.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1163, allocations: 4 kB / 481.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1163, allocations: 4 kB / 481.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1163, allocations: 3.984 kB / 481.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.1167, allocations: 293.4 kB / 481.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1167, allocations: 0 / 481.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.1169, allocations: 63.91 kB / 481.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1169, allocations: 0 / 481.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.117, allocations: 11.94 kB / 481.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009162/0.1179, allocations: 1.77 MB / 483.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1179, allocations: 480 / 483.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.1183, allocations: 227.7 kB / 483.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.1183, allocations: 84.95 kB / 483.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1184, allocations: 4 kB / 483.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.1185, allocations: 4 kB / 483.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.1185, allocations: 7.984 kB / 483.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1185, allocations: 8 kB / 483.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.317e-05/0.1186, allocations: 118.8 kB / 484 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1187, allocations: 4 kB / 484 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005046/0.1192, allocations: 107.5 kB / 484.1 MB, free: 14.85 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008448/0.12, allocations: 0.7865 MB / 484.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.1206, allocations: 196.4 kB / 485.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1206, allocations: 0 / 485.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.1209, allocations: 95.81 kB / 485.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1212, allocations: 8 kB / 485.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.1243, allocations: 2.202 MB / 487.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.1247, allocations: 0.7904 MB / 488.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.1249, allocations: 61.2 kB / 488.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.1251, allocations: 75.41 kB / 488.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1251, allocations: 0 / 488.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.1495, allocations: 5.19 MB / 493.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.12, allocations: 9.125 kB / 493.5 MB, free: 5.434 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches