Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, allocations: 114.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.002216/0.002216, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 71.89 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3271, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002775/0.3299, allocations: 1.793 MB / 0.5334 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3315, allocations: 1.001 MB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.3315, allocations: 1.375 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.3318, allocations: 52.11 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.332, allocations: 71.95 kB / 0.5345 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.3323, allocations: 125.9 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.3325, allocations: 216.3 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.3326, allocations: 20.8 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3327, allocations: 94.02 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3329, allocations: 98.03 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.3329, allocations: 6.875 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.3333, allocations: 207.7 kB / 0.5353 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.3334, allocations: 57.41 kB / 0.5353 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.095e-05/0.3335, allocations: 91.73 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.3339, allocations: 304.9 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3339, allocations: 0 / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.3339, allocations: 1.031 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3339, allocations: 4 kB / 0.5357 GB, free: 10.56 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007501/0.3347, allocations: 0.5286 MB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3347, allocations: 9.031 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.3355, allocations: 132.8 kB / 0.5364 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.3358, allocations: 265.1 kB / 0.5366 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3359, allocations: 13.62 kB / 0.5366 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.3359, allocations: 22.36 kB / 0.5366 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.3366, allocations: 441.8 kB / 0.5371 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3366, allocations: 1.531 kB / 0.5371 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.3366, allocations: 5.562 kB / 0.5371 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.3367, allocations: 29.48 kB / 0.5371 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006573/0.3373, allocations: 395.2 kB / 0.5375 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.3393, allocations: 1.475 MB / 0.5389 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3395, allocations: 89.11 kB / 0.539 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.3397, allocations: 56.5 kB / 0.5391 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3397, allocations: 5.141 kB / 0.5391 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3397, allocations: 39.38 kB / 0.5391 GB, free: 7.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3398, allocations: 0 / 0.5391 GB, free: 7.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005335/0.3403, allocations: 184.2 kB / 0.5393 GB, free: 7.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.3403, allocations: 51.41 kB / 0.5393 GB, free: 7.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.3407, allocations: 333.5 kB / 0.5396 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3407, allocations: 31.09 kB / 0.5397 GB, free: 7.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3408, allocations: 174 kB / 0.5398 GB, free: 7.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3408, allocations: 31.59 kB / 0.5399 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/0.3409, allocations: 37.39 kB / 0.5399 GB, free: 7.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3411, allocations: 338.2 kB / 0.5402 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3412, allocations: 63.28 kB / 0.5403 GB, free: 6.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3414, allocations: 125 kB / 0.5404 GB, free: 6.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.3418, allocations: 182.6 kB / 0.5406 GB, free: 6.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3418, allocations: 1.094 kB / 0.5406 GB, free: 6.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004852/0.3423, allocations: 253.3 kB / 0.5408 GB, free: 6.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3424, allocations: 9.312 kB / 0.5408 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3424, allocations: 2.969 kB / 0.5408 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3424, allocations: 1.469 kB / 0.5408 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.344, allocations: 108.9 kB / 0.5409 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.3459, allocations: 1.841 MB / 0.5427 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.3462, allocations: 41.83 kB / 0.5428 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.3463, allocations: 11 kB / 0.5428 GB, free: 4.551 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.3464, allocations: 153.9 kB / 0.5429 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.3465, allocations: 21.5 kB / 0.543 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.3469, allocations: 200.8 kB / 0.5431 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.347, allocations: 1.094 kB / 0.5431 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.347, allocations: 0 / 0.5431 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.3471, allocations: 99.72 kB / 0.5432 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.3471, allocations: 5.031 kB / 0.5432 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.3473, allocations: 12.61 kB / 0.5433 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.3474, allocations: 7.172 kB / 0.5433 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001236/0.3486, allocations: 287.8 kB / 0.5435 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000574/0.3492, allocations: 414.5 kB / 0.5439 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001447/0.3493, allocations: 53.09 kB / 0.544 GB, free: 3.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.3496, allocations: 253.2 kB / 0.5442 GB, free: 3.465 MB / 398.1 MB Notification: Performance of Backend: time 6.11e-07/0.3496, allocations: 0 / 0.5442 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.3524, allocations: 340.4 kB / 0.5446 GB, free: 3.289 MB / 398.1 MB Notification: Performance of SimCode: time 0.001533/0.3539, allocations: 0.968 MB / 0.5455 GB, free: 2.488 MB / 398.1 MB Notification: Performance of Templates: time 0.01033/0.3643, allocations: 6.122 MB / 0.5515 GB, free: 12.94 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],dp_nom[1],dp_nom[2],dp_nom[3],p_2[1],p_2[2],p_2[3],m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],Km[1],Km[2],Km[3],input_mdot[1],input_mdot[2],input_mdot[3],input_dp[1],input_dp[2],input_dp[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],input_DP.y Variables in the result:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],Km[1],Km[2],Km[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],R_s,T_m,dp_IN_con[1].R_s,dp_IN_con[1].exp,dp_IN_con[2].R_s,dp_IN_con[2].exp,dp_IN_con[3].R_s,dp_IN_con[3].exp,dp_IN_var[1].T_m,dp_IN_var[1].p_m,dp_IN_var[1].rho_m,dp_IN_var[2].T_m,dp_IN_var[2].p_m,dp_IN_var[2].rho_m,dp_IN_var[3].T_m,dp_IN_var[3].p_m,dp_IN_var[3].rho_m,dp_nom[1],dp_nom[2],dp_nom[3],exp,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],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_mdot[1],input_mdot[2],input_mdot[3],m_flow_IN_con[1].R_s,m_flow_IN_con[1].exp,m_flow_IN_con[2].R_s,m_flow_IN_con[2].exp,m_flow_IN_con[3].R_s,m_flow_IN_con[3].exp,m_flow_IN_var[1].T_m,m_flow_IN_var[1].p_m,m_flow_IN_var[1].rho_m,m_flow_IN_var[2].T_m,m_flow_IN_var[2].p_m,m_flow_IN_var[2].rho_m,m_flow_IN_var[3].T_m,m_flow_IN_var[3].p_m,m_flow_IN_var[3].rho_m,m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],n,p_1,p_2[1],p_2[2],p_2[3],p_m,rho_m,time