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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007875/0.0007875, allocations: 98.2 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1908/0.1908, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.08e-05/1.078e-05, allocations: 0 / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09763, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4732, allocations: 97.29 MB / 0.561 GB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.4736, allocations: 99.78 kB / 0.5611 GB, free: 14.13 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4809:11-4812:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04496/0.5185, allocations: 15.06 MB / 0.5758 GB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5186, allocations: 0 / 0.5758 GB, free: 1.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.5186, allocations: 4 kB / 0.5758 GB, free: 1.336 MB / 378.7 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.0008363/0.5194, allocations: 0.5464 MB / 0.5763 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5195, allocations: 11.97 kB / 0.5763 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.5196, allocations: 31.58 kB / 0.5764 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.5198, allocations: 246.3 kB / 0.5766 GB, free: 452 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.5199, allocations: 8 kB / 0.5766 GB, free: 444 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.5199, allocations: 12 kB / 0.5766 GB, free: 432 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004143/0.5203, allocations: 318.2 kB / 0.5769 GB, free: 200 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.5208, allocations: 322.9 kB / 0.5772 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5208, allocations: 0 / 0.5772 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.5208, allocations: 0 / 0.5772 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/0.5209, allocations: 40.39 kB / 0.5773 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.5222, allocations: 0.9566 MB / 0.5782 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.5226, allocations: 252 kB / 0.5784 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.5227, allocations: 74.94 kB / 0.5785 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.5227, allocations: 11.38 kB / 0.5785 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.5228, allocations: 34.7 kB / 0.5785 GB, free: 14.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.5228, allocations: 0 / 0.5785 GB, free: 14.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.000366/0.5232, allocations: 196.8 kB / 0.5787 GB, free: 14.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.5232, allocations: 55.41 kB / 0.5788 GB, free: 14.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.5233, allocations: 124.7 kB / 0.5789 GB, free: 14.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.5234, allocations: 25.7 kB / 0.5789 GB, free: 14.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.5235, allocations: 163 kB / 0.5791 GB, free: 14.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.5236, allocations: 68.58 kB / 0.5791 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.5236, allocations: 0 / 0.5791 GB, free: 14.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5237, allocations: 322.5 kB / 0.5795 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.5238, allocations: 63.14 kB / 0.5795 GB, free: 13.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.524, allocations: 94.81 kB / 0.5796 GB, free: 13.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.5241, allocations: 75.8 kB / 0.5797 GB, free: 13.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5241, allocations: 0 / 0.5797 GB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003258/0.5244, allocations: 215 kB / 0.5799 GB, free: 13.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5245, allocations: 4 kB / 0.5799 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5245, allocations: 0 / 0.5799 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.5245, allocations: 7.953 kB / 0.5799 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.5249, allocations: 91.42 kB / 0.58 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.5263, allocations: 2.384 MB / 0.5823 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.5264, allocations: 27.88 kB / 0.5823 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.5265, allocations: 10.98 kB / 0.5823 GB, free: 10.74 MB / 394.7 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.5266, allocations: 112.9 kB / 0.5825 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.5266, allocations: 7.906 kB / 0.5825 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.5272, allocations: 306.8 kB / 0.5828 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.5272, allocations: 7.984 kB / 0.5828 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5272, allocations: 0 / 0.5828 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5272, allocations: 3.984 kB / 0.5828 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.5276, allocations: 256.6 kB / 0.583 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5276, allocations: 0 / 0.583 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.528, allocations: 95.36 kB / 0.5831 GB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.528, allocations: 3.953 kB / 0.5831 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.528, allocations: 11.98 kB / 0.5831 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.5292, allocations: 2.388 MB / 0.5855 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5292, allocations: 0 / 0.5855 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.5296, allocations: 319.4 kB / 0.5858 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.5297, allocations: 127.5 kB / 0.5859 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.5298, allocations: 4.125 kB / 0.5859 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.5299, allocations: 11.98 kB / 0.5859 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.53, allocations: 19.23 kB / 0.5859 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.53, allocations: 7.984 kB / 0.5859 GB, free: 7.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.978e-05/0.5301, allocations: 99.11 kB / 0.586 GB, free: 6.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5301, allocations: 0 / 0.586 GB, free: 6.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007259/0.5308, allocations: 187.3 kB / 0.5862 GB, free: 6.762 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005149/0.5314, allocations: 258.1 kB / 0.5864 GB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.5319, allocations: 201.7 kB / 0.5866 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5319, allocations: 4 kB / 0.5866 GB, free: 6.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.5322, allocations: 134.5 kB / 0.5868 GB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.5324, allocations: 6.953 kB / 0.5868 GB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000666/0.5331, allocations: 350.2 kB / 0.5871 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.5335, allocations: 0.7934 MB / 0.5879 GB, free: 5.051 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.5337, allocations: 69.03 kB / 0.5879 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.5338, allocations: 23.42 kB / 0.588 GB, free: 4.961 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5338, allocations: 0 / 0.588 GB, free: 4.961 MB / 394.7 MB Notification: Performance of Templates: time 0.008215/0.542, allocations: 4.553 MB / 0.5924 GB, free: 436 kB / 394.7 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/jenkins/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","../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],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],n,rho,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]