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/ModelicaServices trunk/package.mo", uses=false) 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/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 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=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/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 118.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 75.89 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3269, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002904/0.3299, allocations: 1.78 MB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.3325, allocations: 1.909 MB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.3326, allocations: 1.375 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.3328, allocations: 44.14 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.3331, allocations: 80.06 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.3341, allocations: 0.5662 MB / 0.536 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.3344, allocations: 239.2 kB / 0.5362 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.938e-05/0.3345, allocations: 20.59 kB / 0.5362 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.3347, allocations: 109.6 kB / 0.5363 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3348, allocations: 107.6 kB / 0.5364 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.3349, allocations: 7.281 kB / 0.5364 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.3364, allocations: 1.169 MB / 0.5376 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.3365, allocations: 66.77 kB / 0.5376 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3366, allocations: 102.1 kB / 0.5377 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3376, allocations: 0.8031 MB / 0.5385 GB, free: 8.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3377, allocations: 1.656 kB / 0.5385 GB, free: 8.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3377, allocations: 0 / 0.5385 GB, free: 8.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3377, allocations: 0 / 0.5385 GB, free: 8.68 MB / 398.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.0008883/0.3386, allocations: 0.5967 MB / 0.5391 GB, free: 8.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3386, allocations: 12.58 kB / 0.5391 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.3387, allocations: 28.34 kB / 0.5391 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.3389, allocations: 239.2 kB / 0.5394 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.339, allocations: 21.77 kB / 0.5394 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.339, allocations: 19.94 kB / 0.5394 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.3396, allocations: 380.6 kB / 0.5398 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3396, allocations: 0 / 0.5398 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.3397, allocations: 13.92 kB / 0.5398 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.3397, allocations: 40.59 kB / 0.5398 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.3404, allocations: 390.2 kB / 0.5402 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3417, allocations: 1.014 MB / 0.5412 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.3423, allocations: 278.5 kB / 0.5415 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.3425, allocations: 95.75 kB / 0.5415 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.3426, allocations: 4.281 kB / 0.5415 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3426, allocations: 35.62 kB / 0.5416 GB, free: 6.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.3426, allocations: 1.188 kB / 0.5416 GB, free: 6.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007431/0.3434, allocations: 326.7 kB / 0.5419 GB, free: 6.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.3434, allocations: 57.89 kB / 0.542 GB, free: 6.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3436, allocations: 222.9 kB / 0.5422 GB, free: 6.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3436, allocations: 30.92 kB / 0.5422 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.3437, allocations: 152.6 kB / 0.5423 GB, free: 5.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.3438, allocations: 72.22 kB / 0.5424 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.3439, allocations: 48.98 kB / 0.5425 GB, free: 5.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.344, allocations: 336.5 kB / 0.5428 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3442, allocations: 78.39 kB / 0.5429 GB, free: 5.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3444, allocations: 105.8 kB / 0.543 GB, free: 5.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.3448, allocations: 210 kB / 0.5432 GB, free: 5.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3448, allocations: 0 / 0.5432 GB, free: 5.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005079/0.3454, allocations: 261.9 kB / 0.5434 GB, free: 5.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3454, allocations: 8.125 kB / 0.5434 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3454, allocations: 3.938 kB / 0.5434 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3454, allocations: 2.25 kB / 0.5434 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.3458, allocations: 91.8 kB / 0.5435 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.3471, allocations: 2.385 MB / 0.5458 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3473, allocations: 32.83 kB / 0.5459 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3473, allocations: 11.56 kB / 0.5459 GB, free: 2.605 MB / 398.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.0001575/0.3475, allocations: 159.2 kB / 0.546 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.3476, allocations: 16.81 kB / 0.546 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007242/0.3483, allocations: 356.4 kB / 0.5464 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3483, allocations: 9.297 kB / 0.5464 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3483, allocations: 0 / 0.5464 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3484, allocations: 119.4 kB / 0.5465 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.3485, allocations: 9.312 kB / 0.5465 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.3487, allocations: 13.52 kB / 0.5465 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.3487, allocations: 24.34 kB / 0.5465 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009155/0.3497, allocations: 436 kB / 0.547 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007778/0.3504, allocations: 0.565 MB / 0.5475 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002087/0.3507, allocations: 108.1 kB / 0.5476 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.3508, allocations: 173.4 kB / 0.5478 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Backend: time 2.91e-07/0.3508, allocations: 0 / 0.5478 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.3522, allocations: 404.4 kB / 0.5482 GB, free: 404 kB / 398.1 MB Notification: Performance of SimCode: time 0.001145/0.3533, allocations: 0.9708 MB / 0.5491 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Templates: time 0.01268/0.366, allocations: 7.027 MB / 0.556 GB, free: 8.395 MB / 414.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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]