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.001129/0.001129, allocations: 106.6 kB / 16.41 MB, free: 6.004 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.001063/0.001063, allocations: 188.8 kB / 17.34 MB, free: 5.617 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1996/0.1996, 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.001689/0.001689, allocations: 67.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.114, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003469/0.1175, allocations: 1.912 MB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1194, allocations: 1.138 MB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1196, allocations: 8 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.1199, allocations: 71.58 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.1202, allocations: 79.52 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.1207, allocations: 155.4 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.121, allocations: 258.5 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.1211, allocations: 36.7 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.1213, allocations: 107.4 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.1215, allocations: 119.3 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1215, allocations: 8 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.1221, allocations: 319.5 kB / 0.4915 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.1222, allocations: 51.64 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1224, allocations: 119.2 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.123, allocations: 438.1 kB / 0.4921 GB, free: 7.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1231, allocations: 0 / 0.4921 GB, free: 7.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1231, allocations: 4 kB / 0.4921 GB, free: 7.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1231, allocations: 0 / 0.4921 GB, free: 7.457 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.000898/0.124, allocations: 0.5765 MB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1241, allocations: 11.89 kB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.025e-05/0.1241, allocations: 78.7 kB / 0.4928 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.1242, allocations: 32.75 kB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1245, allocations: 232 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1246, allocations: 28.94 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.1246, allocations: 36 kB / 0.4931 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.1253, allocations: 493.4 kB / 0.4935 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1254, allocations: 7.938 kB / 0.4935 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.1254, allocations: 8 kB / 0.4936 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.1255, allocations: 32.92 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006517/0.1261, allocations: 431.6 kB / 0.494 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1276, allocations: 1.193 MB / 0.4952 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1278, allocations: 74.53 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.1279, allocations: 40.83 kB / 0.4953 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.128, allocations: 4 kB / 0.4953 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.128, allocations: 34.72 kB / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.128, allocations: 0 / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004634/0.1285, allocations: 153.5 kB / 0.4955 GB, free: 3.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1286, allocations: 59.34 kB / 0.4955 GB, free: 3.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1287, allocations: 162.4 kB / 0.4957 GB, free: 3.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1287, allocations: 33.7 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1289, allocations: 223.8 kB / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.1289, allocations: 31.78 kB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.129, allocations: 53.66 kB / 0.496 GB, free: 3.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1291, allocations: 322.8 kB / 0.4963 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1293, allocations: 51.95 kB / 0.4964 GB, free: 2.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.1295, allocations: 176.1 kB / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.1299, allocations: 248 kB / 0.4968 GB, free: 2.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1299, allocations: 0 / 0.4968 GB, free: 2.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004865/0.1304, allocations: 245.2 kB / 0.497 GB, free: 2.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.1304, allocations: 10.66 kB / 0.497 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1304, allocations: 4 kB / 0.497 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1304, allocations: 4 kB / 0.497 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.1308, allocations: 92.45 kB / 0.4971 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.1318, allocations: 1.789 MB / 0.4988 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.1319, allocations: 36.06 kB / 0.4989 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.132, allocations: 16 kB / 0.4989 GB, free: 32 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.0002838/0.1322, allocations: 173.7 kB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1323, allocations: 11.94 kB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.1328, allocations: 193.9 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1328, allocations: 0 / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1328, allocations: 4 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1328, allocations: 3.984 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.1331, allocations: 293.5 kB / 0.4995 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1331, allocations: 4 kB / 0.4995 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.1334, allocations: 67.91 kB / 0.4996 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1334, allocations: 0 / 0.4996 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.1334, allocations: 7.938 kB / 0.4996 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009778/0.1344, allocations: 1.774 MB / 0.5014 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1344, allocations: 0 / 0.5014 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.1348, allocations: 219.6 kB / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.1348, allocations: 96.94 kB / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1349, allocations: 4 kB / 0.5017 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.135, allocations: 4 kB / 0.5017 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.135, allocations: 7.984 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.135, allocations: 8 kB / 0.5017 GB, free: 13.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.1351, allocations: 116.1 kB / 0.5018 GB, free: 12.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1351, allocations: 0 / 0.5018 GB, free: 12.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.1355, allocations: 95.61 kB / 0.5019 GB, free: 12.8 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.0007977/0.1364, allocations: 0.8102 MB / 0.5027 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005583/0.1369, allocations: 180.8 kB / 0.5028 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1369, allocations: 4 kB / 0.5028 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.1372, allocations: 83.95 kB / 0.5029 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1375, allocations: 19.92 kB / 0.5029 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.1402, allocations: 2.202 MB / 0.5051 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1406, allocations: 0.8021 MB / 0.5059 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.1408, allocations: 57.25 kB / 0.5059 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1409, allocations: 75.41 kB / 0.506 GB, free: 8.336 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1409, allocations: 4 kB / 0.506 GB, free: 8.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.1665, allocations: 5.302 MB / 0.5112 GB, free: 3.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.74, allocations: 16.83 kB / 0.5112 GB, free: 3.012 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