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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.5 MB / 230.7 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 94.06 kB / 281.6 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1902/0.1902, allocations: 44.16 MB / 376.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.269e-05/1.271e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1484, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.6372, allocations: 98.43 MB / 0.5908 GB, free: 14.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.6375, allocations: 98.19 kB / 0.5909 GB, free: 14 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4725:11-4728: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 4.0.0+maint.om/Fluid/Dissipation.mo:4738:11-4741: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.04657/0.6841, allocations: 15.33 MB / 0.6059 GB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6841, allocations: 0 / 0.6059 GB, free: 14.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.6842, allocations: 4 kB / 0.6059 GB, free: 14.58 MB / 426.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.0008917/0.6851, allocations: 0.5567 MB / 0.6064 GB, free: 13.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6851, allocations: 11.98 kB / 0.6064 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.6852, allocations: 31.56 kB / 0.6065 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.6855, allocations: 232.5 kB / 0.6067 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.6855, allocations: 8 kB / 0.6067 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.6855, allocations: 12 kB / 0.6067 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004576/0.686, allocations: 317.2 kB / 0.607 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.6865, allocations: 320.9 kB / 0.6073 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.6865, allocations: 8 kB / 0.6073 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.6865, allocations: 4 kB / 0.6073 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.6866, allocations: 28.75 kB / 0.6074 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.6879, allocations: 0.9611 MB / 0.6083 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.6884, allocations: 246.7 kB / 0.6085 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.6885, allocations: 77.2 kB / 0.6086 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.6886, allocations: 12.23 kB / 0.6086 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.6886, allocations: 34.75 kB / 0.6086 GB, free: 11.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.6886, allocations: 0 / 0.6086 GB, free: 11.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003795/0.689, allocations: 204.2 kB / 0.6088 GB, free: 11.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.689, allocations: 51.41 kB / 0.6089 GB, free: 11.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.6891, allocations: 116.5 kB / 0.609 GB, free: 11.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.6892, allocations: 29.7 kB / 0.609 GB, free: 11.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.6893, allocations: 168 kB / 0.6092 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.6893, allocations: 63.02 kB / 0.6093 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.6893, allocations: 0 / 0.6093 GB, free: 10.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6895, allocations: 326.8 kB / 0.6096 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.6896, allocations: 67.81 kB / 0.6096 GB, free: 10.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.6897, allocations: 82.53 kB / 0.6097 GB, free: 10.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.6898, allocations: 86.36 kB / 0.6098 GB, free: 10.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6898, allocations: 3.938 kB / 0.6098 GB, free: 10.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003091/0.6901, allocations: 205.4 kB / 0.61 GB, free: 10.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6902, allocations: 5.406 kB / 0.61 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6902, allocations: 0 / 0.61 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6902, allocations: 4 kB / 0.61 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.6906, allocations: 91.86 kB / 0.6101 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.6919, allocations: 2.395 MB / 0.6124 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.6921, allocations: 19.86 kB / 0.6124 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.6921, allocations: 11.98 kB / 0.6125 GB, free: 7.504 MB / 426.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.0001048/0.6922, allocations: 108.9 kB / 0.6126 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.6923, allocations: 11.84 kB / 0.6126 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/0.6929, allocations: 306.1 kB / 0.6129 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.6929, allocations: 7.953 kB / 0.6129 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6929, allocations: 0 / 0.6129 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6929, allocations: 0 / 0.6129 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.6932, allocations: 261.9 kB / 0.6131 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6932, allocations: 0 / 0.6131 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.6936, allocations: 95.86 kB / 0.6132 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6937, allocations: 0 / 0.6132 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.6937, allocations: 11.98 kB / 0.6132 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.6949, allocations: 2.383 MB / 0.6156 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.6949, allocations: 4.031 kB / 0.6156 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.6952, allocations: 316 kB / 0.6159 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.6953, allocations: 124.9 kB / 0.616 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.6954, allocations: 7.938 kB / 0.616 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.6955, allocations: 8 kB / 0.616 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.6956, allocations: 19.91 kB / 0.616 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.6956, allocations: 19.97 kB / 0.616 GB, free: 3.664 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.6957, allocations: 95.22 kB / 0.6161 GB, free: 3.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6957, allocations: 0 / 0.6161 GB, free: 3.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006121/0.6963, allocations: 179.5 kB / 0.6163 GB, free: 3.395 MB / 426.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.0004596/0.6968, allocations: 266.9 kB / 0.6165 GB, free: 3.125 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.6973, allocations: 203.9 kB / 0.6167 GB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6973, allocations: 3.938 kB / 0.6167 GB, free: 2.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.6976, allocations: 139.8 kB / 0.6169 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.6978, allocations: 0 / 0.6169 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.6985, allocations: 340.9 kB / 0.6172 GB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.6989, allocations: 0.7943 MB / 0.618 GB, free: 1.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.6991, allocations: 69.03 kB / 0.618 GB, free: 1.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.6992, allocations: 27.42 kB / 0.6181 GB, free: 1.508 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6992, allocations: 0 / 0.6181 GB, free: 1.508 MB / 426.7 MB Notification: Performance of Templates: time 0.008394/0.7076, allocations: 4.542 MB / 0.6225 GB, free: 13 MB / 442.7 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/jenkins/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","../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],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]