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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001674/0.001674, allocations: 109.9 kB / 16.41 MB, free: 6.5 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.001717/0.001718, 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.449/1.449, 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.2112/0.2112, allocations: 43.52 MB / 314.1 MB, free: 476 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.002047/0.002047, allocations: 71.89 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1142, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003502/0.1177, allocations: 1.822 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.119, allocations: 0.6347 MB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.119, allocations: 0 / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1194, allocations: 51.73 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1195, allocations: 67.58 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.12, allocations: 131.5 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.1203, allocations: 230.8 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.429e-05/0.1204, allocations: 24.3 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1205, allocations: 83.52 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1206, allocations: 99.48 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1207, allocations: 12 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.1212, allocations: 231.7 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.1212, allocations: 51.75 kB / 0.4908 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1214, allocations: 99.3 kB / 0.4909 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.1219, allocations: 334.6 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1219, allocations: 0 / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1219, allocations: 0 / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1219, allocations: 0 / 0.4912 GB, free: 8.422 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008079/0.1227, allocations: 0.5333 MB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1228, allocations: 15.89 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.504e-05/0.1229, allocations: 62.72 kB / 0.4918 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.1247, allocations: 212.3 kB / 0.492 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.1251, allocations: 260 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1251, allocations: 24.92 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.1251, allocations: 20.38 kB / 0.4923 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1262, allocations: 0.5045 MB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1262, allocations: 0 / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.1263, allocations: 4 kB / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/0.1263, allocations: 28.55 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1277, allocations: 0.5992 MB / 0.4934 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.1299, allocations: 1.17 MB / 0.4945 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.1306, allocations: 170.4 kB / 0.4947 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.131, allocations: 88.75 kB / 0.4948 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.131, allocations: 0 / 0.4948 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1311, allocations: 34.56 kB / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.1311, allocations: 0 / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001333/0.1324, allocations: 317.3 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1325, allocations: 51.41 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.1328, allocations: 274.6 kB / 0.4954 GB, free: 3.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1328, allocations: 29.7 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.133, allocations: 167.7 kB / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.133, allocations: 31.78 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/0.1331, allocations: 37.69 kB / 0.4957 GB, free: 3.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1333, allocations: 330.8 kB / 0.496 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.1337, allocations: 87.89 kB / 0.4961 GB, free: 3.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.1341, allocations: 119.3 kB / 0.4962 GB, free: 3.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.1349, allocations: 207.1 kB / 0.4964 GB, free: 2.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1349, allocations: 0 / 0.4964 GB, free: 2.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009423/0.1359, allocations: 269.2 kB / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1359, allocations: 6.656 kB / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1359, allocations: 4 kB / 0.4966 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1359, allocations: 96 / 0.4966 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00592/0.1419, allocations: 471.2 kB / 0.4971 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.1449, allocations: 1.949 MB / 0.499 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.1453, allocations: 39.78 kB / 0.499 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.1454, allocations: 8.078 kB / 0.499 GB, free: 4 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002135/0.1456, allocations: 169.7 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.1457, allocations: 23.8 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.1457, allocations: 25.7 kB / 0.4993 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.1458, allocations: 8 kB / 0.4993 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1458, allocations: 0 / 0.4993 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1458, allocations: 0 / 0.4993 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.1462, allocations: 289.4 kB / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1462, allocations: 0 / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005838/0.152, allocations: 459.3 kB / 0.5 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1521, allocations: 0 / 0.5 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.1521, allocations: 7.984 kB / 0.5 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.1551, allocations: 1.941 MB / 0.5019 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1551, allocations: 0 / 0.5019 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/0.1561, allocations: 323.3 kB / 0.5022 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1562, allocations: 100.9 kB / 0.5023 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.1562, allocations: 4 kB / 0.5023 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.1566, allocations: 19.97 kB / 0.5023 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.1567, allocations: 11.97 kB / 0.5023 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.1567, allocations: 15.92 kB / 0.5023 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.157, allocations: 205.9 kB / 0.5025 GB, free: 12.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.157, allocations: 0 / 0.5025 GB, free: 12.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.1573, allocations: 63.89 kB / 0.5026 GB, free: 12.2 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.001383/0.1587, allocations: 0.8761 MB / 0.5034 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00624/0.165, allocations: 0.5889 MB / 0.504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.165, allocations: 0 / 0.504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005624/0.1706, allocations: 0.4916 MB / 0.5045 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.1711, allocations: 56.38 kB / 0.5046 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.1763, allocations: 2.976 MB / 0.5075 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.1767, allocations: 0.7753 MB / 0.5082 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.1769, allocations: 53.92 kB / 0.5083 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.177, allocations: 67.41 kB / 0.5083 GB, free: 6.168 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.177, allocations: 0 / 0.5083 GB, free: 6.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.2118, allocations: 7.937 MB / 0.5161 GB, free: 14.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.08, allocations: 9.922 kB / 0.5161 GB, free: 14.21 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches