Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001321/0.001321, allocations: 177.5 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007519/0.0007519, allocations: 96.97 kB / 271.9 MB, free: 8.238 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.3073/0.3073, allocations: 43.56 MB / 363.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 16 kB / 432.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 58.85 MB / 491.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/0.3739, allocations: 90.16 MB / 0.568 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.3742, allocations: 95.94 kB / 0.5681 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01577/0.39, allocations: 5.862 MB / 0.5738 GB, free: 6.223 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.39, allocations: 0 / 0.5738 GB, free: 6.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.3901, allocations: 4 kB / 0.5738 GB, free: 6.219 MB / 394.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.0006156/0.3907, allocations: 0.5065 MB / 0.5743 GB, free: 5.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3907, allocations: 12.03 kB / 0.5743 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009499/0.3917, allocations: 172.3 kB / 0.5745 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.392, allocations: 255.9 kB / 0.5747 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.392, allocations: 12.81 kB / 0.5747 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.392, allocations: 28.36 kB / 0.5748 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.3927, allocations: 425.8 kB / 0.5752 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3927, allocations: 11.88 kB / 0.5752 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.3927, allocations: 12 kB / 0.5752 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.3928, allocations: 24.55 kB / 0.5752 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.3934, allocations: 397.8 kB / 0.5756 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.3953, allocations: 1.713 MB / 0.5773 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3956, allocations: 98.5 kB / 0.5774 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.3957, allocations: 56.81 kB / 0.5774 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.3958, allocations: 0 / 0.5774 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3958, allocations: 38.5 kB / 0.5775 GB, free: 2.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.295e-06/0.3958, allocations: 0 / 0.5775 GB, free: 2.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005444/0.3964, allocations: 209.2 kB / 0.5777 GB, free: 2.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.3964, allocations: 55.41 kB / 0.5777 GB, free: 1.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.3967, allocations: 326.7 kB / 0.578 GB, free: 1.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3968, allocations: 25.7 kB / 0.578 GB, free: 1.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3969, allocations: 187.2 kB / 0.5782 GB, free: 1.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.3969, allocations: 27.64 kB / 0.5783 GB, free: 1.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.3969, allocations: 4 kB / 0.5783 GB, free: 1.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.397, allocations: 334.8 kB / 0.5786 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.3972, allocations: 75.94 kB / 0.5786 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.3974, allocations: 121.9 kB / 0.5788 GB, free: 0.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.3978, allocations: 190.6 kB / 0.5789 GB, free: 0.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3978, allocations: 0 / 0.5789 GB, free: 0.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004785/0.3983, allocations: 255.8 kB / 0.5792 GB, free: 380 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3983, allocations: 7.938 kB / 0.5792 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3984, allocations: 7.938 kB / 0.5792 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3984, allocations: 0 / 0.5792 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.3997, allocations: 115.9 kB / 0.5793 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.4015, allocations: 1.853 MB / 0.5811 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.4018, allocations: 39.61 kB / 0.5812 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.4018, allocations: 4 kB / 0.5812 GB, free: 14.28 MB / 410.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 () * 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 (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 0.0001448/0.402, allocations: 153.8 kB / 0.5813 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.402, allocations: 23.66 kB / 0.5813 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/0.4025, allocations: 215.8 kB / 0.5815 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4026, allocations: 0 / 0.5815 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4026, allocations: 7.984 kB / 0.5815 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4026, allocations: 0 / 0.5815 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.4029, allocations: 271.3 kB / 0.5818 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4029, allocations: 0 / 0.5818 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.404, allocations: 103.8 kB / 0.5819 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.404, allocations: 0 / 0.5819 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.404, allocations: 0 / 0.5819 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.4051, allocations: 1.801 MB / 0.5837 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4051, allocations: 3.938 kB / 0.5837 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.4056, allocations: 275.5 kB / 0.5839 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.4057, allocations: 104.8 kB / 0.584 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.4057, allocations: 0 / 0.584 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.4059, allocations: 15.98 kB / 0.584 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.406, allocations: 8 kB / 0.5841 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.406, allocations: 4.812 kB / 0.5841 GB, free: 11.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000241/0.4062, allocations: 241.9 kB / 0.5843 GB, free: 10.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4062, allocations: 0 / 0.5843 GB, free: 10.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000326/0.4066, allocations: 63.91 kB / 0.5843 GB, free: 10.86 MB / 410.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 (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.0002083/0.4068, allocations: 149 kB / 0.5845 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.4089, allocations: 263.7 kB / 0.5847 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4089, allocations: 0 / 0.5847 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.4098, allocations: 119.8 kB / 0.5849 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.4102, allocations: 57.23 kB / 0.5849 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.411, allocations: 0.5529 MB / 0.5855 GB, free: 9.691 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4113, allocations: 0.7716 MB / 0.5862 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.4114, allocations: 27.42 kB / 0.5862 GB, free: 8.867 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4114, allocations: 3.938 kB / 0.5862 GB, free: 8.863 MB / 410.7 MB Notification: Performance of Templates: time 0.007973/0.4194, allocations: 6.625 MB / 0.5927 GB, free: 2.266 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins1/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_cpp_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],dp_nom[1],dp_nom[2],dp_nom[3],frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],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],p_2[1],p_2[2],p_2[3],time