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.001368/0.001368, allocations: 105 kB / 16.4 MB, free: 6.461 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.001376/0.001376, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.444/1.444, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.21/0.21, allocations: 43.53 MB / 314.1 MB, free: 440 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.001532/0.001533, allocations: 71.91 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1108, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003589/0.1144, allocations: 1.822 MB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1157, allocations: 0.6308 MB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1158, allocations: 0 / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1162, allocations: 51.67 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1164, allocations: 75.58 kB / 0.4899 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.1169, allocations: 115.5 kB / 0.49 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.1173, allocations: 230.8 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.84e-05/0.1174, allocations: 36.27 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.1175, allocations: 87.52 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1177, allocations: 107.4 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.1178, allocations: 8 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.1182, allocations: 223.8 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.136e-05/0.1183, allocations: 55.69 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1184, allocations: 99.3 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.119, allocations: 323 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.119, allocations: 4 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.119, allocations: 0 / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.119, allocations: 0 / 0.4912 GB, free: 8.383 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.0008401/0.1199, allocations: 0.5226 MB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1199, allocations: 15.83 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.12, allocations: 66.72 kB / 0.4918 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.1219, allocations: 200.2 kB / 0.492 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.1224, allocations: 276 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.1224, allocations: 12.94 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.1225, allocations: 24.38 kB / 0.4922 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.1235, allocations: 0.5045 MB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1236, allocations: 0 / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.1236, allocations: 11.94 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.1237, allocations: 32.48 kB / 0.4928 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.1249, allocations: 0.5798 MB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.1273, allocations: 1.169 MB / 0.4945 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.128, allocations: 178.3 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.1284, allocations: 84.75 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1284, allocations: 8 kB / 0.4948 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1284, allocations: 30.56 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1284, allocations: 0 / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.00125/0.1297, allocations: 297.4 kB / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1297, allocations: 51.56 kB / 0.4951 GB, free: 4.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.13, allocations: 278.5 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.13, allocations: 25.7 kB / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1302, allocations: 179.5 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.1302, allocations: 27.56 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.1303, allocations: 33.69 kB / 0.4956 GB, free: 3.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1304, allocations: 330.8 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.1308, allocations: 91.89 kB / 0.496 GB, free: 3.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.1312, allocations: 111.3 kB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007482/0.132, allocations: 215.1 kB / 0.4963 GB, free: 2.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.132, allocations: 0 / 0.4963 GB, free: 2.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009317/0.1329, allocations: 265.2 kB / 0.4966 GB, free: 2.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1329, allocations: 4.094 kB / 0.4966 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.133, allocations: 8 kB / 0.4966 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.133, allocations: 7.938 kB / 0.4966 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005821/0.1388, allocations: 463.3 kB / 0.4971 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.1417, allocations: 1.953 MB / 0.499 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.1421, allocations: 48.02 kB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.1422, allocations: 11.88 kB / 0.499 GB, free: 15.97 MB / 398.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.0001786/0.1424, allocations: 161.6 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.1424, allocations: 15.81 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.1425, allocations: 25.7 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1425, allocations: 0 / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1425, allocations: 4 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1425, allocations: 0 / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.1429, allocations: 301.3 kB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1429, allocations: 0 / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005742/0.1487, allocations: 455.3 kB / 0.4999 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1487, allocations: 0 / 0.4999 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.1487, allocations: 8 kB / 0.5 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.1513, allocations: 1.945 MB / 0.5019 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1514, allocations: 0 / 0.5019 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/0.1522, allocations: 319.2 kB / 0.5022 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.1523, allocations: 96.91 kB / 0.5022 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.1524, allocations: 0 / 0.5022 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.1527, allocations: 23.97 kB / 0.5023 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1528, allocations: 11.97 kB / 0.5023 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.1528, allocations: 3.938 kB / 0.5023 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.153, allocations: 209.9 kB / 0.5025 GB, free: 12.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.153, allocations: 0 / 0.5025 GB, free: 12.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.1534, allocations: 75.84 kB / 0.5026 GB, free: 12.18 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.001198/0.1546, allocations: 0.8682 MB / 0.5034 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006192/0.1608, allocations: 0.589 MB / 0.504 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1608, allocations: 4.062 kB / 0.504 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005622/0.1665, allocations: 0.4952 MB / 0.5045 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.1669, allocations: 51.27 kB / 0.5045 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/0.1719, allocations: 2.96 MB / 0.5074 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1723, allocations: 0.7753 MB / 0.5082 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.1725, allocations: 61.89 kB / 0.5082 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1726, allocations: 63.41 kB / 0.5083 GB, free: 6.164 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1726, allocations: 3.938 kB / 0.5083 GB, free: 6.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.1995, allocations: 8.097 MB / 0.5162 GB, free: 14.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.52, allocations: 17.8 kB / 0.5162 GB, free: 14.05 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