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.00128/0.00128, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008173/0.0008172, allocations: 95.16 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1853/0.1853, allocations: 45.15 MB / 383.7 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.251e-05/1.266e-05, allocations: 8 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09501, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/0.4537, allocations: 94.37 MB / 0.5965 GB, free: 8.227 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.454, allocations: 89.31 kB / 0.5966 GB, free: 8.176 MB / 394.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.02249/0.4765, allocations: 9.07 MB / 0.6055 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4765, allocations: 0 / 0.6055 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.4765, allocations: 4 kB / 0.6055 GB, free: 0.5078 MB / 394.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.0005311/0.4771, allocations: 0.5278 MB / 0.606 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.4771, allocations: 11.97 kB / 0.606 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.4772, allocations: 31.62 kB / 0.606 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.4774, allocations: 232.9 kB / 0.6063 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4774, allocations: 12 kB / 0.6063 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.4775, allocations: 23.98 kB / 0.6063 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004508/0.4779, allocations: 384.9 kB / 0.6067 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.4784, allocations: 408.8 kB / 0.6071 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4784, allocations: 0 / 0.6071 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.4785, allocations: 4 kB / 0.6071 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.4785, allocations: 24.77 kB / 0.6071 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.4797, allocations: 1.136 MB / 0.6082 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.4798, allocations: 53.69 kB / 0.6082 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.4799, allocations: 32.09 kB / 0.6083 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.4799, allocations: 7.938 kB / 0.6083 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.4799, allocations: 30.56 kB / 0.6083 GB, free: 13.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.4799, allocations: 0 / 0.6083 GB, free: 13.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001918/0.4801, allocations: 88.84 kB / 0.6084 GB, free: 13.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.4802, allocations: 55.41 kB / 0.6084 GB, free: 13.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4803, allocations: 153 kB / 0.6086 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.4803, allocations: 25.7 kB / 0.6086 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4804, allocations: 217.5 kB / 0.6088 GB, free: 13.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.4804, allocations: 30.08 kB / 0.6089 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.4805, allocations: 0 / 0.6089 GB, free: 13.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4806, allocations: 322.2 kB / 0.6092 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.4806, allocations: 34.42 kB / 0.6092 GB, free: 12.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4808, allocations: 161.8 kB / 0.6093 GB, free: 12.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.4808, allocations: 62.45 kB / 0.6094 GB, free: 12.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4809, allocations: 4 kB / 0.6094 GB, free: 12.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002649/0.4811, allocations: 196 kB / 0.6096 GB, free: 12.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4811, allocations: 7.938 kB / 0.6096 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4812, allocations: 4 kB / 0.6096 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4812, allocations: 8 kB / 0.6096 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.4815, allocations: 91.12 kB / 0.6097 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008398/0.4824, allocations: 1.78 MB / 0.6114 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.4825, allocations: 23.83 kB / 0.6115 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.4825, allocations: 15.66 kB / 0.6115 GB, free: 10.47 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 9.002e-05/0.4826, allocations: 124.8 kB / 0.6116 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.4827, allocations: 11.81 kB / 0.6116 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.4831, allocations: 173.2 kB / 0.6118 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4831, allocations: 0 / 0.6118 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4831, allocations: 0 / 0.6118 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.4831, allocations: 3.938 kB / 0.6118 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.4833, allocations: 230.7 kB / 0.612 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4833, allocations: 0 / 0.612 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.4835, allocations: 67.08 kB / 0.6121 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4835, allocations: 3.984 kB / 0.6121 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4836, allocations: 8 kB / 0.6121 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007323/0.4843, allocations: 1.771 MB / 0.6138 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4843, allocations: 0 / 0.6138 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.4845, allocations: 191.7 kB / 0.614 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.4845, allocations: 88.97 kB / 0.6141 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.4845, allocations: 0 / 0.6141 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.4846, allocations: 7.984 kB / 0.6141 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.4847, allocations: 15.97 kB / 0.6141 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4847, allocations: 8.094 kB / 0.6141 GB, free: 7.703 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.707e-05/0.4848, allocations: 109.1 kB / 0.6142 GB, free: 7.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4848, allocations: 0 / 0.6142 GB, free: 7.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003865/0.4852, allocations: 111.2 kB / 0.6143 GB, free: 7.5 MB / 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.000261/0.4854, allocations: 173.2 kB / 0.6145 GB, free: 7.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.4858, allocations: 121.5 kB / 0.6146 GB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4858, allocations: 1.125 kB / 0.6146 GB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.486, allocations: 66.14 kB / 0.6147 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.4862, allocations: 20.2 kB / 0.6147 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.4866, allocations: 290.7 kB / 0.615 GB, free: 6.855 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.487, allocations: 0.8067 MB / 0.6157 GB, free: 6.031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.4872, allocations: 56.98 kB / 0.6158 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.4872, allocations: 19.44 kB / 0.6158 GB, free: 5.957 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4872, allocations: 0 / 0.6158 GB, free: 5.957 MB / 410.7 MB Notification: Performance of Templates: time 0.005476/0.4927, allocations: 2.78 MB / 0.6185 GB, free: 3.227 MB / 410.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