Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|delta.1.|delta.2.|delta.3.|R_0.1.|R_0.2.|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_dp_1.1.|input_dp_1.2.|M_FLOW_1.1.|M_FLOW_1.2.|DP_1.1.|DP_1.2.|input_mdot_2.1.|input_mdot_2.2.|input_mdot_2.3.|input_dp_2.1.|input_dp_2.2.|input_dp_2.3.|M_FLOW_2.1.|M_FLOW_2.2.|M_FLOW_2.3.|DP_2.1.|DP_2.2.|DP_2.3.|frac_RD.1.|frac_RD.2.|velocity_1.1.|velocity_1.2.|Re_1.1.|Re_1.2.|velocity_2.1.|velocity_2.2.|velocity_2.3.|Re_2.1.|Re_2.2.|Re_2.3.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_2.1.|zeta_TOT_2.2.|zeta_TOT_2.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|delta.1.|delta.2.|delta.3.|R_0.1.|R_0.2.|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_dp_1.1.|input_dp_1.2.|M_FLOW_1.1.|M_FLOW_1.2.|DP_1.1.|DP_1.2.|input_mdot_2.1.|input_mdot_2.2.|input_mdot_2.3.|input_dp_2.1.|input_dp_2.2.|input_dp_2.3.|M_FLOW_2.1.|M_FLOW_2.2.|M_FLOW_2.3.|DP_2.1.|DP_2.2.|DP_2.3.|frac_RD.1.|frac_RD.2.|velocity_1.1.|velocity_1.2.|Re_1.1.|Re_1.2.|velocity_2.1.|velocity_2.2.|velocity_2.3.|Re_2.1.|Re_2.2.|Re_2.3.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_2.1.|zeta_TOT_2.2.|zeta_TOT_2.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 75.89 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3226, allocations: 66.03 MB / 0.5619 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003482/0.326, allocations: 2.001 MB / 0.5638 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.3291, allocations: 1.812 MB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3293, allocations: 7.938 kB / 0.5656 GB, free: 324 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.3296, allocations: 59.67 kB / 0.5657 GB, free: 264 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.33, allocations: 163.2 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.3314, allocations: 0.6036 MB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.3318, allocations: 378.1 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.3319, allocations: 16.92 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.3322, allocations: 175.2 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.3326, allocations: 203.1 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.3326, allocations: 8 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.3337, allocations: 0.5381 MB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.3338, allocations: 95.53 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.334, allocations: 123.3 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3351, allocations: 0.7574 MB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3351, allocations: 0 / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3351, allocations: 0 / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.3351, allocations: 0 / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001158/0.3363, allocations: 0.6137 MB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3363, allocations: 12.03 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.639e-05/0.3364, allocations: 40.7 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3368, allocations: 210 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.3368, allocations: 28.97 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.3369, allocations: 36.11 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008358/0.3377, allocations: 0.496 MB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3377, allocations: 0 / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.3378, allocations: 11.98 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.435e-05/0.3378, allocations: 48.95 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008885/0.3387, allocations: 0.5309 MB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.3405, allocations: 0.8752 MB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.3414, allocations: 362 kB / 0.5718 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.3416, allocations: 116.8 kB / 0.5719 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.3417, allocations: 8 kB / 0.5719 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.3417, allocations: 34.5 kB / 0.5719 GB, free: 9.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.3417, allocations: 0 / 0.5719 GB, free: 9.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009803/0.3427, allocations: 417.4 kB / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3427, allocations: 63.42 kB / 0.5724 GB, free: 9.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3429, allocations: 190.9 kB / 0.5726 GB, free: 9.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.343, allocations: 29.7 kB / 0.5726 GB, free: 8.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.3431, allocations: 212.4 kB / 0.5728 GB, free: 8.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.3432, allocations: 99.14 kB / 0.5729 GB, free: 8.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3433, allocations: 69.62 kB / 0.573 GB, free: 8.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3435, allocations: 326.8 kB / 0.5733 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.3438, allocations: 119.9 kB / 0.5734 GB, free: 8.152 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.3441, allocations: 159.5 kB / 0.5736 GB, free: 7.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.3446, allocations: 292 kB / 0.5738 GB, free: 7.691 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3446, allocations: 0 / 0.5738 GB, free: 7.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007268/0.3453, allocations: 371.1 kB / 0.5742 GB, free: 7.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3454, allocations: 7.938 kB / 0.5742 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3454, allocations: 0 / 0.5742 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3454, allocations: 4 kB / 0.5742 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.346, allocations: 131.9 kB / 0.5743 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.348, allocations: 3.016 MB / 0.5773 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3482, allocations: 23.84 kB / 0.5773 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.3482, allocations: 20.45 kB / 0.5773 GB, free: 4.008 MB / 414.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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.3485, allocations: 177.7 kB / 0.5775 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.3485, allocations: 23.84 kB / 0.5775 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009596/0.3495, allocations: 442.9 kB / 0.5779 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3495, allocations: 0 / 0.5779 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3495, allocations: 3.938 kB / 0.5779 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.3495, allocations: 27.8 kB / 0.578 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.3496, allocations: 8 kB / 0.578 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3498, allocations: 15.97 kB / 0.578 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.3498, allocations: 23.95 kB / 0.578 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001204/0.351, allocations: 0.532 MB / 0.5785 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001051/0.3521, allocations: 0.6864 MB / 0.5792 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002825/0.3524, allocations: 140.7 kB / 0.5793 GB, free: 1.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3525, allocations: 135.2 kB / 0.5795 GB, free: 1.75 MB / 414.1 MB Notification: Performance of Backend: time 6.71e-07/0.3525, allocations: 0 / 0.5795 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.3541, allocations: 461.5 kB / 0.5799 GB, free: 1.293 MB / 414.1 MB Notification: Performance of SimCode: time 0.001417/0.3555, allocations: 1.074 MB / 0.5809 GB, free: 184 kB / 414.1 MB Notification: Performance of Templates: time 0.01537/0.3709, allocations: 8.246 MB / 0.589 GB, free: 8.004 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_curvedOverall_DPMFLOW/dp_curvedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,delta[1],delta[2],delta[3],R_0[1],R_0[2],eta,rho,input_mdot_1[1],input_mdot_1[2],input_dp_1[1],input_dp_1[2],M_FLOW_1[1],M_FLOW_1[2],DP_1[1],DP_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],input_dp_2[1],input_dp_2[2],input_dp_2[3],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],DP_2[1],DP_2[2],DP_2[3],frac_RD[1],frac_RD[2],velocity_1[1],velocity_1[2],Re_1[1],Re_1[2],velocity_2[1],velocity_2[2],velocity_2[3],Re_2[1],Re_2[2],Re_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3],input_DP.y Variables in the result:A_cross,DP_1[1],DP_1[2],DP_2[1],DP_2[2],DP_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],K,M_FLOW_1[1],M_FLOW_1[2],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],R_0[1],R_0[2],Re_1[1],Re_1[2],Re_2[1],Re_2[2],Re_2[3],d_hyd,delta[1],delta[2],delta[3],eta,frac_RD[1],frac_RD[2],input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp_1[1],input_dp_1[2],input_dp_2[1],input_dp_2[2],input_dp_2[3],input_mdot_1[1],input_mdot_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],m,n,rho,time,velocity_1[1],velocity_1[2],velocity_2[1],velocity_2[2],velocity_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3] [Calling sys.exit(0), Time elapsed: 5.477482659996895]