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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001247, allocations: 181.8 kB / 18.09 MB, free: 3.625 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.286/1.286, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007733/0.0007733, allocations: 97.55 kB / 293.3 MB, free: 10.75 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.3456/0.3456, allocations: 44.15 MB / 388.5 MB, free: 38.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 8 kB / 461.1 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3128, allocations: 61.87 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.4171, allocations: 89.99 MB / 0.5986 GB, free: 5.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.4174, allocations: 103.9 kB / 0.5987 GB, free: 4.996 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5404:11-5405:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5412:11-5413:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01267/0.4301, allocations: 4.36 MB / 0.603 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4301, allocations: 0 / 0.603 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.4301, allocations: 0 / 0.603 GB, free: 0.6289 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004905/0.4306, allocations: 443 kB / 0.6034 GB, free: 148 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4307, allocations: 8.031 kB / 0.6034 GB, free: 140 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006345/0.4313, allocations: 104.6 kB / 0.6035 GB, free: 36 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.4316, allocations: 220 kB / 0.6037 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4316, allocations: 8.375 kB / 0.6037 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.4316, allocations: 16.38 kB / 0.6037 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.4321, allocations: 240.8 kB / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4321, allocations: 192 / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.4322, allocations: 11.94 kB / 0.604 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.4322, allocations: 14.73 kB / 0.604 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.4326, allocations: 235.8 kB / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.4337, allocations: 0.7323 MB / 0.6049 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.434, allocations: 94.5 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.4341, allocations: 54.06 kB / 0.6051 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.4341, allocations: 11.91 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4342, allocations: 38.56 kB / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4342, allocations: 0 / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004569/0.4346, allocations: 177.5 kB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4347, allocations: 59.34 kB / 0.6054 GB, free: 13.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.4349, allocations: 183.3 kB / 0.6055 GB, free: 13.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4349, allocations: 25.7 kB / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.435, allocations: 139.5 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.435, allocations: 27.64 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-06/0.435, allocations: 4 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4352, allocations: 322.8 kB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.4353, allocations: 59.88 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4355, allocations: 101.2 kB / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.4358, allocations: 175 kB / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4358, allocations: 0 / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003481/0.4361, allocations: 193.2 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4362, allocations: 8 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4362, allocations: 0 / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4362, allocations: 7.938 kB / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000853/0.437, allocations: 124 kB / 0.6067 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.4386, allocations: 1.824 MB / 0.6084 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.4388, allocations: 27.83 kB / 0.6085 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.4388, allocations: 4 kB / 0.6085 GB, free: 10.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * 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.0001184/0.4389, allocations: 141.8 kB / 0.6086 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.439, allocations: 12 kB / 0.6086 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.4394, allocations: 198.8 kB / 0.6088 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4394, allocations: 4 kB / 0.6088 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4394, allocations: 0 / 0.6088 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4394, allocations: 3.984 kB / 0.6088 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.4397, allocations: 229.5 kB / 0.609 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4397, allocations: 0 / 0.609 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/0.4404, allocations: 95.83 kB / 0.6091 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4404, allocations: 4 kB / 0.6091 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.4404, allocations: 7.922 kB / 0.6091 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00096/0.4414, allocations: 1.777 MB / 0.6109 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4414, allocations: 4.031 kB / 0.6109 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.4418, allocations: 239.6 kB / 0.6111 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.4419, allocations: 92.86 kB / 0.6112 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.4419, allocations: 7.938 kB / 0.6112 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.442, allocations: 11.98 kB / 0.6112 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.4421, allocations: 7.984 kB / 0.6112 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.4421, allocations: 12 kB / 0.6112 GB, free: 7.629 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.4422, allocations: 133.3 kB / 0.6114 GB, free: 7.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4422, allocations: 0 / 0.6114 GB, free: 7.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000312/0.4425, allocations: 59.83 kB / 0.6114 GB, free: 7.441 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0002031/0.4427, allocations: 123.7 kB / 0.6115 GB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.4443, allocations: 248 kB / 0.6118 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4443, allocations: 4 kB / 0.6118 GB, free: 7.062 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.445, allocations: 119.8 kB / 0.6119 GB, free: 6.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.4454, allocations: 45 kB / 0.6119 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.4461, allocations: 394.1 kB / 0.6123 GB, free: 6.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.4464, allocations: 0.7436 MB / 0.613 GB, free: 5.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.4465, allocations: 33.34 kB / 0.6131 GB, free: 5.699 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.4466, allocations: 15.44 kB / 0.6131 GB, free: 5.684 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4466, allocations: 0 / 0.6131 GB, free: 5.684 MB / 426.7 MB Notification: Performance of Templates: time 0.006207/0.4528, allocations: 3.091 MB / 0.6161 GB, free: 2.648 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches