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.001333/0.001333, allocations: 103.8 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.001407/0.001407, 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.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2081/0.2081, 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.002134/0.002134, allocations: 67.91 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1159, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003605/0.1196, allocations: 1.825 MB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.122, allocations: 1.376 MB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1221, allocations: 0 / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1225, allocations: 67.64 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1228, allocations: 83.52 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.1234, allocations: 227 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.1239, allocations: 397.8 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.124, allocations: 48.72 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.1243, allocations: 151.2 kB / 0.4915 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.1246, allocations: 175.1 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.1247, allocations: 8 kB / 0.4917 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008183/0.1255, allocations: 471 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.1257, allocations: 127.4 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1259, allocations: 202.6 kB / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008812/0.1268, allocations: 0.6185 MB / 0.493 GB, free: 6.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1268, allocations: 0 / 0.493 GB, free: 6.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1268, allocations: 0 / 0.493 GB, free: 6.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1268, allocations: 0 / 0.493 GB, free: 6.473 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.001313/0.1282, allocations: 0.7944 MB / 0.4938 GB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1282, allocations: 12.03 kB / 0.4938 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.1283, allocations: 102.6 kB / 0.4939 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1284, allocations: 52.61 kB / 0.494 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.1289, allocations: 319.5 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.1289, allocations: 33.38 kB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.129, allocations: 47.92 kB / 0.4944 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1301, allocations: 0.6992 MB / 0.495 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1301, allocations: 0 / 0.495 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.1302, allocations: 23.98 kB / 0.4951 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.7e-05/0.1302, allocations: 65.2 kB / 0.4951 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.1314, allocations: 0.7234 MB / 0.4958 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.134, allocations: 1.701 MB / 0.4975 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.1347, allocations: 355.4 kB / 0.4978 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.135, allocations: 141.2 kB / 0.498 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/0.1351, allocations: 16.2 kB / 0.498 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1351, allocations: 30.8 kB / 0.498 GB, free: 1.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.1351, allocations: 4 kB / 0.498 GB, free: 1.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.00107/0.1362, allocations: 498.9 kB / 0.4985 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.1363, allocations: 55.41 kB / 0.4985 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.1369, allocations: 453.5 kB / 0.499 GB, free: 116 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1369, allocations: 33.69 kB / 0.499 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.1371, allocations: 264.1 kB / 0.4993 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/0.1372, allocations: 107.1 kB / 0.4994 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1373, allocations: 81.69 kB / 0.4994 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1375, allocations: 350.8 kB / 0.4998 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.1378, allocations: 139.9 kB / 0.4999 GB, free: 15.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.1382, allocations: 257.5 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.139, allocations: 426.2 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.139, allocations: 3.938 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008594/0.1398, allocations: 492.7 kB / 0.501 GB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.1399, allocations: 7.938 kB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1399, allocations: 4 kB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1399, allocations: 4 kB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.1405, allocations: 160.3 kB / 0.5012 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.1428, allocations: 3.61 MB / 0.5047 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.1431, allocations: 67.8 kB / 0.5048 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.1431, allocations: 27.92 kB / 0.5048 GB, free: 9.855 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.0002703/0.1434, allocations: 217.5 kB / 0.505 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.1435, allocations: 35.77 kB / 0.5051 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1446, allocations: 0.5434 MB / 0.5056 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1446, allocations: 4 kB / 0.5056 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1446, allocations: 0 / 0.5056 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1446, allocations: 3.984 kB / 0.5056 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.1452, allocations: 457.1 kB / 0.506 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1452, allocations: 0 / 0.506 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.1458, allocations: 139.9 kB / 0.5062 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.1458, allocations: 4 kB / 0.5062 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1458, allocations: 19.98 kB / 0.5062 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.148, allocations: 3.606 MB / 0.5097 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.148, allocations: 4.094 kB / 0.5097 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1491, allocations: 0.6559 MB / 0.5104 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.1494, allocations: 156.8 kB / 0.5105 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.1494, allocations: 11.94 kB / 0.5105 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1496, allocations: 15.92 kB / 0.5105 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.1497, allocations: 32.03 kB / 0.5106 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.1498, allocations: 12 kB / 0.5106 GB, free: 3.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004018/0.1502, allocations: 343.1 kB / 0.5109 GB, free: 3.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1502, allocations: 0 / 0.5109 GB, free: 3.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005374/0.1507, allocations: 175.5 kB / 0.5111 GB, free: 3.211 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.001764/0.1525, allocations: 1.278 MB / 0.5123 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.1536, allocations: 439.5 kB / 0.5127 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1537, allocations: 0.9375 kB / 0.5127 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.1543, allocations: 259.7 kB / 0.513 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.1548, allocations: 40.14 kB / 0.513 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006936/0.1617, allocations: 4.872 MB / 0.5178 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.1624, allocations: 0.9015 MB / 0.5187 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.1627, allocations: 142.9 kB / 0.5188 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.163, allocations: 171.3 kB / 0.519 GB, free: 10.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.163, allocations: 0 / 0.519 GB, free: 10.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2412/0.4042, allocations: 11.23 MB / 0.5299 GB, free: 40.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.57, allocations: 9.875 kB / 0.5299 GB, free: 40.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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