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.001161/0.001161, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.167/1.167, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008423/0.0008424, allocations: 95.7 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2937/0.2937, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002304/0.0002305, allocations: 12 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2815, allocations: 63.23 MB / 0.5192 GB, free: 43.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.3966, allocations: 100.2 MB / 0.6171 GB, free: 5.398 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.3969, allocations: 107.7 kB / 0.6172 GB, free: 5.297 MB / 426.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.04584/0.4428, allocations: 15.46 MB / 0.6323 GB, free: 5.766 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4428, allocations: 0 / 0.6323 GB, free: 5.766 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4429, allocations: 4 kB / 0.6323 GB, free: 5.762 MB / 442.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.001024/0.4439, allocations: 0.5691 MB / 0.6328 GB, free: 5.145 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.444, allocations: 12.02 kB / 0.6329 GB, free: 5.133 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.444, allocations: 31.58 kB / 0.6329 GB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.4444, allocations: 226.7 kB / 0.6331 GB, free: 4.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.4444, allocations: 20.56 kB / 0.6331 GB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.4445, allocations: 23.98 kB / 0.6331 GB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.4452, allocations: 365.3 kB / 0.6335 GB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4452, allocations: 4 kB / 0.6335 GB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.4453, allocations: 11.98 kB / 0.6335 GB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.4453, allocations: 28.64 kB / 0.6335 GB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.446, allocations: 410.3 kB / 0.6339 GB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.4477, allocations: 1.051 MB / 0.635 GB, free: 2.836 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.4484, allocations: 280.5 kB / 0.6352 GB, free: 2.555 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.4485, allocations: 12.14 kB / 0.6352 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.4485, allocations: 34.73 kB / 0.6353 GB, free: 2.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.4485, allocations: 0 / 0.6353 GB, free: 2.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008199/0.4493, allocations: 345.7 kB / 0.6356 GB, free: 2.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4494, allocations: 55.34 kB / 0.6356 GB, free: 2.094 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.4496, allocations: 198.9 kB / 0.6358 GB, free: 1.891 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.4497, allocations: 33.7 kB / 0.6359 GB, free: 1.852 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4498, allocations: 156.3 kB / 0.636 GB, free: 1.695 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.4499, allocations: 75 kB / 0.6361 GB, free: 1.621 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.4499, allocations: 4 kB / 0.6361 GB, free: 1.617 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.45, allocations: 330.8 kB / 0.6364 GB, free: 1.285 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.4502, allocations: 79.92 kB / 0.6365 GB, free: 1.207 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.4505, allocations: 115.5 kB / 0.6366 GB, free: 1.086 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.4507, allocations: 95.94 kB / 0.6367 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4507, allocations: 3.938 kB / 0.6367 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000552/0.4513, allocations: 268 kB / 0.6369 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4513, allocations: 7.953 kB / 0.637 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4513, allocations: 0 / 0.637 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4513, allocations: 4 kB / 0.637 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.4518, allocations: 87.92 kB / 0.637 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.4532, allocations: 2.395 MB / 0.6394 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.4534, allocations: 27.73 kB / 0.6394 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.4534, allocations: 11.98 kB / 0.6394 GB, free: 14.09 MB / 458.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 () * 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 (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.0001646/0.4536, allocations: 161.7 kB / 0.6396 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.4537, allocations: 27.91 kB / 0.6396 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000861/0.4545, allocations: 363.2 kB / 0.6399 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4545, allocations: 4 kB / 0.6399 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4545, allocations: 0 / 0.6399 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4546, allocations: 0 / 0.6399 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.4549, allocations: 309.2 kB / 0.6402 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.455, allocations: 7.922 kB / 0.6403 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.4554, allocations: 103.9 kB / 0.6403 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4555, allocations: 0 / 0.6403 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.4555, allocations: 4 kB / 0.6404 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.4567, allocations: 2.383 MB / 0.6427 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4567, allocations: 0 / 0.6427 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.4572, allocations: 379.7 kB / 0.643 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4573, allocations: 132.8 kB / 0.6432 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4574, allocations: 4 kB / 0.6432 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.4575, allocations: 12 kB / 0.6432 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.4576, allocations: 19.91 kB / 0.6432 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.4576, allocations: 15.98 kB / 0.6432 GB, free: 10 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.4578, allocations: 160.2 kB / 0.6434 GB, free: 9.848 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4578, allocations: 4 kB / 0.6434 GB, free: 9.844 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006467/0.4584, allocations: 195.6 kB / 0.6436 GB, free: 9.652 MB / 458.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 () * Number of clocked 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.0004962/0.4589, allocations: 286.8 kB / 0.6438 GB, free: 9.363 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005983/0.4595, allocations: 256.3 kB / 0.6441 GB, free: 9.113 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4595, allocations: 0 / 0.6441 GB, free: 9.113 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.4599, allocations: 161 kB / 0.6442 GB, free: 8.957 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.4602, allocations: 35.58 kB / 0.6443 GB, free: 8.926 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.461, allocations: 0.6529 MB / 0.6449 GB, free: 8.254 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.4613, allocations: 0.7908 MB / 0.6457 GB, free: 7.438 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000211/0.4615, allocations: 81.77 kB / 0.6458 GB, free: 7.359 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.4616, allocations: 31.42 kB / 0.6458 GB, free: 7.332 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4616, allocations: 0 / 0.6458 GB, free: 7.332 MB / 458.7 MB Notification: Performance of Templates: time 0.00837/0.47, allocations: 5.513 MB / 0.6512 GB, free: 1.871 MB / 458.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],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]