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.0009922/0.0009921, allocations: 176.8 kB / 17.06 MB, free: 5.098 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.358/1.358, allocations: 223.2 MB / 241 MB, free: 10.14 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.0009082/0.0009082, allocations: 88.2 kB / 292.1 MB, free: 10.7 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.3027/0.3027, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 8 kB / 459.9 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3638, allocations: 61.9 MB / 0.5096 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.4766, allocations: 94.04 MB / 0.6014 GB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.4769, allocations: 116.9 kB / 0.6015 GB, free: 0.9727 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.02338/0.5003, allocations: 9.123 MB / 0.6104 GB, free: 7.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5004, allocations: 11.98 kB / 0.6104 GB, free: 7.738 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.5004, allocations: 4 kB / 0.6105 GB, free: 7.734 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.0005758/0.501, allocations: 0.5266 MB / 0.611 GB, free: 7.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.501, allocations: 8.031 kB / 0.611 GB, free: 7.152 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.5011, allocations: 31.62 kB / 0.611 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.5013, allocations: 230.7 kB / 0.6112 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.5014, allocations: 25 kB / 0.6112 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.5014, allocations: 47.94 kB / 0.6113 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.5021, allocations: 478.1 kB / 0.6117 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5021, allocations: 0 / 0.6117 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.5022, allocations: 15.94 kB / 0.6118 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.5022, allocations: 28.98 kB / 0.6118 GB, free: 6.262 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.5028, allocations: 427.7 kB / 0.6122 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.5042, allocations: 1.209 MB / 0.6134 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.5044, allocations: 82.52 kB / 0.6135 GB, free: 4.445 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.5045, allocations: 3.953 kB / 0.6135 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.5045, allocations: 46.5 kB / 0.6135 GB, free: 4.387 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5045, allocations: 0 / 0.6135 GB, free: 4.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004444/0.505, allocations: 161.5 kB / 0.6137 GB, free: 4.223 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.505, allocations: 59.34 kB / 0.6137 GB, free: 4.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.5051, allocations: 156.3 kB / 0.6139 GB, free: 3.992 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.5052, allocations: 29.7 kB / 0.6139 GB, free: 3.957 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.5053, allocations: 219.4 kB / 0.6141 GB, free: 3.738 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.5053, allocations: 27.64 kB / 0.6141 GB, free: 3.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.5053, allocations: 4 kB / 0.6141 GB, free: 3.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5055, allocations: 322.8 kB / 0.6144 GB, free: 3.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.5056, allocations: 55.95 kB / 0.6145 GB, free: 3.328 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.5058, allocations: 177.3 kB / 0.6147 GB, free: 3.098 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.506, allocations: 92.12 kB / 0.6148 GB, free: 3.008 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.506, allocations: 4 kB / 0.6148 GB, free: 3.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000442/0.5064, allocations: 268.9 kB / 0.615 GB, free: 2.734 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5065, allocations: 8 kB / 0.615 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5065, allocations: 4 kB / 0.615 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5065, allocations: 8 kB / 0.615 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.5069, allocations: 84.41 kB / 0.6151 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008176/0.5077, allocations: 1.774 MB / 0.6168 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.5078, allocations: 36.05 kB / 0.6169 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.5079, allocations: 16 kB / 0.6169 GB, free: 0.7383 MB / 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.0001696/0.508, allocations: 177 kB / 0.6171 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.5081, allocations: 15.77 kB / 0.6171 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.5086, allocations: 214 kB / 0.6173 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5086, allocations: 4 kB / 0.6173 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5086, allocations: 0 / 0.6173 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5086, allocations: 0 / 0.6173 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.509, allocations: 289.6 kB / 0.6176 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.509, allocations: 0 / 0.6176 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.5092, allocations: 63.95 kB / 0.6176 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.5092, allocations: 7.938 kB / 0.6176 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.5092, allocations: 7.984 kB / 0.6176 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008062/0.51, allocations: 1.773 MB / 0.6194 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.51, allocations: 320 / 0.6194 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.5104, allocations: 227.3 kB / 0.6196 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.5104, allocations: 85.02 kB / 0.6197 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.5105, allocations: 7.953 kB / 0.6197 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.5105, allocations: 15.98 kB / 0.6197 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.5106, allocations: 7.984 kB / 0.6197 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.5106, allocations: 4 kB / 0.6197 GB, free: 13.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.838e-05/0.5107, allocations: 111.2 kB / 0.6198 GB, free: 13.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5107, allocations: 0 / 0.6198 GB, free: 13.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004667/0.5112, allocations: 103.5 kB / 0.6199 GB, free: 13.48 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.0003134/0.5115, allocations: 188.2 kB / 0.6201 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.512, allocations: 175.9 kB / 0.6203 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.512, allocations: 0 / 0.6203 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.5123, allocations: 88.86 kB / 0.6203 GB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.5125, allocations: 8.812 kB / 0.6203 GB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.5133, allocations: 0.5717 MB / 0.6209 GB, free: 12.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.5136, allocations: 0.8102 MB / 0.6217 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.5138, allocations: 61.25 kB / 0.6218 GB, free: 11.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.5138, allocations: 19.42 kB / 0.6218 GB, free: 11.51 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5138, allocations: 0 / 0.6218 GB, free: 11.51 MB / 442.7 MB Notification: Performance of Templates: time 0.006127/0.52, allocations: 3.09 MB / 0.6248 GB, free: 8.469 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/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