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.001277/0.001277, allocations: 183 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007411/0.0007413, allocations: 87.34 kB / 293.3 MB, free: 10.77 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.3379/0.3379, allocations: 44.14 MB / 388.5 MB, free: 38.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 8 kB / 461.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3581, allocations: 61.89 MB / 0.5108 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4743, allocations: 94.07 MB / 0.6026 GB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4746, allocations: 103.9 kB / 0.6027 GB, free: 0.9297 MB / 410.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.02294/0.4975, allocations: 9.13 MB / 0.6116 GB, free: 7.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.4976, allocations: 0 / 0.6116 GB, free: 7.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.4976, allocations: 4 kB / 0.6116 GB, free: 7.695 MB / 426.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.0006732/0.4983, allocations: 0.5307 MB / 0.6121 GB, free: 7.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4983, allocations: 12.03 kB / 0.6122 GB, free: 7.105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.4984, allocations: 32.56 kB / 0.6122 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.4987, allocations: 232 kB / 0.6124 GB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.4987, allocations: 25.38 kB / 0.6124 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.4988, allocations: 32.38 kB / 0.6125 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.4995, allocations: 490.6 kB / 0.6129 GB, free: 6.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4995, allocations: 7.938 kB / 0.6129 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.4996, allocations: 12 kB / 0.613 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.4996, allocations: 24.98 kB / 0.613 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.5003, allocations: 435.7 kB / 0.6134 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.5017, allocations: 1.181 MB / 0.6145 GB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.5019, allocations: 94.45 kB / 0.6146 GB, free: 4.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.502, allocations: 44.83 kB / 0.6147 GB, free: 4.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.5021, allocations: 7.984 kB / 0.6147 GB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.5021, allocations: 34.55 kB / 0.6147 GB, free: 4.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5021, allocations: 0 / 0.6147 GB, free: 4.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004376/0.5025, allocations: 177.5 kB / 0.6149 GB, free: 4.133 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5026, allocations: 55.34 kB / 0.6149 GB, free: 4.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.5027, allocations: 175.8 kB / 0.6151 GB, free: 3.887 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.5028, allocations: 25.7 kB / 0.6151 GB, free: 3.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5029, allocations: 215.4 kB / 0.6153 GB, free: 3.641 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.5029, allocations: 31.55 kB / 0.6154 GB, free: 3.609 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.5029, allocations: 4 kB / 0.6154 GB, free: 3.605 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5031, allocations: 322.8 kB / 0.6157 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.5032, allocations: 55.95 kB / 0.6157 GB, free: 3.227 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.5034, allocations: 189.2 kB / 0.6159 GB, free: 2.984 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.5038, allocations: 260 kB / 0.6162 GB, free: 2.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5038, allocations: 0 / 0.6162 GB, free: 2.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000451/0.5043, allocations: 249.1 kB / 0.6164 GB, free: 2.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.5043, allocations: 11.98 kB / 0.6164 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5043, allocations: 8 kB / 0.6164 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.5043, allocations: 8 kB / 0.6164 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.5047, allocations: 84.47 kB / 0.6165 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009049/0.5056, allocations: 1.782 MB / 0.6182 GB, free: 472 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.5057, allocations: 35.8 kB / 0.6183 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.5058, allocations: 19.94 kB / 0.6183 GB, free: 416 kB / 426.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.0002125/0.506, allocations: 175.6 kB / 0.6185 GB, free: 232 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.506, allocations: 7.906 kB / 0.6185 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.5065, allocations: 213.9 kB / 0.6187 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5065, allocations: 0 / 0.6187 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5065, allocations: 0 / 0.6187 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5065, allocations: 0 / 0.6187 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.5069, allocations: 301.5 kB / 0.619 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5069, allocations: 0 / 0.619 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.5071, allocations: 63.97 kB / 0.619 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5071, allocations: 0 / 0.619 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5071, allocations: 8 kB / 0.619 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008691/0.508, allocations: 1.774 MB / 0.6208 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/0.508, allocations: 7.969 kB / 0.6208 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.5083, allocations: 219.4 kB / 0.621 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.5084, allocations: 89.02 kB / 0.6211 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.5084, allocations: 0 / 0.6211 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.5085, allocations: 15.98 kB / 0.6211 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.5086, allocations: 11.92 kB / 0.6211 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.5086, allocations: 4 kB / 0.6211 GB, free: 13.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.601e-05/0.5087, allocations: 111.2 kB / 0.6212 GB, free: 13.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5087, allocations: 0 / 0.6212 GB, free: 13.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004974/0.5092, allocations: 107.5 kB / 0.6213 GB, free: 13.16 MB / 442.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.0003154/0.5095, allocations: 177.5 kB / 0.6215 GB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.51, allocations: 200.8 kB / 0.6217 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5101, allocations: 0 / 0.6217 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.5103, allocations: 99.88 kB / 0.6218 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.5106, allocations: 8.875 kB / 0.6218 GB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000855/0.5115, allocations: 0.577 MB / 0.6223 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.5119, allocations: 0.8024 MB / 0.6231 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.5121, allocations: 61.19 kB / 0.6232 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.5121, allocations: 19.44 kB / 0.6232 GB, free: 11.17 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5121, allocations: 0 / 0.6232 GB, free: 11.17 MB / 442.7 MB Notification: Performance of Templates: time 0.007265/0.5194, allocations: 3.269 MB / 0.6264 GB, free: 7.941 MB / 442.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/jenkins1/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