Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001535/0.001535, allocations: 109.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.001462/0.001462, allocations: 191.4 kB / 17.34 MB, free: 5.738 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2163/0.2163, allocations: 43.53 MB / 314.1 MB, free: 448 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.002013/0.002013, allocations: 67.89 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1212, allocations: 57.8 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.004268/0.1255, allocations: 1.908 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.128, allocations: 1.134 MB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.664e-05/0.1281, allocations: 0 / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.1285, allocations: 79.58 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1288, allocations: 71.52 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.1295, allocations: 147.4 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.1299, allocations: 262.4 kB / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.13, allocations: 44.69 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.1303, allocations: 103.3 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.1306, allocations: 119.3 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1306, allocations: 8 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007633/0.1314, allocations: 323.5 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1315, allocations: 55.69 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.1317, allocations: 111.2 kB / 0.4917 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008456/0.1325, allocations: 442.1 kB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1325, allocations: 0 / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1325, allocations: 0 / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1326, allocations: 4 kB / 0.4921 GB, free: 7.441 MB / 382.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.001013/0.1336, allocations: 0.5731 MB / 0.4927 GB, free: 6.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.1336, allocations: 15.89 kB / 0.4927 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.1338, allocations: 78.66 kB / 0.4928 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.1339, allocations: 32.75 kB / 0.4928 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.1342, allocations: 232 kB / 0.493 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.1343, allocations: 24.94 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.1343, allocations: 28 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.1354, allocations: 0.4935 MB / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1354, allocations: 0 / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.1355, allocations: 19.94 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.1356, allocations: 24.98 kB / 0.4936 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000966/0.1365, allocations: 427.7 kB / 0.494 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.1386, allocations: 1.186 MB / 0.4951 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.139, allocations: 82.47 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1391, allocations: 40.98 kB / 0.4953 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.1392, allocations: 11.97 kB / 0.4953 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1392, allocations: 34.56 kB / 0.4953 GB, free: 3.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.1393, allocations: 0 / 0.4953 GB, free: 3.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007033/0.14, allocations: 149.6 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.14, allocations: 55.34 kB / 0.4955 GB, free: 3.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.1403, allocations: 166.4 kB / 0.4957 GB, free: 3.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.1403, allocations: 29.64 kB / 0.4957 GB, free: 3.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1405, allocations: 235.8 kB / 0.4959 GB, free: 3.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.1406, allocations: 27.78 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1407, allocations: 57.66 kB / 0.496 GB, free: 3.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1409, allocations: 318.8 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1411, allocations: 51.95 kB / 0.4964 GB, free: 2.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.1415, allocations: 172.2 kB / 0.4965 GB, free: 2.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.142, allocations: 244 kB / 0.4968 GB, free: 2.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.142, allocations: 0 / 0.4968 GB, free: 2.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007427/0.1428, allocations: 253.2 kB / 0.497 GB, free: 2.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1428, allocations: 4 kB / 0.497 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1429, allocations: 4 kB / 0.497 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.081e-05/0.1429, allocations: 8 kB / 0.497 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.1435, allocations: 87.89 kB / 0.4971 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.145, allocations: 1.79 MB / 0.4988 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.1453, allocations: 27.78 kB / 0.4989 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.1453, allocations: 20.22 kB / 0.4989 GB, free: 20 kB / 382.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.0004589/0.1458, allocations: 177.7 kB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.1459, allocations: 11.94 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007445/0.1466, allocations: 201.9 kB / 0.4993 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1467, allocations: 4 kB / 0.4993 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1467, allocations: 0 / 0.4993 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1467, allocations: 0 / 0.4993 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.1473, allocations: 293.5 kB / 0.4995 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1473, allocations: 7.938 kB / 0.4995 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.1476, allocations: 59.97 kB / 0.4996 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1477, allocations: 0 / 0.4996 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.1477, allocations: 7.938 kB / 0.4996 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.1491, allocations: 1.778 MB / 0.5014 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1491, allocations: 480 / 0.5014 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.1497, allocations: 219.5 kB / 0.5016 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.1498, allocations: 93.12 kB / 0.5016 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.1498, allocations: 8 kB / 0.5017 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.15, allocations: 4 kB / 0.5017 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.1501, allocations: 11.98 kB / 0.5017 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1501, allocations: 7.938 kB / 0.5017 GB, free: 12.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1502, allocations: 116.1 kB / 0.5018 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1503, allocations: 0 / 0.5018 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007703/0.151, allocations: 99.61 kB / 0.5019 GB, free: 12.78 MB / 398.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.001147/0.1522, allocations: 0.798 MB / 0.5027 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008451/0.1531, allocations: 184.8 kB / 0.5028 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1531, allocations: 0 / 0.5028 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.1535, allocations: 91.89 kB / 0.5029 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1539, allocations: 8 kB / 0.5029 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.1579, allocations: 2.206 MB / 0.5051 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.1585, allocations: 0.7943 MB / 0.5059 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002625/0.1588, allocations: 65.19 kB / 0.5059 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.159, allocations: 79.41 kB / 0.506 GB, free: 8.316 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.159, allocations: 0 / 0.506 GB, free: 8.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.191, allocations: 5.31 MB / 0.5112 GB, free: 3.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.62, allocations: 8.766 kB / 0.5112 GB, free: 3.004 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches