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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.00107/0.00107, 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.0011/0.0011, 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.322/1.322, 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.2096/0.2096, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 70.22 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1102, 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_pressureLossCoefficient_DPMFLOW): time 0.003592/0.1139, allocations: 1.67 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1152, allocations: 0.7946 MB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.1153, allocations: 4 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.1156, allocations: 31.77 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1159, allocations: 59.73 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1163, allocations: 91.64 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1165, allocations: 155.2 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.573e-05/0.1166, allocations: 21.11 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1168, allocations: 63.7 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1169, allocations: 67.69 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1169, allocations: 8 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.1173, allocations: 159.8 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.1174, allocations: 35.84 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.1174, allocations: 59.61 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.1178, allocations: 207.5 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1178, allocations: 4 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1178, allocations: 0 / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1178, allocations: 0 / 472.8 MB, free: 10.82 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005941/0.1184, allocations: 458.9 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1185, allocations: 8.031 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.353e-05/0.1185, allocations: 54.72 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005429/0.1191, allocations: 72.67 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.1193, allocations: 212.1 kB / 473.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1193, allocations: 12.38 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1194, allocations: 19.94 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.1198, allocations: 234.5 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1198, allocations: 3.938 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1199, allocations: 4 kB / 473.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.1199, allocations: 19.98 kB / 473.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.1203, allocations: 227.6 kB / 474.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1215, allocations: 0.7362 MB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1217, allocations: 86.52 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1218, allocations: 52.81 kB / 475 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1219, allocations: 0 / 475 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1219, allocations: 38.44 kB / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1219, allocations: 0 / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005017/0.1224, allocations: 161.5 kB / 475.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1224, allocations: 55.41 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1226, allocations: 193.1 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1226, allocations: 29.7 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.1227, allocations: 135.6 kB / 475.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1228, allocations: 31.62 kB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.1228, allocations: 33.7 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.123, allocations: 318.8 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1231, allocations: 43.95 kB / 476 MB, free: 7.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.1233, allocations: 106.8 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.1236, allocations: 159 kB / 476.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1236, allocations: 0 / 476.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003833/0.124, allocations: 197.1 kB / 476.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.124, allocations: 4 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.124, allocations: 0 / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1241, allocations: 4 kB / 476.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.125, allocations: 124 kB / 476.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.1261, allocations: 1.817 MB / 478.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.1263, allocations: 23.77 kB / 478.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1263, allocations: 4 kB / 478.4 MB, free: 4.809 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.00013/0.1265, allocations: 145.7 kB / 478.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.1265, allocations: 11.91 kB / 478.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.1269, allocations: 178.9 kB / 478.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.127, allocations: 4 kB / 478.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.127, allocations: 4 kB / 478.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.127, allocations: 0 / 478.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.1272, allocations: 237.5 kB / 479 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1272, allocations: 0 / 479 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.128, allocations: 107.8 kB / 479.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.128, allocations: 0 / 479.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.128, allocations: 8 kB / 479.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009655/0.129, allocations: 1.782 MB / 480.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.129, allocations: 8.078 kB / 480.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.1294, allocations: 235.3 kB / 481.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.1295, allocations: 92.86 kB / 481.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.1295, allocations: 4 kB / 481.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1296, allocations: 11.98 kB / 481.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1297, allocations: 11.98 kB / 481.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1297, allocations: 7.938 kB / 481.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1298, allocations: 140.9 kB / 481.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1299, allocations: 3.938 kB / 481.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.1302, allocations: 43.91 kB / 481.4 MB, free: 1.633 MB / 350.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 (11): * Single equations (assignments): 8 * 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.0007293/0.1309, allocations: 0.7748 MB / 482.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.1322, allocations: 244 kB / 482.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1322, allocations: 0 / 482.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.1329, allocations: 131.8 kB / 482.6 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1334, allocations: 40.39 kB / 482.6 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.1359, allocations: 2.077 MB / 484.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1362, allocations: 0.7473 MB / 485.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.1364, allocations: 33.39 kB / 485.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.1365, allocations: 39.42 kB / 485.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1365, allocations: 0 / 485.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.1615, allocations: 5.023 MB / 490.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.24, allocations: 25.09 kB / 490.5 MB, free: 8.574 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches