Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 116.4 kB / 17.09 MB, free: 5.988 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.001732/0.001732, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.451/1.451, allocations: 205.1 MB / 223.9 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.2345/0.2345, allocations: 43.52 MB / 314.8 MB, free: 448 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.002197/0.002197, allocations: 65.45 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1375, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003324/0.1409, allocations: 1.845 MB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.1437, allocations: 1.813 MB / 0.4921 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.1438, allocations: 0 / 0.4921 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.1441, allocations: 47.75 kB / 0.4922 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1444, allocations: 71.64 kB / 0.4923 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1454, allocations: 0.5724 MB / 0.4928 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.1457, allocations: 238.8 kB / 0.493 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.439e-05/0.1458, allocations: 21.67 kB / 0.4931 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.146, allocations: 99.5 kB / 0.4932 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1462, allocations: 111.5 kB / 0.4933 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1462, allocations: 8 kB / 0.4933 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.1477, allocations: 1.158 MB / 0.4944 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.1478, allocations: 63.69 kB / 0.4945 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.758e-05/0.1479, allocations: 99.34 kB / 0.4946 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009246/0.1488, allocations: 0.787 MB / 0.4953 GB, free: 4.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1488, allocations: 0 / 0.4953 GB, free: 4.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1488, allocations: 7.938 kB / 0.4953 GB, free: 4.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1489, allocations: 0 / 0.4953 GB, free: 4.801 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009248/0.1498, allocations: 0.5926 MB / 0.4959 GB, free: 4.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1498, allocations: 11.89 kB / 0.4959 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.1499, allocations: 24.66 kB / 0.4959 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1502, allocations: 247.7 kB / 0.4962 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1502, allocations: 16.42 kB / 0.4962 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.1503, allocations: 16 kB / 0.4962 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.1509, allocations: 372.4 kB / 0.4966 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1509, allocations: 3.938 kB / 0.4966 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.1509, allocations: 8 kB / 0.4966 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.639e-05/0.151, allocations: 36.62 kB / 0.4966 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.1517, allocations: 394.3 kB / 0.497 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.1531, allocations: 1.02 MB / 0.498 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.1537, allocations: 278.2 kB / 0.4983 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.1539, allocations: 100.7 kB / 0.4983 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.1539, allocations: 4 kB / 0.4984 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.154, allocations: 34.56 kB / 0.4984 GB, free: 1.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.003e-06/0.154, allocations: 0 / 0.4984 GB, free: 1.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.000721/0.1547, allocations: 325.2 kB / 0.4987 GB, free: 1.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.1548, allocations: 51.41 kB / 0.4987 GB, free: 1.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.155, allocations: 223.8 kB / 0.499 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.155, allocations: 29.7 kB / 0.499 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.1551, allocations: 152.4 kB / 0.4991 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.1552, allocations: 78.92 kB / 0.4992 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.1552, allocations: 49.69 kB / 0.4993 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1554, allocations: 330.8 kB / 0.4996 GB, free: 192 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1556, allocations: 87.86 kB / 0.4997 GB, free: 104 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.1558, allocations: 114.3 kB / 0.4998 GB, free: 15.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.1562, allocations: 203.1 kB / 0.5 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1562, allocations: 4 kB / 0.5 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004692/0.1567, allocations: 249.2 kB / 0.5002 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1567, allocations: 4 kB / 0.5002 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1567, allocations: 7.938 kB / 0.5002 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1567, allocations: 3.938 kB / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.1571, allocations: 95.88 kB / 0.5003 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.1584, allocations: 2.383 MB / 0.5026 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1586, allocations: 35.61 kB / 0.5027 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.1586, allocations: 11.98 kB / 0.5027 GB, free: 12.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.1588, allocations: 161.7 kB / 0.5028 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.1589, allocations: 19.72 kB / 0.5029 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/0.1596, allocations: 347.5 kB / 0.5032 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1596, allocations: 0 / 0.5032 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1596, allocations: 0 / 0.5032 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1597, allocations: 128.7 kB / 0.5033 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.1598, allocations: 11.94 kB / 0.5033 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1599, allocations: 7.984 kB / 0.5033 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.16, allocations: 19.98 kB / 0.5033 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008522/0.1608, allocations: 440 kB / 0.5038 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007804/0.1616, allocations: 0.565 MB / 0.5043 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001969/0.1618, allocations: 111.9 kB / 0.5044 GB, free: 11.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.162, allocations: 169.4 kB / 0.5046 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Backend: time 6.82e-07/0.162, allocations: 0 / 0.5046 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1632, allocations: 397.8 kB / 0.505 GB, free: 10.46 MB / 398.1 MB Notification: Performance of SimCode: time 0.001154/0.1644, allocations: 0.9703 MB / 0.5059 GB, free: 9.449 MB / 398.1 MB Notification: Performance of Templates: time 0.01099/0.1754, allocations: 6.902 MB / 0.5127 GB, free: 2.559 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,delta[1],delta[2],delta[3],delta[4],eta,rho,input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],input_dp[1],input_dp[2],input_dp[3],input_dp[4],M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],K,M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],d_hyd,delta[1],delta[2],delta[3],delta[4],dp_IN_con[1].K,dp_IN_con[1].d_hyd,dp_IN_con[1].delta,dp_IN_con[2].K,dp_IN_con[2].d_hyd,dp_IN_con[2].delta,dp_IN_con[3].K,dp_IN_con[3].d_hyd,dp_IN_con[3].delta,dp_IN_con[4].K,dp_IN_con[4].d_hyd,dp_IN_con[4].delta,eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_dp[4],input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],m_flow_IN_con[1].K,m_flow_IN_con[1].d_hyd,m_flow_IN_con[1].delta,m_flow_IN_con[2].K,m_flow_IN_con[2].d_hyd,m_flow_IN_con[2].delta,m_flow_IN_con[3].K,m_flow_IN_con[3].d_hyd,m_flow_IN_con[3].delta,m_flow_IN_con[4].K,m_flow_IN_con[4].d_hyd,m_flow_IN_con[4].delta,n,rho,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]