Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008948/0.0008949, allocations: 172.8 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008749/0.0008748, allocations: 99.53 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.183/0.183, allocations: 44.14 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.394e-05, allocations: 4 kB / 444.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 61.91 MB / 0.4947 GB, free: 1.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.483, allocations: 93.3 MB / 0.5858 GB, free: 3.156 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4833, allocations: 95.94 kB / 0.5859 GB, free: 3.062 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5283:11-5295: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 4.0.0+maint.om/Fluid/Dissipation.mo:5297:11-5298: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 4.0.0+maint.om/Fluid/Dissipation.mo:5301:11-5313: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 4.0.0+maint.om/Fluid/Dissipation.mo:5315:11-5316: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.02385/0.5072, allocations: 9.013 MB / 0.5947 GB, free: 9.961 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5073, allocations: 7.938 kB / 0.5947 GB, free: 9.953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.5073, allocations: 4 kB / 0.5947 GB, free: 9.949 MB / 410.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.0006068/0.5079, allocations: 0.5179 MB / 0.5952 GB, free: 9.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5079, allocations: 11.98 kB / 0.5952 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.508, allocations: 35.62 kB / 0.5953 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.5082, allocations: 234.7 kB / 0.5955 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.5083, allocations: 16 kB / 0.5955 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.5083, allocations: 23.95 kB / 0.5955 GB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005029/0.5088, allocations: 381.4 kB / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.5094, allocations: 405.2 kB / 0.5963 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5094, allocations: 4 kB / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.5094, allocations: 0 / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.5095, allocations: 24.77 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.5108, allocations: 1.129 MB / 0.5974 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.5109, allocations: 66.53 kB / 0.5975 GB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.511, allocations: 32.84 kB / 0.5975 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.511, allocations: 0 / 0.5975 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5111, allocations: 42.5 kB / 0.5975 GB, free: 6.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.5111, allocations: 0 / 0.5975 GB, free: 6.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002078/0.5113, allocations: 89.52 kB / 0.5976 GB, free: 6.754 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.5113, allocations: 51.41 kB / 0.5977 GB, free: 6.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5114, allocations: 145.5 kB / 0.5978 GB, free: 6.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5115, allocations: 25.7 kB / 0.5978 GB, free: 6.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.5116, allocations: 223.5 kB / 0.598 GB, free: 6.281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.5116, allocations: 27.64 kB / 0.5981 GB, free: 6.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.5116, allocations: 4 kB / 0.5981 GB, free: 6.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5118, allocations: 318.8 kB / 0.5984 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.5118, allocations: 39.92 kB / 0.5984 GB, free: 5.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.512, allocations: 160.2 kB / 0.5986 GB, free: 5.676 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.819e-05/0.5121, allocations: 60.05 kB / 0.5986 GB, free: 5.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5121, allocations: 4 kB / 0.5986 GB, free: 5.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002809/0.5124, allocations: 193.2 kB / 0.5988 GB, free: 5.418 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5124, allocations: 13.77 kB / 0.5988 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5124, allocations: 8 kB / 0.5988 GB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.5124, allocations: 8 kB / 0.5988 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.5128, allocations: 83.88 kB / 0.5989 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009803/0.5138, allocations: 1.785 MB / 0.6007 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.5139, allocations: 23.78 kB / 0.6007 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.514, allocations: 15.98 kB / 0.6007 GB, free: 3.414 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 () * 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.0001198/0.5141, allocations: 120.9 kB / 0.6008 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.5141, allocations: 16.05 kB / 0.6008 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.5146, allocations: 169.8 kB / 0.601 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5146, allocations: 3.938 kB / 0.601 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5146, allocations: 4 kB / 0.601 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5146, allocations: 0 / 0.601 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.5149, allocations: 230.1 kB / 0.6012 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5149, allocations: 0 / 0.6012 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.5151, allocations: 55.95 kB / 0.6013 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.5151, allocations: 4 kB / 0.6013 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5151, allocations: 3.984 kB / 0.6013 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008236/0.516, allocations: 1.781 MB / 0.603 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.516, allocations: 4 kB / 0.603 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.5162, allocations: 195.7 kB / 0.6032 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.5162, allocations: 81.02 kB / 0.6033 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.5162, allocations: 4 kB / 0.6033 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.5163, allocations: 7.984 kB / 0.6033 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.5164, allocations: 7.953 kB / 0.6033 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5164, allocations: 7.984 kB / 0.6033 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.501e-05/0.5165, allocations: 115.7 kB / 0.6034 GB, free: 488 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5165, allocations: 4 kB / 0.6034 GB, free: 484 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005369/0.5171, allocations: 95.53 kB / 0.6035 GB, free: 388 kB / 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 (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.0003743/0.5174, allocations: 171.4 kB / 0.6037 GB, free: 204 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.5178, allocations: 139.7 kB / 0.6038 GB, free: 64 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5178, allocations: 4 kB / 0.6038 GB, free: 60 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.518, allocations: 55.97 kB / 0.6039 GB, free: 4 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.5183, allocations: 5.203 kB / 0.6039 GB, free: 16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.5188, allocations: 306 kB / 0.6042 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.5192, allocations: 0.806 MB / 0.605 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.5194, allocations: 64.97 kB / 0.605 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.5194, allocations: 15.44 kB / 0.605 GB, free: 14.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5194, allocations: 0 / 0.605 GB, free: 14.77 MB / 426.7 MB Notification: Performance of Templates: time 0.005611/0.525, allocations: 2.775 MB / 0.6078 GB, free: 12.03 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches