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.0008568/0.0008568, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.243/1.243, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0006976/0.0006977, allocations: 86.3 kB / 271.9 MB, free: 8.254 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.3373/0.3373, allocations: 43.55 MB / 363.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 19.92 kB / 432.6 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09659, allocations: 58.85 MB / 491.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2696/0.3663, allocations: 92.98 MB / 0.5708 GB, free: 9.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.3666, allocations: 103.9 kB / 0.5709 GB, free: 9.301 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.02354/0.3901, allocations: 8.959 MB / 0.5796 GB, free: 284 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3902, allocations: 0 / 0.5796 GB, free: 284 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.3902, allocations: 4 kB / 0.5796 GB, free: 280 kB / 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.0005942/0.3908, allocations: 0.5227 MB / 0.5801 GB, free: 15.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3909, allocations: 8.031 kB / 0.5801 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.3909, allocations: 32.56 kB / 0.5802 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.3912, allocations: 239.9 kB / 0.5804 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.3912, allocations: 25.38 kB / 0.5804 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.3913, allocations: 32.38 kB / 0.5804 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.3919, allocations: 494.6 kB / 0.5809 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.392, allocations: 3.938 kB / 0.5809 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.392, allocations: 12 kB / 0.5809 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.392, allocations: 25 kB / 0.5809 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.3927, allocations: 431.6 kB / 0.5814 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.3941, allocations: 1.19 MB / 0.5825 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.3943, allocations: 86.53 kB / 0.5826 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3944, allocations: 40.83 kB / 0.5826 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.3945, allocations: 8 kB / 0.5827 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3945, allocations: 30.56 kB / 0.5827 GB, free: 12.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.3945, allocations: 4 kB / 0.5827 GB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004546/0.395, allocations: 173.5 kB / 0.5829 GB, free: 12.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.395, allocations: 55.41 kB / 0.5829 GB, free: 12.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3951, allocations: 162.4 kB / 0.5831 GB, free: 12.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3952, allocations: 29.7 kB / 0.5831 GB, free: 12.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3953, allocations: 215.2 kB / 0.5833 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.3953, allocations: 27.64 kB / 0.5833 GB, free: 12.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.3953, allocations: 8 kB / 0.5833 GB, free: 12.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3954, allocations: 322.8 kB / 0.5836 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3956, allocations: 63.89 kB / 0.5837 GB, free: 11.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.3958, allocations: 172.3 kB / 0.5839 GB, free: 11.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.3961, allocations: 264.9 kB / 0.5841 GB, free: 11.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3962, allocations: 0 / 0.5841 GB, free: 11.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004481/0.3966, allocations: 261.3 kB / 0.5844 GB, free: 11.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3966, allocations: 4 kB / 0.5844 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3967, allocations: 11.94 kB / 0.5844 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3967, allocations: 4 kB / 0.5844 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.397, allocations: 96.41 kB / 0.5845 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/0.3979, allocations: 1.782 MB / 0.5862 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.398, allocations: 27.75 kB / 0.5862 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.398, allocations: 19.94 kB / 0.5863 GB, free: 9.008 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.0001731/0.3982, allocations: 169.7 kB / 0.5864 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.3983, allocations: 11.91 kB / 0.5864 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.3988, allocations: 209.4 kB / 0.5866 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3988, allocations: 0 / 0.5866 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3988, allocations: 8 kB / 0.5866 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3988, allocations: 0 / 0.5866 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3991, allocations: 297.4 kB / 0.5869 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3991, allocations: 0 / 0.5869 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.3993, allocations: 63.97 kB / 0.587 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3993, allocations: 8 kB / 0.587 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3994, allocations: 4 kB / 0.587 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008164/0.4002, allocations: 1.778 MB / 0.5887 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4002, allocations: 3.938 kB / 0.5887 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4005, allocations: 223.5 kB / 0.5889 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.4006, allocations: 89 kB / 0.589 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.4006, allocations: 0 / 0.589 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.4007, allocations: 8 kB / 0.589 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.4007, allocations: 11.92 kB / 0.5891 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4008, allocations: 8 kB / 0.5891 GB, free: 5.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.4008, allocations: 113.7 kB / 0.5892 GB, free: 5.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4008, allocations: 0 / 0.5892 GB, free: 5.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004409/0.4013, allocations: 115.5 kB / 0.5893 GB, free: 5.758 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.0003037/0.4016, allocations: 171.7 kB / 0.5894 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005221/0.4021, allocations: 200.8 kB / 0.5896 GB, free: 5.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4021, allocations: 7.938 kB / 0.5896 GB, free: 5.375 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.4024, allocations: 87.95 kB / 0.5897 GB, free: 5.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.4027, allocations: 8 kB / 0.5897 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.4035, allocations: 0.6042 MB / 0.5903 GB, free: 4.656 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4038, allocations: 0.7907 MB / 0.5911 GB, free: 3.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.4039, allocations: 23.44 kB / 0.5911 GB, free: 3.816 MB / 410.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4039, allocations: 0 / 0.5911 GB, free: 3.816 MB / 410.7 MB Notification: Performance of Templates: time 0.008461/0.4123, allocations: 7.134 MB / 0.5981 GB, free: 12.69 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