Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.001046/0.001046, allocations: 102.5 kB / 17.63 MB, free: 5.344 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.001121/0.001121, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2055/0.2055, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.22 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002895/0.1214, allocations: 1.822 MB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1233, allocations: 1.324 MB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.1234, allocations: 8 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.1237, allocations: 59.66 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1239, allocations: 83.56 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.1244, allocations: 219.1 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.1247, allocations: 389.8 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.1248, allocations: 56.64 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.125, allocations: 151.2 kB / 473.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.1252, allocations: 175 kB / 473.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.1253, allocations: 12 kB / 473.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006781/0.126, allocations: 463.1 kB / 474.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1261, allocations: 131.4 kB / 474.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1263, allocations: 202.5 kB / 474.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.127, allocations: 0.6114 MB / 475.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.127, allocations: 4 kB / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.127, allocations: 0 / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.127, allocations: 0 / 475.1 MB, free: 8.551 MB / 350.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.001126/0.1282, allocations: 0.7759 MB / 475.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1282, allocations: 12.03 kB / 475.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.467e-05/0.1283, allocations: 98.69 kB / 475.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.1284, allocations: 56.27 kB / 476 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.1288, allocations: 315.4 kB / 476.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.1288, allocations: 37.38 kB / 476.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.1289, allocations: 47.92 kB / 476.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009394/0.1299, allocations: 0.6914 MB / 477.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1299, allocations: 4 kB / 477.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.1299, allocations: 16 kB / 477.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/0.13, allocations: 61.28 kB / 477.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.131, allocations: 0.7233 MB / 477.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.1332, allocations: 1.7 MB / 479.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.1338, allocations: 363.3 kB / 479.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.1341, allocations: 143.1 kB / 480.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.1341, allocations: 12.22 kB / 480.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1342, allocations: 38.78 kB / 480.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/0.1342, allocations: 0 / 480.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009694/0.1352, allocations: 492.2 kB / 480.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1352, allocations: 59.34 kB / 480.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.1357, allocations: 457.4 kB / 481.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1357, allocations: 29.7 kB / 481.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1359, allocations: 271.5 kB / 481.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.1359, allocations: 98.53 kB / 481.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1361, allocations: 81.69 kB / 481.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1362, allocations: 350.8 kB / 481.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.1365, allocations: 135.9 kB / 482.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.1368, allocations: 258.4 kB / 482.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.1374, allocations: 425.5 kB / 482.7 MB, free: 488 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1374, allocations: 3.938 kB / 482.7 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008263/0.1383, allocations: 484.7 kB / 483.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1383, allocations: 6.188 kB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.1383, allocations: 4.469 kB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1384, allocations: 12 kB / 483.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.1389, allocations: 159.7 kB / 483.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.1407, allocations: 3.602 MB / 487 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.141, allocations: 67.27 kB / 487 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.1411, allocations: 27.92 kB / 487.1 MB, free: 11.98 MB / 366.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.0002448/0.1413, allocations: 213.6 kB / 487.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.1414, allocations: 31.62 kB / 487.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1425, allocations: 0.5403 MB / 487.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1425, allocations: 4 kB / 487.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1425, allocations: 4 kB / 487.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1425, allocations: 0 / 487.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.1431, allocations: 457.1 kB / 488.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1431, allocations: 0 / 488.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.1436, allocations: 139.9 kB / 488.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1436, allocations: 4 kB / 488.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.1437, allocations: 12 kB / 488.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.1455, allocations: 3.614 MB / 492.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1455, allocations: 3.984 kB / 492.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.1465, allocations: 0.6521 MB / 492.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.1468, allocations: 160.5 kB / 492.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.1468, allocations: 8 kB / 492.9 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.147, allocations: 11.94 kB / 492.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.1471, allocations: 27.91 kB / 492.9 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.1471, allocations: 19.98 kB / 493 MB, free: 5.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.1475, allocations: 343.1 kB / 493.3 MB, free: 5.523 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.1475, allocations: 0 / 493.3 MB, free: 5.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005516/0.148, allocations: 183.5 kB / 493.5 MB, free: 5.344 MB / 366.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.001623/0.1497, allocations: 1.271 MB / 494.7 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1508, allocations: 0.4924 MB / 495.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1508, allocations: 0 / 495.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007394/0.1516, allocations: 255.7 kB / 495.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.1521, allocations: 39.06 kB / 495.5 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006141/0.1583, allocations: 4.99 MB / 0.4888 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.1589, allocations: 0.9132 MB / 0.4897 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.1593, allocations: 143 kB / 0.4898 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.1595, allocations: 163.4 kB / 0.49 GB, free: 12.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.1595, allocations: 0 / 0.49 GB, free: 12.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/0.196, allocations: 11.03 MB / 0.5007 GB, free: 2.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.56, allocations: 20.38 kB / 0.5007 GB, free: 2.051 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches