Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000899/0.0008991, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007378/0.0007378, allocations: 86.64 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1972/0.1972, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.275e-05/1.271e-05, allocations: 0 / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 58.86 MB / 477.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.4868, allocations: 89.37 MB / 0.5532 GB, free: 6.027 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.4871, allocations: 104.2 kB / 0.5533 GB, free: 5.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01398/0.5011, allocations: 5.772 MB / 0.559 GB, free: 1.047 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5011, allocations: 0 / 0.559 GB, free: 1.047 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.5011, allocations: 4 kB / 0.559 GB, free: 1.043 MB / 362.7 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.0004721/0.5016, allocations: 0.4906 MB / 0.5594 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.5017, allocations: 8.031 kB / 0.5594 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.5026, allocations: 165.7 kB / 0.5596 GB, free: 372 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.5028, allocations: 249.2 kB / 0.5598 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.5029, allocations: 4 kB / 0.5598 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.5029, allocations: 12 kB / 0.5599 GB, free: 76 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004619/0.5034, allocations: 330.6 kB / 0.5602 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.5039, allocations: 381 kB / 0.5605 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5039, allocations: 0 / 0.5605 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.504, allocations: 7.969 kB / 0.5605 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.504, allocations: 28 kB / 0.5606 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.5059, allocations: 1.623 MB / 0.5622 GB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.5061, allocations: 80.34 kB / 0.5622 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.5062, allocations: 39.91 kB / 0.5623 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.5062, allocations: 8.078 kB / 0.5623 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.5062, allocations: 30.56 kB / 0.5623 GB, free: 13.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.5063, allocations: 4 kB / 0.5623 GB, free: 13.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000275/0.5065, allocations: 103.9 kB / 0.5624 GB, free: 13.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.5066, allocations: 51.41 kB / 0.5625 GB, free: 13.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.5068, allocations: 202 kB / 0.5627 GB, free: 13.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.5068, allocations: 25.7 kB / 0.5627 GB, free: 13.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.5069, allocations: 187.9 kB / 0.5629 GB, free: 13.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.5069, allocations: 26.95 kB / 0.5629 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.5069, allocations: 0 / 0.5629 GB, free: 13.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5071, allocations: 322.7 kB / 0.5632 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.5071, allocations: 57.48 kB / 0.5632 GB, free: 12.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.5073, allocations: 102.8 kB / 0.5633 GB, free: 12.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.5074, allocations: 70.62 kB / 0.5634 GB, free: 12.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5074, allocations: 4 kB / 0.5634 GB, free: 12.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003072/0.5078, allocations: 192.8 kB / 0.5636 GB, free: 12.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5078, allocations: 11.98 kB / 0.5636 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5078, allocations: 0 / 0.5636 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5078, allocations: 4 kB / 0.5636 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.5092, allocations: 124 kB / 0.5637 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.5107, allocations: 1.842 MB / 0.5655 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.511, allocations: 19.83 kB / 0.5655 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.511, allocations: 11.19 kB / 0.5656 GB, free: 10.35 MB / 378.7 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 () * 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 (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.715e-05/0.5111, allocations: 107.3 kB / 0.5657 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.5111, allocations: 19.75 kB / 0.5657 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.5115, allocations: 156.5 kB / 0.5658 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5115, allocations: 3.984 kB / 0.5658 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5115, allocations: 4 kB / 0.5658 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5115, allocations: 0 / 0.5658 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.5118, allocations: 243.2 kB / 0.5661 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5118, allocations: 4 kB / 0.5661 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.5129, allocations: 100 kB / 0.5662 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5129, allocations: 0 / 0.5662 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.513, allocations: 4 kB / 0.5662 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.514, allocations: 1.79 MB / 0.5679 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5141, allocations: 0 / 0.5679 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.5143, allocations: 220.7 kB / 0.5681 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.5144, allocations: 101.1 kB / 0.5682 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.5144, allocations: 0 / 0.5682 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5146, allocations: 4 kB / 0.5682 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.5146, allocations: 7.984 kB / 0.5682 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.5147, allocations: 4 kB / 0.5682 GB, free: 7.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.5148, allocations: 160.5 kB / 0.5684 GB, free: 7.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5148, allocations: 3.938 kB / 0.5684 GB, free: 7.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003846/0.5152, allocations: 70.97 kB / 0.5685 GB, free: 7.328 MB / 378.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/0.5155, allocations: 131.2 kB / 0.5686 GB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.5168, allocations: 186 kB / 0.5688 GB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5168, allocations: 4.062 kB / 0.5688 GB, free: 7.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007259/0.5175, allocations: 82.88 kB / 0.5689 GB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.5177, allocations: 16.03 kB / 0.5689 GB, free: 6.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.5184, allocations: 312.4 kB / 0.5692 GB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.5188, allocations: 0.7853 MB / 0.5699 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.5189, allocations: 45.11 kB / 0.57 GB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.519, allocations: 11.44 kB / 0.57 GB, free: 5.766 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.519, allocations: 3.938 kB / 0.57 GB, free: 5.762 MB / 378.7 MB Notification: Performance of Templates: time 0.006607/0.5256, allocations: 3.616 MB / 0.5735 GB, free: 2.164 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","../files/ModelicaTest_3.2.3_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_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_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