Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008709/0.0008709, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008457/0.0008456, allocations: 90.3 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1929/0.1929, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.729e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.4893, allocations: 92.16 MB / 0.556 GB, free: 3.281 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4896, allocations: 97.38 kB / 0.556 GB, free: 3.227 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5367:11-5379: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 3.2.3+maint.om/Fluid/Dissipation.mo:5381:11-5382: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 3.2.3+maint.om/Fluid/Dissipation.mo:5385:11-5397: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 3.2.3+maint.om/Fluid/Dissipation.mo:5399:11-5400: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.0211/0.5107, allocations: 8.845 MB / 0.5647 GB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5108, allocations: 8 kB / 0.5647 GB, free: 11.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.5108, allocations: 0 / 0.5647 GB, free: 11.73 MB / 378.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.0005487/0.5114, allocations: 0.511 MB / 0.5652 GB, free: 11.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5114, allocations: 8.031 kB / 0.5652 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.5115, allocations: 31.62 kB / 0.5652 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.5117, allocations: 249.3 kB / 0.5655 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5118, allocations: 12 kB / 0.5655 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.5118, allocations: 24 kB / 0.5655 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004612/0.5123, allocations: 381.4 kB / 0.5659 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.5128, allocations: 399.1 kB / 0.5662 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5128, allocations: 7.922 kB / 0.5663 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.5128, allocations: 4 kB / 0.5663 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.5129, allocations: 16.78 kB / 0.5663 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.5142, allocations: 1.129 MB / 0.5674 GB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.5143, allocations: 58.94 kB / 0.5674 GB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.5143, allocations: 27.84 kB / 0.5675 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.5144, allocations: 11.45 kB / 0.5675 GB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.5144, allocations: 38.55 kB / 0.5675 GB, free: 9.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.5144, allocations: 0 / 0.5675 GB, free: 9.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002143/0.5146, allocations: 90.02 kB / 0.5676 GB, free: 8.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.5147, allocations: 51.41 kB / 0.5676 GB, free: 8.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5148, allocations: 144.9 kB / 0.5678 GB, free: 8.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.5148, allocations: 25.7 kB / 0.5678 GB, free: 8.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.5149, allocations: 222 kB / 0.568 GB, free: 8.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.515, allocations: 23.34 kB / 0.568 GB, free: 8.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.515, allocations: 0 / 0.568 GB, free: 8.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5151, allocations: 326 kB / 0.5684 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.5152, allocations: 35.3 kB / 0.5684 GB, free: 8.141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.5153, allocations: 158.7 kB / 0.5685 GB, free: 7.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.855e-05/0.5154, allocations: 59.67 kB / 0.5686 GB, free: 7.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5154, allocations: 0 / 0.5686 GB, free: 7.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002643/0.5157, allocations: 199.5 kB / 0.5688 GB, free: 7.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5157, allocations: 8 kB / 0.5688 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5157, allocations: 8.5 kB / 0.5688 GB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5157, allocations: 12 kB / 0.5688 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.5161, allocations: 87.56 kB / 0.5689 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008066/0.5169, allocations: 1.785 MB / 0.5706 GB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.517, allocations: 27.77 kB / 0.5707 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.517, allocations: 12 kB / 0.5707 GB, free: 5.715 MB / 378.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.468e-05/0.5171, allocations: 128.5 kB / 0.5708 GB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.5172, allocations: 11.81 kB / 0.5708 GB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.5176, allocations: 169.6 kB / 0.571 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5176, allocations: 0 / 0.571 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5176, allocations: 0 / 0.571 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5176, allocations: 4 kB / 0.571 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.5178, allocations: 239.3 kB / 0.5712 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5178, allocations: 0 / 0.5712 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.5181, allocations: 55.95 kB / 0.5713 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5181, allocations: 0 / 0.5713 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5181, allocations: 4 kB / 0.5713 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/0.5189, allocations: 1.776 MB / 0.573 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5189, allocations: 3.984 kB / 0.573 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.5191, allocations: 194.5 kB / 0.5732 GB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.5191, allocations: 88.66 kB / 0.5733 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.5192, allocations: 7.984 kB / 0.5733 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.5192, allocations: 8 kB / 0.5733 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.5193, allocations: 7.984 kB / 0.5733 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.5193, allocations: 4 kB / 0.5733 GB, free: 2.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.5194, allocations: 110.5 kB / 0.5734 GB, free: 2.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5194, allocations: 0 / 0.5734 GB, free: 2.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004295/0.5198, allocations: 103.1 kB / 0.5735 GB, free: 2.75 MB / 378.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.0002893/0.5201, allocations: 175 kB / 0.5737 GB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.5205, allocations: 134.2 kB / 0.5738 GB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5205, allocations: 0 / 0.5738 GB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.5207, allocations: 59.58 kB / 0.5738 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.5209, allocations: 9.156 kB / 0.5739 GB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.5214, allocations: 301.4 kB / 0.5741 GB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.5218, allocations: 0.805 MB / 0.5749 GB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.522, allocations: 72.89 kB / 0.575 GB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.522, allocations: 15.44 kB / 0.575 GB, free: 1.184 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.522, allocations: 0 / 0.575 GB, free: 1.184 MB / 378.7 MB Notification: Performance of Templates: time 0.005737/0.5277, allocations: 2.766 MB / 0.5777 GB, free: 14.46 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches