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.001137/0.001137, allocations: 102 kB / 16.41 MB, free: 6.457 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.001177/0.001177, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.293/1.293, 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.1911/0.1911, allocations: 43.52 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.001482/0.001482, allocations: 69.47 kB / 441.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/0.1001, allocations: 57.79 MB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002972/0.1031, allocations: 1.822 MB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.1051, allocations: 1.38 MB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1053, allocations: 0 / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1056, allocations: 63.61 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.106, allocations: 91.55 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.1066, allocations: 231 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.107, allocations: 397.8 kB / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1071, allocations: 52.7 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.1074, allocations: 151.2 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.1078, allocations: 171.1 kB / 0.4917 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.1078, allocations: 12 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000765/0.1086, allocations: 471 kB / 0.4921 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.1088, allocations: 131.4 kB / 0.4922 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.109, allocations: 194.6 kB / 0.4924 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008522/0.1099, allocations: 0.6185 MB / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1099, allocations: 0 / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1099, allocations: 0 / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1099, allocations: 0 / 0.493 GB, free: 6.461 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.001241/0.1112, allocations: 0.8018 MB / 0.4938 GB, free: 5.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1112, allocations: 8.031 kB / 0.4938 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.1113, allocations: 98.7 kB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1114, allocations: 52.61 kB / 0.494 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.1119, allocations: 327.4 kB / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.112, allocations: 33.38 kB / 0.4943 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.1121, allocations: 43.94 kB / 0.4944 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.1131, allocations: 0.6992 MB / 0.495 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1132, allocations: 0 / 0.495 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.1132, allocations: 16 kB / 0.4951 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.463e-05/0.1133, allocations: 61.22 kB / 0.4951 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.1144, allocations: 0.7272 MB / 0.4958 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.1169, allocations: 1.705 MB / 0.4975 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.1175, allocations: 363.4 kB / 0.4978 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.1177, allocations: 137.2 kB / 0.498 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.1178, allocations: 16.22 kB / 0.498 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1178, allocations: 34.8 kB / 0.498 GB, free: 1.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.1178, allocations: 0 / 0.498 GB, free: 1.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001004/0.1188, allocations: 0.4911 MB / 0.4985 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1189, allocations: 55.41 kB / 0.4985 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.1194, allocations: 453.5 kB / 0.499 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1194, allocations: 29.7 kB / 0.499 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.1196, allocations: 272.1 kB / 0.4993 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.1197, allocations: 103.1 kB / 0.4994 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1198, allocations: 77.69 kB / 0.4994 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1199, allocations: 354.8 kB / 0.4998 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.1202, allocations: 139.9 kB / 0.4999 GB, free: 15.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.1205, allocations: 253.5 kB / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.1212, allocations: 426.2 kB / 0.5006 GB, free: 14.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1212, allocations: 7.875 kB / 0.5006 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008115/0.122, allocations: 484.8 kB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.122, allocations: 8 kB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1221, allocations: 8.453 kB / 0.501 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1221, allocations: 8 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.1227, allocations: 167.8 kB / 0.5012 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.1245, allocations: 3.606 MB / 0.5047 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.1248, allocations: 63.5 kB / 0.5048 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.1249, allocations: 27.94 kB / 0.5048 GB, free: 9.84 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.0002326/0.1251, allocations: 217.5 kB / 0.505 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.1252, allocations: 39.75 kB / 0.5051 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009846/0.1262, allocations: 0.5396 MB / 0.5056 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1262, allocations: 4 kB / 0.5056 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1262, allocations: 3.938 kB / 0.5056 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1262, allocations: 0 / 0.5056 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.1267, allocations: 457.1 kB / 0.506 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1268, allocations: 0 / 0.506 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.1273, allocations: 139.9 kB / 0.5062 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1273, allocations: 0 / 0.5062 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.1273, allocations: 16 kB / 0.5062 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.129, allocations: 3.61 MB / 0.5097 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1291, allocations: 0 / 0.5097 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.13, allocations: 0.6599 MB / 0.5104 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.1303, allocations: 156.8 kB / 0.5105 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.1303, allocations: 11.98 kB / 0.5105 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1305, allocations: 16.09 kB / 0.5105 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.1306, allocations: 23.97 kB / 0.5106 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.1307, allocations: 19.98 kB / 0.5106 GB, free: 3.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003344/0.131, allocations: 347 kB / 0.5109 GB, free: 3.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.131, allocations: 0 / 0.5109 GB, free: 3.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005177/0.1315, allocations: 171.5 kB / 0.5111 GB, free: 3.199 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.001457/0.133, allocations: 1.282 MB / 0.5123 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009989/0.134, allocations: 440.3 kB / 0.5127 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.134, allocations: 4 kB / 0.5127 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.1346, allocations: 259.7 kB / 0.513 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.135, allocations: 36.16 kB / 0.513 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.1409, allocations: 4.872 MB / 0.5178 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.1415, allocations: 0.9093 MB / 0.5187 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.1418, allocations: 139 kB / 0.5188 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.142, allocations: 171.3 kB / 0.519 GB, free: 10.89 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.142, allocations: 0 / 0.519 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2425/0.3845, allocations: 11.23 MB / 0.5299 GB, free: 40.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 9.641 kB / 0.5299 GB, free: 40.23 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