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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.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_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.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_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001498, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.944/1.944, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001123/0.001122, allocations: 95.55 kB / 270.9 MB, free: 8.383 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.5057/0.5057, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006588/0.0006588, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1447, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4771/0.6219, allocations: 92.92 MB / 0.5695 GB, free: 9.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003754/0.6223, allocations: 103.9 kB / 0.5696 GB, free: 9.711 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.04046/0.6628, allocations: 8.962 MB / 0.5783 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6628, allocations: 4 kB / 0.5783 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.6629, allocations: 4 kB / 0.5783 GB, free: 0.6836 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009221/0.6638, allocations: 0.5225 MB / 0.5789 GB, free: 120 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.6639, allocations: 8.031 kB / 0.5789 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.664, allocations: 35.06 kB / 0.5789 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.6644, allocations: 238.6 kB / 0.5791 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.6644, allocations: 25 kB / 0.5792 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.6645, allocations: 36 kB / 0.5792 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.6657, allocations: 482.1 kB / 0.5796 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.6658, allocations: 0 / 0.5796 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.6658, allocations: 16.75 kB / 0.5797 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/0.6659, allocations: 26.02 kB / 0.5797 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.6671, allocations: 439.6 kB / 0.5801 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.6695, allocations: 1.21 MB / 0.5813 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.6699, allocations: 78.53 kB / 0.5814 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.6699, allocations: 4 kB / 0.5814 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.67, allocations: 42.55 kB / 0.5814 GB, free: 13.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 6.151e-06/0.67, allocations: 0 / 0.5814 GB, free: 13.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008045/0.6708, allocations: 173.5 kB / 0.5816 GB, free: 13.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.6709, allocations: 51.41 kB / 0.5816 GB, free: 13.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.6711, allocations: 149.5 kB / 0.5818 GB, free: 12.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.6711, allocations: 25.7 kB / 0.5818 GB, free: 12.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.6713, allocations: 293.6 kB / 0.5821 GB, free: 12.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.6714, allocations: 23.66 kB / 0.5821 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.6714, allocations: 4 kB / 0.5821 GB, free: 12.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6716, allocations: 326.8 kB / 0.5824 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.6718, allocations: 55.95 kB / 0.5825 GB, free: 12.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.6722, allocations: 172.3 kB / 0.5826 GB, free: 12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.6725, allocations: 92.2 kB / 0.5827 GB, free: 11.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.6725, allocations: 4 kB / 0.5827 GB, free: 11.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008109/0.6733, allocations: 257 kB / 0.583 GB, free: 11.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.6734, allocations: 8 kB / 0.583 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.6734, allocations: 4 kB / 0.583 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.6734, allocations: 4 kB / 0.583 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.6741, allocations: 88.44 kB / 0.5831 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.6754, allocations: 1.785 MB / 0.5848 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.6757, allocations: 31.84 kB / 0.5848 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.6757, allocations: 12 kB / 0.5848 GB, free: 9.645 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0003138/0.6761, allocations: 189.6 kB / 0.585 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.6761, allocations: 11.89 kB / 0.585 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009489/0.6771, allocations: 209.1 kB / 0.5852 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.6771, allocations: 11.98 kB / 0.5852 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6771, allocations: 0 / 0.5852 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6771, allocations: 0 / 0.5852 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.6777, allocations: 293.5 kB / 0.5855 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6777, allocations: 0 / 0.5855 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.6782, allocations: 67.94 kB / 0.5856 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.6782, allocations: 0 / 0.5856 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.6782, allocations: 4 kB / 0.5856 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.6795, allocations: 1.773 MB / 0.5873 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6795, allocations: 288 / 0.5873 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.6801, allocations: 227.8 kB / 0.5875 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.6802, allocations: 85.02 kB / 0.5876 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.6802, allocations: 7.984 kB / 0.5876 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.6804, allocations: 8 kB / 0.5876 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.6805, allocations: 11.98 kB / 0.5877 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.6805, allocations: 4 kB / 0.5877 GB, free: 6.602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.6806, allocations: 117.7 kB / 0.5878 GB, free: 6.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6807, allocations: 0 / 0.5878 GB, free: 6.488 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006534/0.6813, allocations: 107.5 kB / 0.5879 GB, free: 6.383 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 (7): * Single equations (assignments): 4 * 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.0004215/0.6818, allocations: 186.8 kB / 0.5881 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009592/0.6827, allocations: 183.7 kB / 0.5882 GB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.6828, allocations: 0 / 0.5882 GB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.6833, allocations: 88.88 kB / 0.5883 GB, free: 5.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.6836, allocations: 11.95 kB / 0.5883 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6848, allocations: 0.6019 MB / 0.5889 GB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.6854, allocations: 0.7985 MB / 0.5897 GB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.6854, allocations: 19.44 kB / 0.5897 GB, free: 4.449 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6855, allocations: 0 / 0.5897 GB, free: 4.449 MB / 410.7 MB Notification: Performance of Templates: time 0.01511/0.7006, allocations: 7 MB / 0.5965 GB, free: 13.46 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches