Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2256/0.2256, allocations: 46.88 MB / 361.1 MB, free: 4.621 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_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=5002,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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 75.88 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3258, allocations: 65.98 MB / 0.5612 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003225/0.329, allocations: 1.819 MB / 0.563 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.332, allocations: 1.93 MB / 0.5649 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.3321, allocations: 7.938 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.3324, allocations: 51.73 kB / 0.5649 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.3326, allocations: 75.64 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.3337, allocations: 0.5726 MB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.3341, allocations: 238.8 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.3341, allocations: 5.688 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.3343, allocations: 115.4 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.3345, allocations: 111.5 kB / 0.566 GB, free: 48 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.3345, allocations: 12 kB / 0.566 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.3361, allocations: 1.17 MB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3362, allocations: 71.67 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3363, allocations: 99.3 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3374, allocations: 0.805 MB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3374, allocations: 0 / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3374, allocations: 0 / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3374, allocations: 0 / 0.5681 GB, free: 13.89 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001022/0.3384, allocations: 0.6149 MB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3385, allocations: 12.03 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.3385, allocations: 28.75 kB / 0.5688 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.3389, allocations: 239.7 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3389, allocations: 16.42 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.3389, allocations: 20 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.3395, allocations: 380.3 kB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3395, allocations: 4 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.3396, allocations: 8 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.3396, allocations: 28.64 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.3402, allocations: 398.3 kB / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.3417, allocations: 1.02 MB / 0.5708 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006087/0.3424, allocations: 268.1 kB / 0.5711 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3426, allocations: 91.59 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.3426, allocations: 4 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3426, allocations: 38.56 kB / 0.5712 GB, free: 10.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 1.522e-06/0.3426, allocations: 3.938 kB / 0.5712 GB, free: 10.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007674/0.3434, allocations: 321.3 kB / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3434, allocations: 51.41 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.3437, allocations: 223.8 kB / 0.5718 GB, free: 9.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3437, allocations: 33.7 kB / 0.5718 GB, free: 9.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3438, allocations: 160.5 kB / 0.5719 GB, free: 9.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.3439, allocations: 79.38 kB / 0.572 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.3439, allocations: 53.64 kB / 0.5721 GB, free: 9.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3441, allocations: 330.8 kB / 0.5724 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3443, allocations: 79.92 kB / 0.5725 GB, free: 9.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.3445, allocations: 102.5 kB / 0.5726 GB, free: 9.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.3449, allocations: 209.8 kB / 0.5728 GB, free: 8.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3449, allocations: 0 / 0.5728 GB, free: 8.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005214/0.3454, allocations: 261.3 kB / 0.573 GB, free: 8.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3455, allocations: 8.062 kB / 0.573 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3455, allocations: 7.938 kB / 0.573 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3455, allocations: 0 / 0.573 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.3459, allocations: 91.89 kB / 0.5731 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.3474, allocations: 2.375 MB / 0.5754 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.3475, allocations: 35.72 kB / 0.5755 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.3475, allocations: 15.98 kB / 0.5755 GB, free: 5.977 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 (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.0001636/0.3477, allocations: 166 kB / 0.5756 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.3478, allocations: 19.86 kB / 0.5757 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007641/0.3485, allocations: 343.4 kB / 0.576 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3485, allocations: 3.984 kB / 0.576 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3485, allocations: 0 / 0.576 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.3487, allocations: 120.9 kB / 0.5761 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.3487, allocations: 7.938 kB / 0.5761 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3489, allocations: 15.98 kB / 0.5761 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.3489, allocations: 23.97 kB / 0.5761 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000963/0.3499, allocations: 436 kB / 0.5766 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008591/0.3508, allocations: 0.5651 MB / 0.5771 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002144/0.351, allocations: 95.95 kB / 0.5772 GB, free: 4.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3511, allocations: 177.4 kB / 0.5774 GB, free: 3.957 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.3511, allocations: 4 kB / 0.5774 GB, free: 3.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.3525, allocations: 401.4 kB / 0.5778 GB, free: 3.551 MB / 414.1 MB Notification: Performance of SimCode: time 0.00124/0.3537, allocations: 0.9858 MB / 0.5787 GB, free: 2.523 MB / 414.1 MB Notification: Performance of Templates: time 0.01226/0.366, allocations: 7.045 MB / 0.5856 GB, free: 11.52 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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],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] [Calling sys.exit(0), Time elapsed: 5.163783579133451]