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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001561/0.001561, allocations: 108 kB / 16.41 MB, free: 6.484 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.001231/0.001231, allocations: 188.1 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.444/1.444, 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.2183/0.2183, allocations: 43.52 MB / 314.1 MB, free: 472 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.002271/0.002271, allocations: 72.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1174, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.00356/0.121, allocations: 1.776 MB / 0.4892 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1229, allocations: 1.014 MB / 0.4902 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.592e-05/0.1231, allocations: 4 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.1233, allocations: 55.67 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1236, allocations: 59.66 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.1241, allocations: 119.5 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.1244, allocations: 218.9 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.1245, allocations: 25.66 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1246, allocations: 83.53 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1249, allocations: 107.5 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.1249, allocations: 8 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.1253, allocations: 215.6 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1255, allocations: 43.83 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1256, allocations: 95.34 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.1262, allocations: 302.7 kB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1262, allocations: 3.938 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1262, allocations: 0 / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1262, allocations: 4 kB / 0.4914 GB, free: 8.156 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009532/0.1272, allocations: 0.5448 MB / 0.492 GB, free: 7.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1272, allocations: 12.03 kB / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.507e-05/0.1273, allocations: 58.73 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008799/0.1282, allocations: 144.5 kB / 0.4922 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.1286, allocations: 256 kB / 0.4924 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1286, allocations: 16.81 kB / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.1287, allocations: 24.11 kB / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.1294, allocations: 433.9 kB / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1295, allocations: 0 / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.1295, allocations: 15.98 kB / 0.4929 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.1296, allocations: 24.55 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/0.1303, allocations: 389.9 kB / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.1325, allocations: 1.481 MB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1328, allocations: 102.4 kB / 0.4948 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.133, allocations: 52.81 kB / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.133, allocations: 3.938 kB / 0.4949 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.1331, allocations: 34.56 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.1331, allocations: 0 / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006458/0.1338, allocations: 189.6 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.1339, allocations: 55.34 kB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.1343, allocations: 342.5 kB / 0.4955 GB, free: 3.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1343, allocations: 25.7 kB / 0.4955 GB, free: 3.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1345, allocations: 171.7 kB / 0.4957 GB, free: 3.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.1345, allocations: 31.73 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/0.1346, allocations: 41.7 kB / 0.4957 GB, free: 3.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.1349, allocations: 330.8 kB / 0.496 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.1351, allocations: 67.94 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.1354, allocations: 118 kB / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.1358, allocations: 189.8 kB / 0.4964 GB, free: 2.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.1358, allocations: 4 kB / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005553/0.1364, allocations: 241.4 kB / 0.4966 GB, free: 2.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1364, allocations: 4 kB / 0.4966 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1364, allocations: 4.312 kB / 0.4966 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1364, allocations: 0 / 0.4966 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.1379, allocations: 119.8 kB / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.14, allocations: 1.84 MB / 0.4986 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.1403, allocations: 32.05 kB / 0.4986 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.1404, allocations: 15.98 kB / 0.4986 GB, free: 396 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001977/0.1406, allocations: 173.4 kB / 0.4988 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.1406, allocations: 23.86 kB / 0.4988 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.1412, allocations: 203.1 kB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1412, allocations: 0 / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.1413, allocations: 0 / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1413, allocations: 4 kB / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.1416, allocations: 273.5 kB / 0.4992 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1416, allocations: 0 / 0.4992 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.1429, allocations: 95.81 kB / 0.4993 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.1429, allocations: 4 kB / 0.4993 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.143, allocations: 12 kB / 0.4994 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.1444, allocations: 1.789 MB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1444, allocations: 0 / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.1449, allocations: 259.2 kB / 0.5014 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.145, allocations: 101 kB / 0.5014 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.1451, allocations: 3.984 kB / 0.5015 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.1453, allocations: 8 kB / 0.5015 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.1453, allocations: 12.08 kB / 0.5015 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.1454, allocations: 4 kB / 0.5015 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002853/0.1457, allocations: 253.8 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1457, allocations: 0 / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.146, allocations: 63.94 kB / 0.5018 GB, free: 12.96 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 (11): * Single equations (assignments): 8 * 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.0008824/0.1469, allocations: 0.8138 MB / 0.5026 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002256/0.1492, allocations: 255.5 kB / 0.5028 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1492, allocations: 4 kB / 0.5028 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009581/0.1502, allocations: 107.9 kB / 0.5029 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1505, allocations: 45.23 kB / 0.503 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.1546, allocations: 2.909 MB / 0.5058 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.155, allocations: 0.7791 MB / 0.5066 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.1552, allocations: 54.25 kB / 0.5066 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.1553, allocations: 73.66 kB / 0.5067 GB, free: 7.762 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1553, allocations: 3.938 kB / 0.5067 GB, free: 7.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.1901, allocations: 7.787 MB / 0.5143 GB, free: 15.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.12, allocations: 8.188 kB / 0.5143 GB, free: 15.96 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches