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.001242/0.001242, allocations: 106.1 kB / 16.4 MB, free: 6.512 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.001227/0.001227, allocations: 188.2 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.381/1.381, 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.2195/0.2195, 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.002012/0.002012, allocations: 67.89 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1083, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003245/0.1115, allocations: 1.83 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1127, allocations: 0.6308 MB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.1128, allocations: 0 / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1131, allocations: 55.67 kB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1133, allocations: 63.59 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1137, allocations: 123.5 kB / 0.4901 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.114, allocations: 230.8 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.055e-05/0.114, allocations: 36.27 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1141, allocations: 87.52 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1143, allocations: 107.4 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1143, allocations: 4 kB / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.1147, allocations: 219.8 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.1148, allocations: 55.75 kB / 0.4908 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1149, allocations: 107.2 kB / 0.4909 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.1154, allocations: 326.7 kB / 0.4912 GB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1154, allocations: 0 / 0.4912 GB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1154, allocations: 0 / 0.4912 GB, free: 8.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1154, allocations: 4 kB / 0.4912 GB, free: 8.43 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.0007285/0.1162, allocations: 0.53 MB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1162, allocations: 15.89 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.781e-05/0.1163, allocations: 58.72 kB / 0.4918 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.1181, allocations: 208.3 kB / 0.492 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.1184, allocations: 272 kB / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1185, allocations: 20.92 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.1185, allocations: 16.38 kB / 0.4923 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000995/0.1195, allocations: 0.5045 MB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1195, allocations: 0 / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.1196, allocations: 19.94 kB / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.1196, allocations: 28.53 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.121, allocations: 0.5798 MB / 0.4934 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.1232, allocations: 1.174 MB / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.1239, allocations: 174.3 kB / 0.4947 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.1243, allocations: 92.75 kB / 0.4948 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1244, allocations: 4.141 kB / 0.4948 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1244, allocations: 34.56 kB / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.1244, allocations: 0 / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001263/0.1257, allocations: 297.2 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1257, allocations: 51.41 kB / 0.4951 GB, free: 4.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.126, allocations: 278.6 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.126, allocations: 33.7 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1262, allocations: 167.7 kB / 0.4956 GB, free: 3.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1262, allocations: 23.8 kB / 0.4956 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.1263, allocations: 37.69 kB / 0.4957 GB, free: 3.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1265, allocations: 338.8 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.1269, allocations: 87.89 kB / 0.4961 GB, free: 3.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.1273, allocations: 119.3 kB / 0.4962 GB, free: 3.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007671/0.128, allocations: 211.1 kB / 0.4964 GB, free: 2.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1281, allocations: 4 kB / 0.4964 GB, free: 2.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008825/0.1289, allocations: 261.3 kB / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.129, allocations: 12 kB / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.129, allocations: 0 / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.129, allocations: 0 / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005832/0.1348, allocations: 459.3 kB / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.1377, allocations: 1.949 MB / 0.499 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.1381, allocations: 51.91 kB / 0.499 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.1382, allocations: 7.984 kB / 0.499 GB, free: 12 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.0002151/0.1384, allocations: 165.5 kB / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.1384, allocations: 19.86 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.759e-05/0.1385, allocations: 29.7 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1385, allocations: 0 / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1385, allocations: 4 kB / 0.4992 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1386, allocations: 4 kB / 0.4993 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.1389, allocations: 293.4 kB / 0.4995 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1389, allocations: 0 / 0.4995 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005668/0.1446, allocations: 451.3 kB / 0.5 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1446, allocations: 4 kB / 0.5 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.1447, allocations: 0 / 0.5 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/0.1475, allocations: 1.949 MB / 0.5019 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1475, allocations: 8.438 kB / 0.5019 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008612/0.1483, allocations: 319.2 kB / 0.5022 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.1484, allocations: 104.9 kB / 0.5023 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.1485, allocations: 4 kB / 0.5023 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.1488, allocations: 15.97 kB / 0.5023 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.1489, allocations: 11.97 kB / 0.5023 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1489, allocations: 7.938 kB / 0.5023 GB, free: 12.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.1491, allocations: 209.9 kB / 0.5025 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1492, allocations: 4 kB / 0.5025 GB, free: 12.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.1495, allocations: 71.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.001291/0.1508, allocations: 0.8644 MB / 0.5034 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006099/0.1569, allocations: 0.5967 MB / 0.504 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1569, allocations: 0 / 0.504 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005542/0.1625, allocations: 495.4 kB / 0.5045 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1629, allocations: 59.19 kB / 0.5045 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.1678, allocations: 2.979 MB / 0.5075 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.1682, allocations: 0.7714 MB / 0.5082 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.1684, allocations: 53.91 kB / 0.5083 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.1685, allocations: 71.28 kB / 0.5083 GB, free: 6.176 MB / 398.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1685, allocations: 0 / 0.5083 GB, free: 6.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.2025, allocations: 7.93 MB / 0.5161 GB, free: 14.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.11, allocations: 17.88 kB / 0.5161 GB, free: 14.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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