Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001233/0.001233, allocations: 109 kB / 16.41 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.001207/0.001208, allocations: 185.5 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2065/0.2065, allocations: 43.52 MB / 314.1 MB, free: 444 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.00211/0.00211, allocations: 67.89 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1054, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003265/0.1087, allocations: 1.826 MB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1109, allocations: 1.372 MB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.1111, allocations: 4 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1114, allocations: 55.67 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1116, allocations: 91.48 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.1122, allocations: 219 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.1127, allocations: 405.8 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.1128, allocations: 52.7 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.1131, allocations: 147.2 kB / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.1134, allocations: 175 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.1134, allocations: 12 kB / 0.4917 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008259/0.1142, allocations: 467 kB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.1144, allocations: 131.4 kB / 0.4922 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.1147, allocations: 194.6 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.1155, allocations: 0.6224 MB / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1156, allocations: 0 / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1156, allocations: 0 / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1156, allocations: 0 / 0.493 GB, free: 6.492 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001268/0.1169, allocations: 0.7944 MB / 0.4938 GB, free: 5.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1169, allocations: 8.031 kB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.117, allocations: 106.7 kB / 0.4939 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1171, allocations: 52.61 kB / 0.494 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.1176, allocations: 327.5 kB / 0.4943 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.1176, allocations: 29.38 kB / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.1177, allocations: 47.92 kB / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1187, allocations: 0.6914 MB / 0.495 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1187, allocations: 4 kB / 0.495 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.1188, allocations: 20 kB / 0.495 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.24e-05/0.1189, allocations: 57.27 kB / 0.4951 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.12, allocations: 0.731 MB / 0.4958 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.1225, allocations: 1.705 MB / 0.4975 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.1232, allocations: 359.4 kB / 0.4978 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.1235, allocations: 137.2 kB / 0.498 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.1235, allocations: 16.22 kB / 0.498 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1236, allocations: 34.8 kB / 0.498 GB, free: 1.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.1236, allocations: 0 / 0.498 GB, free: 1.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001043/0.1246, allocations: 498.9 kB / 0.4985 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1247, allocations: 55.41 kB / 0.4985 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005296/0.1252, allocations: 457.5 kB / 0.499 GB, free: 132 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.1252, allocations: 29.7 kB / 0.499 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.1255, allocations: 272.1 kB / 0.4993 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.1256, allocations: 103.1 kB / 0.4994 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.1257, allocations: 77.69 kB / 0.4994 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1259, allocations: 354.8 kB / 0.4998 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.1262, allocations: 139.9 kB / 0.4999 GB, free: 15.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.1266, allocations: 249.6 kB / 0.5001 GB, free: 14.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.1273, allocations: 434.1 kB / 0.5005 GB, free: 14.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.1273, allocations: 3.938 kB / 0.5006 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009081/0.1282, allocations: 484.7 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1283, allocations: 8 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1283, allocations: 4 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1283, allocations: 4.469 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.1289, allocations: 171.8 kB / 0.5012 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.1312, allocations: 3.598 MB / 0.5047 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.1315, allocations: 71.53 kB / 0.5048 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.1316, allocations: 27.94 kB / 0.5048 GB, free: 9.875 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002766/0.1319, allocations: 221.5 kB / 0.505 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.1319, allocations: 35.77 kB / 0.505 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.1331, allocations: 0.5356 MB / 0.5056 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1331, allocations: 4 kB / 0.5056 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1331, allocations: 0 / 0.5056 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.1331, allocations: 7.922 kB / 0.5056 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.1338, allocations: 449.1 kB / 0.506 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1338, allocations: 4 kB / 0.506 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.1343, allocations: 139.9 kB / 0.5061 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1343, allocations: 4 kB / 0.5062 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.1344, allocations: 12 kB / 0.5062 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.1366, allocations: 3.614 MB / 0.5097 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.1366, allocations: 4.031 kB / 0.5097 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.1378, allocations: 0.6559 MB / 0.5103 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.138, allocations: 156.8 kB / 0.5105 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.1381, allocations: 12 kB / 0.5105 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1383, allocations: 20.08 kB / 0.5105 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.1384, allocations: 23.97 kB / 0.5105 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.1384, allocations: 16 kB / 0.5106 GB, free: 3.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000409/0.1389, allocations: 343.1 kB / 0.5109 GB, free: 3.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1389, allocations: 3.938 kB / 0.5109 GB, free: 3.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005518/0.1394, allocations: 175.5 kB / 0.5111 GB, free: 3.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001686/0.1411, allocations: 1.282 MB / 0.5123 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.1422, allocations: 440.3 kB / 0.5127 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1423, allocations: 0 / 0.5127 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.1429, allocations: 259.7 kB / 0.513 GB, free: 1.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.1434, allocations: 36.16 kB / 0.513 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006938/0.1503, allocations: 4.88 MB / 0.5178 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.151, allocations: 0.9015 MB / 0.5187 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003492/0.1513, allocations: 143 kB / 0.5188 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.1516, allocations: 167.3 kB / 0.519 GB, free: 10.93 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1516, allocations: 4 kB / 0.519 GB, free: 10.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2279/0.3796, allocations: 11.24 MB / 0.5299 GB, free: 40.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.56, allocations: 14.98 kB / 0.5299 GB, free: 40.29 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches