Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001283, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008199/0.0008198, allocations: 91.34 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1695/0.1695, allocations: 45.13 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.091e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08585, allocations: 63.25 MB / 0.5114 GB, free: 6.766 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4279, allocations: 95.03 MB / 0.6042 GB, free: 14.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4281, allocations: 98 kB / 0.6043 GB, free: 14.85 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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 trunk/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 trunk/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.02342/0.4516, allocations: 9.192 MB / 0.6133 GB, free: 6.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4516, allocations: 0 / 0.6133 GB, free: 6.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.4516, allocations: 4 kB / 0.6133 GB, free: 6.816 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.0005364/0.4522, allocations: 0.5117 MB / 0.6138 GB, free: 6.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4522, allocations: 15.91 kB / 0.6138 GB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.4523, allocations: 35.61 kB / 0.6138 GB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.4525, allocations: 237.5 kB / 0.614 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.4526, allocations: 31.59 kB / 0.6141 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.4526, allocations: 30.56 kB / 0.6141 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.4532, allocations: 461.7 kB / 0.6145 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4532, allocations: 0 / 0.6145 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.4532, allocations: 13.81 kB / 0.6146 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.4533, allocations: 27.89 kB / 0.6146 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.4537, allocations: 393.6 kB / 0.615 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.455, allocations: 1.205 MB / 0.6161 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.4552, allocations: 68.84 kB / 0.6162 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.4552, allocations: 31.86 kB / 0.6162 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.4553, allocations: 12.12 kB / 0.6162 GB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4553, allocations: 38.5 kB / 0.6163 GB, free: 3.977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4553, allocations: 0 / 0.6163 GB, free: 3.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002168/0.4555, allocations: 88.08 kB / 0.6164 GB, free: 3.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.4556, allocations: 55.41 kB / 0.6164 GB, free: 3.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.4557, allocations: 149.7 kB / 0.6166 GB, free: 3.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4557, allocations: 32.94 kB / 0.6166 GB, free: 3.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.4558, allocations: 221.4 kB / 0.6168 GB, free: 3.441 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.4558, allocations: 31 kB / 0.6168 GB, free: 3.414 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.4559, allocations: 3.5 kB / 0.6168 GB, free: 3.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.456, allocations: 322.2 kB / 0.6171 GB, free: 3.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.764e-05/0.456, allocations: 49.59 kB / 0.6172 GB, free: 3.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.4562, allocations: 151.1 kB / 0.6173 GB, free: 2.863 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.4563, allocations: 73.77 kB / 0.6174 GB, free: 2.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4563, allocations: 0 / 0.6174 GB, free: 2.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002913/0.4566, allocations: 218.9 kB / 0.6176 GB, free: 2.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4566, allocations: 13.34 kB / 0.6176 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.4566, allocations: 4 kB / 0.6176 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4566, allocations: 8 kB / 0.6176 GB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.457, allocations: 91.19 kB / 0.6177 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008359/0.4578, allocations: 1.776 MB / 0.6195 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.458, allocations: 27.2 kB / 0.6195 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.458, allocations: 15.62 kB / 0.6195 GB, free: 0.625 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 8.879e-05/0.4581, allocations: 131.7 kB / 0.6196 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.4581, allocations: 7.906 kB / 0.6196 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.4585, allocations: 180.8 kB / 0.6198 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4585, allocations: 0 / 0.6198 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4585, allocations: 0 / 0.6198 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4586, allocations: 4 kB / 0.6198 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.4588, allocations: 293.1 kB / 0.6201 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4588, allocations: 0 / 0.6201 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.4591, allocations: 59.95 kB / 0.6201 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4591, allocations: 0 / 0.6201 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4591, allocations: 7.688 kB / 0.6201 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007882/0.4599, allocations: 1.783 MB / 0.6219 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4599, allocations: 4.062 kB / 0.6219 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.4601, allocations: 188.4 kB / 0.6221 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.4602, allocations: 89 kB / 0.6222 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4602, allocations: 0 / 0.6222 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.4603, allocations: 11 kB / 0.6222 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.4603, allocations: 7.984 kB / 0.6222 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.4603, allocations: 4 kB / 0.6222 GB, free: 13.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.498e-05/0.4604, allocations: 120.1 kB / 0.6223 GB, free: 13.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4604, allocations: 0 / 0.6223 GB, free: 13.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.4608, allocations: 111.3 kB / 0.6224 GB, free: 13.59 MB / 426.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.0002624/0.4611, allocations: 179.2 kB / 0.6226 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.4615, allocations: 145.6 kB / 0.6227 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4615, allocations: 1.125 kB / 0.6227 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.4617, allocations: 70.77 kB / 0.6228 GB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.4619, allocations: 24.48 kB / 0.6228 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.4623, allocations: 298.3 kB / 0.6231 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4626, allocations: 0.8053 MB / 0.6239 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.4628, allocations: 57.03 kB / 0.6239 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.4628, allocations: 19.44 kB / 0.6239 GB, free: 12 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4628, allocations: 0 / 0.6239 GB, free: 12 MB / 426.7 MB Notification: Performance of Templates: time 0.005817/0.4687, allocations: 3.205 MB / 0.6271 GB, free: 8.844 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches