Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: 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_4.0.0_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_4.0.0_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.001147/0.001147, allocations: 113.9 kB / 18.46 MB, free: 4.605 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.001213/0.001213, allocations: 186.1 kB / 19.39 MB, free: 3.68 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.335/1.335, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2082/0.2082, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 471.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3124, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.00249/0.3149, allocations: 1.773 MB / 0.5213 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.3172, allocations: 1.836 MB / 0.5231 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.3173, allocations: 1.125 kB / 0.5231 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.3175, allocations: 47.75 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.3178, allocations: 80.62 kB / 0.5232 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009339/0.3187, allocations: 0.5637 MB / 0.5238 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.319, allocations: 240.9 kB / 0.524 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.3191, allocations: 21.64 kB / 0.524 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3192, allocations: 100.6 kB / 0.5241 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.3194, allocations: 111.3 kB / 0.5242 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3194, allocations: 10.78 kB / 0.5243 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.3207, allocations: 1.156 MB / 0.5254 GB, free: 300 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.3208, allocations: 71.05 kB / 0.5255 GB, free: 252 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.3209, allocations: 101.8 kB / 0.5255 GB, free: 188 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008885/0.3218, allocations: 0.7884 MB / 0.5263 GB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3218, allocations: 0 / 0.5263 GB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3218, allocations: 0 / 0.5263 GB, free: 15.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3218, allocations: 4 kB / 0.5263 GB, free: 15.69 MB / 398.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.0008212/0.3226, allocations: 0.602 MB / 0.5269 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3227, allocations: 8.688 kB / 0.5269 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.3227, allocations: 29 kB / 0.5269 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.323, allocations: 236.7 kB / 0.5272 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.323, allocations: 12.84 kB / 0.5272 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.323, allocations: 25.83 kB / 0.5272 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.3236, allocations: 379.5 kB / 0.5276 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3236, allocations: 0 / 0.5276 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.3236, allocations: 6.75 kB / 0.5276 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.674e-05/0.3237, allocations: 38.75 kB / 0.5276 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.3243, allocations: 387.2 kB / 0.528 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3256, allocations: 1.023 MB / 0.529 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.3261, allocations: 285.2 kB / 0.5293 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.3263, allocations: 94.39 kB / 0.5293 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.3264, allocations: 11.95 kB / 0.5294 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.3264, allocations: 31.91 kB / 0.5294 GB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.3264, allocations: 0 / 0.5294 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006903/0.3271, allocations: 324 kB / 0.5297 GB, free: 13.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.3271, allocations: 57.28 kB / 0.5298 GB, free: 13.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3273, allocations: 222.9 kB / 0.53 GB, free: 13.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.3274, allocations: 38.83 kB / 0.53 GB, free: 12.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.3275, allocations: 157.1 kB / 0.5302 GB, free: 12.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.3275, allocations: 76.52 kB / 0.5302 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.3276, allocations: 49 kB / 0.5303 GB, free: 12.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3277, allocations: 336.8 kB / 0.5306 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.3279, allocations: 77.84 kB / 0.5307 GB, free: 12.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.3281, allocations: 114.9 kB / 0.5308 GB, free: 12.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.3285, allocations: 201.1 kB / 0.531 GB, free: 12.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3285, allocations: 0 / 0.531 GB, free: 12.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004616/0.329, allocations: 258.3 kB / 0.5312 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.329, allocations: 5.5 kB / 0.5312 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.329, allocations: 3.938 kB / 0.5312 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.329, allocations: 1.406 kB / 0.5312 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.3294, allocations: 91.81 kB / 0.5313 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.3304, allocations: 2.382 MB / 0.5336 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.3306, allocations: 33.58 kB / 0.5337 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.3306, allocations: 11.56 kB / 0.5337 GB, free: 9.609 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.0001394/0.3308, allocations: 170.4 kB / 0.5338 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.3308, allocations: 16.59 kB / 0.5339 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006573/0.3315, allocations: 349.4 kB / 0.5342 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3315, allocations: 0 / 0.5342 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3315, allocations: 1.062 kB / 0.5342 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3316, allocations: 131.6 kB / 0.5343 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.3317, allocations: 13 kB / 0.5343 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3318, allocations: 13.02 kB / 0.5343 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.3319, allocations: 17.11 kB / 0.5344 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008577/0.3328, allocations: 441.3 kB / 0.5348 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007381/0.3335, allocations: 0.5573 MB / 0.5353 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002005/0.3337, allocations: 111.7 kB / 0.5354 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.3339, allocations: 181.8 kB / 0.5356 GB, free: 8.27 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.3339, allocations: 0 / 0.5356 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.335, allocations: 402.3 kB / 0.536 GB, free: 8.059 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009421/0.336, allocations: 0.9618 MB / 0.5369 GB, free: 7.266 MB / 398.1 MB Notification: Performance of Templates: time 0.01026/0.3463, allocations: 6.801 MB / 0.5436 GB, free: 3.074 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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]