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.001138/0.001138, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001252/0.001252, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.398/1.398, 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.2026/0.2026, allocations: 43.53 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.001465/0.001465, allocations: 67.91 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1013, allocations: 57.78 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002982/0.1043, allocations: 1.838 MB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.1066, allocations: 1.376 MB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1068, allocations: 0 / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.1072, allocations: 55.67 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.1076, allocations: 91.48 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000798/0.1084, allocations: 223 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.1089, allocations: 397.8 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.109, allocations: 52.7 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.1094, allocations: 155.2 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.1097, allocations: 179 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.1097, allocations: 8 kB / 0.4917 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007504/0.1105, allocations: 463 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.1107, allocations: 135.4 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1109, allocations: 194.6 kB / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008432/0.1117, allocations: 0.6111 MB / 0.493 GB, free: 6.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1117, allocations: 4 kB / 0.493 GB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1117, allocations: 0 / 0.493 GB, free: 6.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.1117, allocations: 0 / 0.493 GB, free: 6.484 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.001342/0.1131, allocations: 0.7795 MB / 0.4938 GB, free: 5.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1131, allocations: 12.03 kB / 0.4938 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.1133, allocations: 102.7 kB / 0.4939 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.794e-05/0.1134, allocations: 52.28 kB / 0.4939 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.1138, allocations: 327.3 kB / 0.4943 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.1139, allocations: 29.38 kB / 0.4943 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.114, allocations: 47.92 kB / 0.4943 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.1149, allocations: 0.6953 MB / 0.495 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.115, allocations: 3.984 kB / 0.495 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.115, allocations: 16 kB / 0.495 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/0.1151, allocations: 61.22 kB / 0.4951 GB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1162, allocations: 0.7272 MB / 0.4958 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.1187, allocations: 1.688 MB / 0.4974 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.1193, allocations: 359.4 kB / 0.4978 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.1196, allocations: 141.2 kB / 0.4979 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.1196, allocations: 12.22 kB / 0.4979 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1197, allocations: 34.8 kB / 0.498 GB, free: 1.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.883e-06/0.1197, allocations: 0 / 0.498 GB, free: 1.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001029/0.1207, allocations: 498.7 kB / 0.4984 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1208, allocations: 59.39 kB / 0.4985 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.1213, allocations: 449.6 kB / 0.4989 GB, free: 164 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1213, allocations: 29.7 kB / 0.499 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.1215, allocations: 275.4 kB / 0.4992 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1217, allocations: 90.66 kB / 0.4993 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1218, allocations: 85.59 kB / 0.4994 GB, free: 15.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.122, allocations: 350.8 kB / 0.4997 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.1223, allocations: 139.9 kB / 0.4999 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.1227, allocations: 253.5 kB / 0.5001 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.1234, allocations: 426.2 kB / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.1234, allocations: 3.938 kB / 0.5005 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009571/0.1244, allocations: 480.6 kB / 0.501 GB, free: 13.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.1244, allocations: 11.94 kB / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1244, allocations: 4.469 kB / 0.501 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.1245, allocations: 11.98 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.1251, allocations: 167.8 kB / 0.5011 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.1272, allocations: 3.606 MB / 0.5047 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.1275, allocations: 63.36 kB / 0.5047 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.1275, allocations: 23.94 kB / 0.5048 GB, free: 9.914 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.0002219/0.1277, allocations: 221.4 kB / 0.505 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.1278, allocations: 39.52 kB / 0.505 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.1289, allocations: 0.5356 MB / 0.5055 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1289, allocations: 4 kB / 0.5055 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1289, allocations: 3.984 kB / 0.5055 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1289, allocations: 0 / 0.5055 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.1296, allocations: 453.1 kB / 0.506 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1296, allocations: 3.984 kB / 0.506 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/0.1301, allocations: 135.9 kB / 0.5061 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.1302, allocations: 4 kB / 0.5061 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.1302, allocations: 15.94 kB / 0.5061 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.1322, allocations: 3.606 MB / 0.5096 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1322, allocations: 4.031 kB / 0.5096 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1332, allocations: 0.6556 MB / 0.5103 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.1335, allocations: 156.5 kB / 0.5104 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.1336, allocations: 12.16 kB / 0.5104 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1338, allocations: 15.92 kB / 0.5105 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.1339, allocations: 27.97 kB / 0.5105 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.1339, allocations: 15.94 kB / 0.5105 GB, free: 3.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003913/0.1343, allocations: 347.1 kB / 0.5108 GB, free: 3.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1343, allocations: 0 / 0.5108 GB, free: 3.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.1349, allocations: 171.6 kB / 0.511 GB, free: 3.277 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.001535/0.1364, allocations: 1.271 MB / 0.5122 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.1375, allocations: 444.3 kB / 0.5127 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1375, allocations: 4.062 kB / 0.5127 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.1382, allocations: 255.7 kB / 0.5129 GB, free: 1.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.1386, allocations: 36.16 kB / 0.5129 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006289/0.1449, allocations: 4.857 MB / 0.5177 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.1454, allocations: 0.9015 MB / 0.5186 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.1458, allocations: 143 kB / 0.5187 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.146, allocations: 171.3 kB / 0.5189 GB, free: 11 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.146, allocations: 0 / 0.5189 GB, free: 11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2401/0.3861, allocations: 11.46 MB / 0.5301 GB, free: 40.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.3, allocations: 9.062 kB / 0.5301 GB, free: 40.18 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