Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) 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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007696/0.0007696, allocations: 95.89 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1914/0.1914, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.54e-05/1.543e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09965, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.4846, allocations: 99.5 MB / 0.6015 GB, free: 3.109 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4849, allocations: 95.48 kB / 0.6016 GB, free: 3.055 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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.04444/0.5294, allocations: 15.32 MB / 0.6166 GB, free: 6.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5294, allocations: 0 / 0.6166 GB, free: 6.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.5294, allocations: 11.38 kB / 0.6166 GB, free: 6.016 MB / 410.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.001001/0.5305, allocations: 0.5566 MB / 0.6172 GB, free: 5.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5305, allocations: 8.031 kB / 0.6172 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.073e-05/0.5306, allocations: 35.58 kB / 0.6172 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.5309, allocations: 229.8 kB / 0.6174 GB, free: 5.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.5309, allocations: 12 kB / 0.6174 GB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.531, allocations: 15.98 kB / 0.6174 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004568/0.5315, allocations: 318 kB / 0.6177 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.5319, allocations: 318.7 kB / 0.618 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5319, allocations: 3.984 kB / 0.618 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.532, allocations: 0 / 0.618 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.532, allocations: 28.77 kB / 0.6181 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.5335, allocations: 0.9654 MB / 0.619 GB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.534, allocations: 247.7 kB / 0.6193 GB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.5341, allocations: 78.88 kB / 0.6193 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.5341, allocations: 5.391 kB / 0.6193 GB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.5342, allocations: 36.45 kB / 0.6194 GB, free: 3.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.5342, allocations: 0 / 0.6194 GB, free: 3.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004335/0.5346, allocations: 205.4 kB / 0.6196 GB, free: 3.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.5347, allocations: 55.41 kB / 0.6196 GB, free: 3.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.5348, allocations: 122.6 kB / 0.6197 GB, free: 2.945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.5348, allocations: 25.7 kB / 0.6198 GB, free: 2.914 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.535, allocations: 159.9 kB / 0.6199 GB, free: 2.766 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.535, allocations: 62.95 kB / 0.62 GB, free: 2.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.535, allocations: 0 / 0.62 GB, free: 2.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5352, allocations: 324.7 kB / 0.6203 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.5353, allocations: 67.83 kB / 0.6203 GB, free: 2.336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.5354, allocations: 87.06 kB / 0.6204 GB, free: 2.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.5356, allocations: 76.11 kB / 0.6205 GB, free: 2.195 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5356, allocations: 0 / 0.6205 GB, free: 2.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000347/0.5359, allocations: 208.7 kB / 0.6207 GB, free: 2.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.536, allocations: 4 kB / 0.6207 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.536, allocations: 64 / 0.6207 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.536, allocations: 11.95 kB / 0.6207 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.5364, allocations: 93.8 kB / 0.6208 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.5376, allocations: 2.394 MB / 0.6231 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.5378, allocations: 15.84 kB / 0.6232 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.5378, allocations: 9.359 kB / 0.6232 GB, free: 15.41 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.00011/0.5379, allocations: 117.6 kB / 0.6233 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.538, allocations: 7.906 kB / 0.6233 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.5386, allocations: 306 kB / 0.6236 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.5386, allocations: 4 kB / 0.6236 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.5386, allocations: 4 kB / 0.6236 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.5386, allocations: 3.984 kB / 0.6236 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.5389, allocations: 256.2 kB / 0.6238 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5389, allocations: 4 kB / 0.6238 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.5394, allocations: 91.05 kB / 0.6239 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.5394, allocations: 7.953 kB / 0.6239 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.5394, allocations: 3.984 kB / 0.6239 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.5404, allocations: 2.39 MB / 0.6263 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.5405, allocations: 0 / 0.6263 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.5408, allocations: 321.6 kB / 0.6266 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5409, allocations: 126.9 kB / 0.6267 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.541, allocations: 0 / 0.6267 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.5411, allocations: 7.25 kB / 0.6267 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.5412, allocations: 19.97 kB / 0.6267 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.5412, allocations: 19.64 kB / 0.6267 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.341e-05/0.5413, allocations: 96.41 kB / 0.6268 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5413, allocations: 0 / 0.6268 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006554/0.5419, allocations: 194.7 kB / 0.627 GB, free: 11.43 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.000672/0.5426, allocations: 290.4 kB / 0.6273 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.5431, allocations: 200.4 kB / 0.6275 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5431, allocations: 4 kB / 0.6275 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.5435, allocations: 140.2 kB / 0.6276 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.5437, allocations: 10.52 kB / 0.6276 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.5443, allocations: 337.8 kB / 0.628 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.5447, allocations: 0.7977 MB / 0.6287 GB, free: 9.684 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.5449, allocations: 69.03 kB / 0.6288 GB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.5449, allocations: 26.73 kB / 0.6288 GB, free: 9.594 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.5449, allocations: 0 / 0.6288 GB, free: 9.594 MB / 426.7 MB Notification: Performance of Templates: time 0.008174/0.5531, allocations: 4.631 MB / 0.6334 GB, free: 5 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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]