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.001156/0.001162, allocations: 111.8 kB / 16.41 MB, free: 6.496 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.001296/0.001297, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2074/0.2074, allocations: 43.52 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.0017/0.0017, allocations: 63.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1084, 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.003238/0.1117, allocations: 1.912 MB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1136, allocations: 1.142 MB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1137, allocations: 4 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1141, allocations: 71.59 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.1143, allocations: 75.52 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.1147, allocations: 151.4 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.1151, allocations: 262.4 kB / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.403e-05/0.1152, allocations: 44.7 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1154, allocations: 111.3 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1156, allocations: 111.4 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.1157, allocations: 4 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.1162, allocations: 323.5 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.1163, allocations: 51.7 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1164, allocations: 119.2 kB / 0.4917 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.1171, allocations: 434.2 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1171, allocations: 7.984 kB / 0.4921 GB, free: 7.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1171, allocations: 0 / 0.4921 GB, free: 7.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.1171, allocations: 0 / 0.4921 GB, free: 7.461 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.0007995/0.1179, allocations: 0.5765 MB / 0.4927 GB, free: 6.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.118, allocations: 15.89 kB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.118, allocations: 74.7 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.1181, allocations: 32.75 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1184, allocations: 232 kB / 0.493 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1184, allocations: 28.94 kB / 0.493 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.1185, allocations: 35.98 kB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/0.1192, allocations: 497.3 kB / 0.4935 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1192, allocations: 3.938 kB / 0.4936 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.1193, allocations: 19.98 kB / 0.4936 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.1193, allocations: 28.92 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.1199, allocations: 419.7 kB / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.1214, allocations: 1.193 MB / 0.4952 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1216, allocations: 78.47 kB / 0.4952 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1217, allocations: 36.83 kB / 0.4953 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.1218, allocations: 15.98 kB / 0.4953 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1218, allocations: 34.55 kB / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1218, allocations: 0 / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004518/0.1223, allocations: 149.6 kB / 0.4955 GB, free: 3.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1223, allocations: 59.28 kB / 0.4955 GB, free: 3.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1225, allocations: 158.4 kB / 0.4957 GB, free: 3.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1225, allocations: 33.7 kB / 0.4957 GB, free: 3.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1226, allocations: 232 kB / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.1227, allocations: 23.8 kB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.1227, allocations: 57.66 kB / 0.496 GB, free: 3.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1229, allocations: 322.8 kB / 0.4963 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.123, allocations: 51.95 kB / 0.4964 GB, free: 2.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1232, allocations: 168.2 kB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.1236, allocations: 252 kB / 0.4968 GB, free: 2.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1236, allocations: 0 / 0.4968 GB, free: 2.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004728/0.1241, allocations: 249.1 kB / 0.497 GB, free: 2.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.1241, allocations: 6.656 kB / 0.497 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1242, allocations: 8 kB / 0.497 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1242, allocations: 7.984 kB / 0.497 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.1245, allocations: 84.47 kB / 0.4971 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009327/0.1255, allocations: 1.789 MB / 0.4988 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.1256, allocations: 40.05 kB / 0.4989 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.1257, 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.0002269/0.1259, allocations: 173.7 kB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1259, allocations: 11.95 kB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.1264, allocations: 202 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1264, allocations: 0 / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1264, allocations: 0 / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1264, allocations: 0 / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1267, allocations: 289.6 kB / 0.4995 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1267, allocations: 3.984 kB / 0.4996 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.1269, allocations: 59.92 kB / 0.4996 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.127, allocations: 3.938 kB / 0.4996 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.127, allocations: 15.92 kB / 0.4996 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008455/0.1278, allocations: 1.766 MB / 0.5014 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1278, allocations: 0 / 0.5014 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.1282, allocations: 232.1 kB / 0.5016 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.1282, allocations: 88.95 kB / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1282, allocations: 4 kB / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.1283, allocations: 7.984 kB / 0.5017 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.1284, allocations: 8 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1284, allocations: 7.984 kB / 0.5017 GB, free: 13.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.6e-05/0.1285, allocations: 112.1 kB / 0.5018 GB, free: 12.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1285, allocations: 0 / 0.5018 GB, free: 12.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.129, allocations: 103.6 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.0007287/0.1297, allocations: 0.7981 MB / 0.5027 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005063/0.1302, allocations: 184.8 kB / 0.5028 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1303, allocations: 4 kB / 0.5028 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.1305, allocations: 91.88 kB / 0.5029 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.1308, allocations: 8 kB / 0.5029 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.1332, allocations: 2.206 MB / 0.5051 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1336, allocations: 0.7982 MB / 0.5059 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.1338, allocations: 61.17 kB / 0.5059 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.1339, allocations: 71.42 kB / 0.506 GB, free: 8.344 MB / 398.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1339, allocations: 4 kB / 0.506 GB, free: 8.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.1575, allocations: 5.309 MB / 0.5112 GB, free: 3.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.62, allocations: 12.77 kB / 0.5112 GB, free: 3.02 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