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.001145/0.001145, allocations: 107 kB / 17.33 MB, free: 6.023 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.00122/0.00122, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.329/1.329, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2028/0.2028, allocations: 44.17 MB / 336.2 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 64.97 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1045, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003005/0.1075, allocations: 1.894 MB / 470.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1095, allocations: 1.325 MB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1096, allocations: 0 / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.11, allocations: 59.73 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.1103, allocations: 79.62 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.1109, allocations: 195.4 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.1113, allocations: 393.8 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.1114, allocations: 48.73 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.1116, allocations: 151.1 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.1119, allocations: 187.1 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.112, allocations: 8 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006287/0.1126, allocations: 467 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.1128, allocations: 127.4 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1129, allocations: 202.5 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.1136, allocations: 0.6113 MB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1137, allocations: 0 / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1137, allocations: 0 / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.1137, allocations: 3.938 kB / 474.6 MB, free: 8.902 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.001249/0.1149, allocations: 0.776 MB / 475.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.115, allocations: 8.031 kB / 475.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.1151, allocations: 106.7 kB / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.1152, allocations: 52.28 kB / 475.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.1156, allocations: 315.5 kB / 475.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.1156, allocations: 37.36 kB / 475.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.1157, allocations: 43.94 kB / 475.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.1166, allocations: 0.6914 MB / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1166, allocations: 0 / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.1167, allocations: 20 kB / 476.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/0.1167, allocations: 61.27 kB / 476.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009866/0.1177, allocations: 0.7272 MB / 477.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.12, allocations: 1.7 MB / 479.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.1206, allocations: 359.3 kB / 479.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.1209, allocations: 141.2 kB / 479.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.1209, allocations: 12.2 kB / 479.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1209, allocations: 42.8 kB / 479.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.263e-06/0.121, allocations: 0 / 479.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009772/0.1219, allocations: 495.5 kB / 480.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.122, allocations: 51.41 kB / 480.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.1224, allocations: 461.4 kB / 480.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.1225, allocations: 37.64 kB / 480.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1226, allocations: 259.5 kB / 480.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.1227, allocations: 102.6 kB / 481 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1229, allocations: 77.69 kB / 481.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.123, allocations: 350.8 kB / 481.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1233, allocations: 139.9 kB / 481.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.1236, allocations: 254.4 kB / 481.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.1242, allocations: 434.2 kB / 482.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1242, allocations: 3.938 kB / 482.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007877/0.125, allocations: 480.6 kB / 482.7 MB, free: 356 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1251, allocations: 8 kB / 482.7 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.1251, allocations: 4 kB / 482.7 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1251, allocations: 4.469 kB / 482.7 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.1257, allocations: 163.8 kB / 482.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.1275, allocations: 3.606 MB / 486.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.1278, allocations: 63.34 kB / 486.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.1279, allocations: 27.92 kB / 486.6 MB, free: 12.34 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.0002447/0.1281, allocations: 217.6 kB / 486.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.1282, allocations: 35.56 kB / 486.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.1293, allocations: 0.5325 MB / 487.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1293, allocations: 4 kB / 487.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1293, allocations: 0 / 487.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1293, allocations: 7.984 kB / 487.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.1299, allocations: 453.1 kB / 487.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1299, allocations: 4 kB / 487.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.1305, allocations: 139.9 kB / 487.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.1305, allocations: 3.984 kB / 487.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.1305, allocations: 19.98 kB / 488 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.1322, allocations: 3.61 MB / 491.6 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1322, allocations: 0 / 491.6 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.1332, allocations: 0.656 MB / 492.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.1334, allocations: 156.5 kB / 492.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.1335, allocations: 4 kB / 492.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1337, allocations: 19.92 kB / 492.4 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.1338, allocations: 27.91 kB / 492.4 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.1338, allocations: 16 kB / 492.4 MB, free: 6.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003784/0.1342, allocations: 351 kB / 492.8 MB, free: 5.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1342, allocations: 0 / 492.8 MB, free: 5.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006101/0.1348, allocations: 163.5 kB / 493 MB, free: 5.703 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.001481/0.1363, allocations: 1.283 MB / 494.2 MB, free: 4.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.1375, allocations: 0.5041 MB / 494.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1375, allocations: 0 / 494.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005966/0.1381, allocations: 247.8 kB / 495 MB, free: 3.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.1385, allocations: 37.5 kB / 495 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006176/0.1447, allocations: 5.158 MB / 0.4885 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.1452, allocations: 0.9054 MB / 0.4893 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003896/0.1456, allocations: 143 kB / 0.4895 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.1459, allocations: 163.4 kB / 0.4896 GB, free: 13.06 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1459, allocations: 0 / 0.4896 GB, free: 13.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.1788, allocations: 10.89 MB / 0.5003 GB, free: 2.441 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/0.1792, allocations: 288.6 kB / 0.5005 GB, free: 2.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.32, allocations: 4 kB / 0.5005 GB, free: 2.062 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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