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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 108.4 kB / 17.09 MB, free: 6.008 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.001686/0.001686, allocations: 195.4 kB / 18.02 MB, free: 5.09 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.517/1.517, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.8 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.00153/0.00153, allocations: 63.91 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1059, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003043/0.109, allocations: 1.821 MB / 0.4904 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.1111, allocations: 1.372 MB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.1112, allocations: 4 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.1115, allocations: 55.67 kB / 0.4918 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1118, allocations: 91.5 kB / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.1124, allocations: 219.1 kB / 0.4921 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.1129, allocations: 397.8 kB / 0.4924 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.1129, allocations: 60.69 kB / 0.4925 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1132, allocations: 151.2 kB / 0.4926 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1135, allocations: 175 kB / 0.4928 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.1135, allocations: 12 kB / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007322/0.1143, allocations: 459 kB / 0.4932 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1144, allocations: 139.4 kB / 0.4934 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.1146, allocations: 190.6 kB / 0.4936 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.1154, allocations: 0.6151 MB / 0.4942 GB, free: 6.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1154, allocations: 0 / 0.4942 GB, free: 6.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1154, allocations: 0 / 0.4942 GB, free: 6.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1155, allocations: 0 / 0.4942 GB, free: 6.012 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.001336/0.1168, allocations: 0.7758 MB / 0.4949 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1169, allocations: 11.89 kB / 0.4949 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.117, allocations: 56.28 kB / 0.495 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.1174, allocations: 327.3 kB / 0.4953 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.1175, allocations: 41.36 kB / 0.4953 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.1175, allocations: 44.12 kB / 0.4954 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1186, allocations: 0.6953 MB / 0.4961 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1186, allocations: 0 / 0.4961 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.1187, allocations: 16 kB / 0.4961 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.531e-05/0.1187, allocations: 57.28 kB / 0.4961 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.1199, allocations: 0.731 MB / 0.4968 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.1222, allocations: 1.696 MB / 0.4985 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.1228, allocations: 363.4 kB / 0.4988 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.1231, allocations: 145.2 kB / 0.499 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.1232, allocations: 8.219 kB / 0.499 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1232, allocations: 38.78 kB / 0.499 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.695e-06/0.1232, allocations: 4 kB / 0.499 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001032/0.1243, allocations: 494.7 kB / 0.4995 GB, free: 300 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1243, allocations: 55.41 kB / 0.4996 GB, free: 232 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.1248, allocations: 449.6 kB / 0.5 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.1249, allocations: 29.7 kB / 0.5 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.1251, allocations: 267.5 kB / 0.5003 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.1251, allocations: 90.66 kB / 0.5004 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.1253, allocations: 89.59 kB / 0.5004 GB, free: 15.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1254, allocations: 354.8 kB / 0.5008 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.1257, allocations: 139.9 kB / 0.5009 GB, free: 14.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.1261, allocations: 249.6 kB / 0.5012 GB, free: 14.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.1268, allocations: 430.1 kB / 0.5016 GB, free: 14.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1268, allocations: 0 / 0.5016 GB, free: 14.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000818/0.1276, allocations: 484.7 kB / 0.502 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.1277, allocations: 7.984 kB / 0.502 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1277, allocations: 7.938 kB / 0.502 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1277, allocations: 8 kB / 0.502 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.1283, allocations: 167.8 kB / 0.5022 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.1303, allocations: 3.602 MB / 0.5057 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.1306, allocations: 59.36 kB / 0.5058 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.1307, allocations: 20 kB / 0.5058 GB, free: 9.547 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.0002774/0.131, allocations: 241.5 kB / 0.506 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.1311, allocations: 39.53 kB / 0.5061 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.1321, allocations: 0.5278 MB / 0.5066 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1321, allocations: 4 kB / 0.5066 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1321, allocations: 0 / 0.5066 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.1323, allocations: 156.5 kB / 0.5067 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.089e-05/0.1324, allocations: 15.84 kB / 0.5068 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1326, allocations: 15.92 kB / 0.5068 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.1327, allocations: 23.97 kB / 0.5068 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001254/0.134, allocations: 0.5719 MB / 0.5073 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001042/0.135, allocations: 0.7372 MB / 0.5081 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000249/0.1353, allocations: 139.9 kB / 0.5082 GB, free: 7.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003555/0.1357, allocations: 351 kB / 0.5085 GB, free: 6.668 MB / 398.1 MB Notification: Performance of Backend: time 5.91e-07/0.1357, allocations: 0 / 0.5085 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.1371, allocations: 473.6 kB / 0.509 GB, free: 6.203 MB / 398.1 MB Notification: Performance of SimCode: time 0.00181/0.1389, allocations: 1.372 MB / 0.5103 GB, free: 4.785 MB / 398.1 MB Notification: Performance of Templates: time 0.01432/0.1533, allocations: 7.361 MB / 0.5175 GB, free: 13.42 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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