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.001228/0.001228, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001239/0.001239, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2104/0.2104, allocations: 43.53 MB / 314.1 MB, free: 464 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.001474/0.001474, allocations: 71.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09954, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003694/0.1033, allocations: 1.838 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.1056, allocations: 1.368 MB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.1057, allocations: 8 kB / 0.4906 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.106, allocations: 55.67 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1063, allocations: 79.56 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.1068, allocations: 227 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000394/0.1072, allocations: 401.7 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.1073, allocations: 52.64 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.1076, allocations: 155.2 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.1078, allocations: 179 kB / 0.4917 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.1079, allocations: 12 kB / 0.4917 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000687/0.1086, allocations: 455.1 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.1088, allocations: 135.4 kB / 0.4922 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.109, allocations: 194.6 kB / 0.4924 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.1097, allocations: 0.6189 MB / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1097, allocations: 0 / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1097, allocations: 0 / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1098, allocations: 0 / 0.493 GB, free: 6.523 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.001114/0.1109, allocations: 0.776 MB / 0.4938 GB, free: 5.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1109, allocations: 12.02 kB / 0.4938 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.111, allocations: 98.7 kB / 0.4939 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.006e-05/0.1111, allocations: 52.28 kB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1115, allocations: 327.3 kB / 0.4942 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.1116, allocations: 29.38 kB / 0.4943 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/0.1116, allocations: 51.92 kB / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009157/0.1126, allocations: 0.6914 MB / 0.495 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1126, allocations: 4 kB / 0.495 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.1126, allocations: 19.94 kB / 0.495 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.1127, allocations: 61.27 kB / 0.4951 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1137, allocations: 0.7233 MB / 0.4958 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.1159, allocations: 1.688 MB / 0.4974 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.1164, allocations: 355.4 kB / 0.4978 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.1167, allocations: 145.2 kB / 0.4979 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.1167, allocations: 12.22 kB / 0.4979 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1168, allocations: 38.8 kB / 0.498 GB, free: 1.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.1168, allocations: 0 / 0.498 GB, free: 1.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009326/0.1177, allocations: 498.7 kB / 0.4984 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1178, allocations: 55.41 kB / 0.4985 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.1182, allocations: 449.6 kB / 0.4989 GB, free: 208 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1182, allocations: 33.7 kB / 0.499 GB, free: 168 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1184, allocations: 263.6 kB / 0.4992 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.1185, allocations: 98.64 kB / 0.4993 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1186, allocations: 85.58 kB / 0.4994 GB, free: 15.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1187, allocations: 354.8 kB / 0.4997 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.119, allocations: 135.9 kB / 0.4998 GB, free: 15.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.1193, allocations: 245.6 kB / 0.5001 GB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.1199, allocations: 438.1 kB / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.12, allocations: 3.938 kB / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007565/0.1207, allocations: 480.6 kB / 0.501 GB, free: 13.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1208, allocations: 10.66 kB / 0.501 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1208, allocations: 7.938 kB / 0.501 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1208, allocations: 4.469 kB / 0.501 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.1214, allocations: 171.8 kB / 0.5011 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.1231, allocations: 3.602 MB / 0.5047 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.1234, allocations: 63.45 kB / 0.5047 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.1234, allocations: 27.94 kB / 0.5048 GB, free: 9.953 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.0002396/0.1237, allocations: 229.3 kB / 0.505 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.1238, allocations: 35.53 kB / 0.505 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009662/0.1247, allocations: 0.5356 MB / 0.5055 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1248, allocations: 0 / 0.5055 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1248, allocations: 4 kB / 0.5055 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1248, allocations: 3.984 kB / 0.5055 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.1253, allocations: 449.1 kB / 0.506 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1253, allocations: 0 / 0.506 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.1258, allocations: 143.9 kB / 0.5061 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1258, allocations: 4 kB / 0.5061 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.1259, allocations: 16 kB / 0.5061 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.1276, allocations: 3.606 MB / 0.5096 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1276, allocations: 0 / 0.5096 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.1285, allocations: 0.6596 MB / 0.5103 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.1287, allocations: 156.5 kB / 0.5104 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.1288, allocations: 4 kB / 0.5104 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.129, allocations: 24.08 kB / 0.5105 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.129, allocations: 23.97 kB / 0.5105 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.1291, allocations: 16 kB / 0.5105 GB, free: 3.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003318/0.1294, allocations: 347.1 kB / 0.5108 GB, free: 3.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1294, allocations: 0 / 0.5108 GB, free: 3.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000506/0.1299, allocations: 163.6 kB / 0.511 GB, free: 3.324 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.001383/0.1313, allocations: 1.286 MB / 0.5122 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009754/0.1323, allocations: 436.3 kB / 0.5127 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1323, allocations: 0 / 0.5127 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.1329, allocations: 259.8 kB / 0.5129 GB, free: 1.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.1333, allocations: 41.44 kB / 0.5129 GB, free: 1.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.1389, allocations: 4.861 MB / 0.5177 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.1394, allocations: 0.9053 MB / 0.5186 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.1397, allocations: 139 kB / 0.5187 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.1399, allocations: 163.4 kB / 0.5189 GB, free: 11.03 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1399, allocations: 4 kB / 0.5189 GB, free: 11.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2256/0.3655, allocations: 11.45 MB / 0.5301 GB, free: 40.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.93, allocations: 14.58 kB / 0.5301 GB, free: 40.36 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