Running: ./testmodel.py --libraries=/var/lib/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("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002604/0.002603, allocations: 169.5 kB / 8.146 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001284, allocations: 90.61 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.293/0.293, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.496e-06/8.656e-06, allocations: 4 kB / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2758, allocations: 58.84 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.4295, allocations: 89.3 MB / 0.5526 GB, free: 9.734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.4299, allocations: 95.94 kB / 0.5527 GB, free: 9.641 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0273/0.4572, allocations: 5.524 MB / 0.5581 GB, free: 4.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.4573, allocations: 4 kB / 0.5581 GB, free: 4.035 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.0009562/0.4583, allocations: 0.4902 MB / 0.5586 GB, free: 3.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.4584, allocations: 8.031 kB / 0.5586 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.4603, allocations: 151.5 kB / 0.5587 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.461, allocations: 266 kB / 0.559 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.461, allocations: 8 kB / 0.559 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.4611, allocations: 19.92 kB / 0.559 GB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009376/0.462, allocations: 340.9 kB / 0.5593 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.463, allocations: 393.1 kB / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.463, allocations: 0 / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.4631, allocations: 4 kB / 0.5597 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/0.4631, allocations: 24.47 kB / 0.5597 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.4665, allocations: 1.629 MB / 0.5613 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.4668, allocations: 90.47 kB / 0.5614 GB, free: 404 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.467, allocations: 32.84 kB / 0.5614 GB, free: 368 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.467, allocations: 7.938 kB / 0.5614 GB, free: 360 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.4671, allocations: 38.55 kB / 0.5615 GB, free: 312 kB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.775e-06/0.4671, allocations: 0 / 0.5615 GB, free: 312 kB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004897/0.4676, allocations: 109.6 kB / 0.5616 GB, free: 196 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4676, allocations: 55.41 kB / 0.5616 GB, free: 128 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.468, allocations: 202.7 kB / 0.5618 GB, free: 15.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.468, allocations: 25.7 kB / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.4682, allocations: 245.9 kB / 0.5621 GB, free: 15.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.4683, allocations: 27.59 kB / 0.5621 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.4683, allocations: 0 / 0.5621 GB, free: 15.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4685, allocations: 322.7 kB / 0.5624 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.4687, allocations: 55.97 kB / 0.5625 GB, free: 15.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.4689, allocations: 106 kB / 0.5626 GB, free: 15.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.4692, allocations: 66.2 kB / 0.5626 GB, free: 15.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4692, allocations: 0 / 0.5626 GB, free: 15.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006147/0.4698, allocations: 201.4 kB / 0.5628 GB, free: 14.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4699, allocations: 4 kB / 0.5628 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4699, allocations: 7.938 kB / 0.5628 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4699, allocations: 0 / 0.5628 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.4729, allocations: 123.8 kB / 0.563 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.476, allocations: 1.86 MB / 0.5648 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.4764, allocations: 15.89 kB / 0.5648 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.4765, allocations: 8 kB / 0.5648 GB, free: 12.75 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 () * 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.0001065/0.4766, allocations: 39.08 kB / 0.5648 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.4767, allocations: 15.81 kB / 0.5649 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.4773, allocations: 166.9 kB / 0.565 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4774, allocations: 0 / 0.565 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4774, allocations: 0 / 0.565 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4774, allocations: 0 / 0.565 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.4778, allocations: 241.9 kB / 0.5652 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4779, allocations: 0 / 0.5652 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/0.4803, allocations: 100.7 kB / 0.5653 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4803, allocations: 3.938 kB / 0.5653 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.4804, allocations: 7.906 kB / 0.5653 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.4824, allocations: 1.805 MB / 0.5671 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4824, allocations: 3.938 kB / 0.5671 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004742/0.4829, allocations: 219.5 kB / 0.5673 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.483, allocations: 96.86 kB / 0.5674 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.4831, allocations: 4 kB / 0.5674 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.4834, allocations: 7.984 kB / 0.5674 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.4835, allocations: 15.92 kB / 0.5674 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.4836, allocations: 4 kB / 0.5674 GB, free: 9.891 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002202/0.4838, allocations: 155.5 kB / 0.5676 GB, free: 9.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004932/0.4843, allocations: 75.67 kB / 0.5677 GB, free: 9.664 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 () * 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.0002913/0.4846, allocations: 148.9 kB / 0.5678 GB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.488, allocations: 203.7 kB / 0.568 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.488, allocations: 0 / 0.568 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.4902, allocations: 103.8 kB / 0.5681 GB, free: 9.211 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4906, allocations: 15.95 kB / 0.5681 GB, free: 9.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.4919, allocations: 345.8 kB / 0.5684 GB, free: 8.828 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/0.4925, allocations: 0.8005 MB / 0.5692 GB, free: 8.004 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4925, allocations: 4 kB / 0.5692 GB, free: 8 MB / 410.7 MB Notification: Performance of Templates: time 0.0123/0.5048, allocations: 5.864 MB / 0.575 GB, free: 2.133 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/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_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],R_s,T_m,_D_cse1,_D_cse2,_D_cse3,_D_cse4,dp_IN_con[1].Km,dp_IN_con[1].R_s,dp_IN_con[1].dp_smooth,dp_IN_con[1].exp,dp_IN_con[2].Km,dp_IN_con[2].R_s,dp_IN_con[2].dp_smooth,dp_IN_con[2].exp,dp_IN_con[3].Km,dp_IN_con[3].R_s,dp_IN_con[3].dp_smooth,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].Km,m_flow_IN_con[1].R_s,m_flow_IN_con[1].dp_smooth,m_flow_IN_con[1].exp,m_flow_IN_con[2].Km,m_flow_IN_con[2].R_s,m_flow_IN_con[2].dp_smooth,m_flow_IN_con[2].exp,m_flow_IN_con[3].Km,m_flow_IN_con[3].R_s,m_flow_IN_con[3].dp_smooth,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