Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 108.8 kB / 17.09 MB, free: 6.004 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.001856/0.001856, allocations: 195.3 kB / 18.02 MB, free: 5.094 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.648/1.648, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.2176/0.2176, allocations: 43.52 MB / 314.8 MB, free: 472 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.001322/0.001322, allocations: 75.83 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002754/0.1217, allocations: 1.666 MB / 0.4902 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1232, allocations: 0.8422 MB / 0.491 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.1233, allocations: 0 / 0.491 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1235, allocations: 39.83 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.1237, allocations: 55.67 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.124, allocations: 95.62 kB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1242, allocations: 155.2 kB / 0.4914 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.1243, allocations: 24.86 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1244, allocations: 59.77 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1246, allocations: 71.61 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1246, allocations: 4 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.1249, allocations: 163.8 kB / 0.4917 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.125, allocations: 35.89 kB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.1251, allocations: 63.56 kB / 0.4918 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1254, allocations: 203.4 kB / 0.492 GB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1254, allocations: 0 / 0.492 GB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1254, allocations: 0 / 0.492 GB, free: 8.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1254, allocations: 4 kB / 0.492 GB, free: 8.301 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005092/0.1259, allocations: 458.9 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.126, allocations: 11.89 kB / 0.4924 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005273/0.1265, allocations: 76.59 kB / 0.4925 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1267, allocations: 220.1 kB / 0.4927 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1267, allocations: 8.375 kB / 0.4927 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.1268, allocations: 12.12 kB / 0.4927 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.1272, allocations: 241.5 kB / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1272, allocations: 0 / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1272, allocations: 4 kB / 0.4929 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.1273, allocations: 19.92 kB / 0.493 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.1277, allocations: 227.8 kB / 0.4932 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.1289, allocations: 0.7245 MB / 0.4939 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.1291, allocations: 86.5 kB / 0.494 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.1293, allocations: 44.83 kB / 0.494 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1293, allocations: 8.141 kB / 0.494 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1293, allocations: 38.5 kB / 0.4941 GB, free: 5.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1293, allocations: 0 / 0.4941 GB, free: 5.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005117/0.1298, allocations: 169.4 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.1299, allocations: 51.41 kB / 0.4943 GB, free: 5.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.1301, allocations: 195.2 kB / 0.4945 GB, free: 5.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1301, allocations: 29.7 kB / 0.4945 GB, free: 5.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.1302, allocations: 139.5 kB / 0.4946 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.1302, allocations: 23.64 kB / 0.4946 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.1303, allocations: 33.7 kB / 0.4947 GB, free: 5.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1304, allocations: 326.8 kB / 0.495 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1306, allocations: 43.95 kB / 0.495 GB, free: 4.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1308, allocations: 98.81 kB / 0.4951 GB, free: 4.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.1311, allocations: 158.7 kB / 0.4953 GB, free: 4.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1311, allocations: 0 / 0.4953 GB, free: 4.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003756/0.1315, allocations: 185.3 kB / 0.4954 GB, free: 4.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1315, allocations: 10.59 kB / 0.4955 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1315, allocations: 4 kB / 0.4955 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1316, allocations: 4 kB / 0.4955 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/0.1325, allocations: 123.8 kB / 0.4956 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.1338, allocations: 1.825 MB / 0.4974 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1339, allocations: 15.84 kB / 0.4974 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1339, allocations: 11.98 kB / 0.4974 GB, free: 2.359 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.134, allocations: 141.6 kB / 0.4975 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1341, allocations: 19.73 kB / 0.4975 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.1345, allocations: 182.9 kB / 0.4977 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1345, allocations: 3.984 kB / 0.4977 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1346, allocations: 0 / 0.4977 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1346, allocations: 96.86 kB / 0.4978 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1346, allocations: 0 / 0.4978 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1348, allocations: 15.98 kB / 0.4978 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1348, allocations: 7.984 kB / 0.4978 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008217/0.1357, allocations: 307.2 kB / 0.4981 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005586/0.1362, allocations: 378.4 kB / 0.4985 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001399/0.1364, allocations: 55.94 kB / 0.4985 GB, free: 1.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1365, allocations: 144.9 kB / 0.4987 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of Backend: time 2.21e-07/0.1365, allocations: 0 / 0.4987 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.138, allocations: 290.8 kB / 0.499 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of SimCode: time 0.001184/0.1392, allocations: 0.8465 MB / 0.4998 GB, free: 15.78 MB / 398.1 MB Notification: Performance of Templates: time 0.007256/0.1465, allocations: 3.598 MB / 0.5033 GB, free: 12.21 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches