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.001161/0.001161, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008658/0.000866, allocations: 86.61 kB / 267 MB, free: 9.273 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.3691/0.3691, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.618e-05, allocations: 4 kB / 425.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 58.86 MB / 484.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4712, allocations: 92.82 MB / 0.5635 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4714, allocations: 104.1 kB / 0.5636 GB, free: 12.58 MB / 394.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.02038/0.4918, allocations: 8.949 MB / 0.5723 GB, free: 4.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4919, allocations: 0 / 0.5723 GB, free: 4.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.4919, allocations: 5.406 kB / 0.5723 GB, free: 4.883 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.0004708/0.4924, allocations: 0.5194 MB / 0.5728 GB, free: 4.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4924, allocations: 12.03 kB / 0.5728 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.4925, allocations: 38.44 kB / 0.5729 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.4927, allocations: 233 kB / 0.5731 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.4927, allocations: 22.97 kB / 0.5731 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.4928, allocations: 36.73 kB / 0.5732 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.4934, allocations: 461.8 kB / 0.5736 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4934, allocations: 0 / 0.5736 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.4934, allocations: 19.5 kB / 0.5736 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.4935, allocations: 20.77 kB / 0.5736 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.4939, allocations: 391.9 kB / 0.574 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.495, allocations: 1.219 MB / 0.5752 GB, free: 2.211 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.232e-05/0.4952, allocations: 64.56 kB / 0.5753 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.4952, allocations: 31.72 kB / 0.5753 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.4952, allocations: 1.312 kB / 0.5753 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.4953, allocations: 30.56 kB / 0.5753 GB, free: 2.082 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4953, allocations: 0 / 0.5753 GB, free: 2.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001979/0.4955, allocations: 95.75 kB / 0.5754 GB, free: 1.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.4955, allocations: 55.41 kB / 0.5755 GB, free: 1.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.4956, allocations: 148.6 kB / 0.5756 GB, free: 1.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4956, allocations: 33.64 kB / 0.5756 GB, free: 1.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.4957, allocations: 219.9 kB / 0.5759 GB, free: 1.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.4957, allocations: 26.72 kB / 0.5759 GB, free: 1.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.4957, allocations: 3.438 kB / 0.5759 GB, free: 1.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.4958, allocations: 330.2 kB / 0.5762 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.4959, allocations: 34.73 kB / 0.5762 GB, free: 1.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.496, allocations: 162.4 kB / 0.5764 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.546e-05/0.4961, allocations: 69.39 kB / 0.5765 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4961, allocations: 7.938 kB / 0.5765 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002617/0.4963, allocations: 219.3 kB / 0.5767 GB, free: 0.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4964, allocations: 8 kB / 0.5767 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4964, allocations: 4 kB / 0.5767 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4964, allocations: 7.984 kB / 0.5767 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.4968, allocations: 91.83 kB / 0.5768 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008402/0.4976, allocations: 1.784 MB / 0.5785 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.4978, allocations: 26.97 kB / 0.5785 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.4978, allocations: 23.23 kB / 0.5786 GB, free: 14.71 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.984e-05/0.4979, allocations: 116.2 kB / 0.5787 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.4979, allocations: 7.906 kB / 0.5787 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.4984, allocations: 186.4 kB / 0.5789 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4984, allocations: 4 kB / 0.5789 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4984, allocations: 3.938 kB / 0.5789 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4984, allocations: 0 / 0.5789 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.4987, allocations: 296.9 kB / 0.5792 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4987, allocations: 7.984 kB / 0.5792 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.499, allocations: 63.89 kB / 0.5792 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.499, allocations: 0 / 0.5792 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.499, allocations: 4 kB / 0.5792 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00086/0.4999, allocations: 1.771 MB / 0.581 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4999, allocations: 4.031 kB / 0.581 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.5001, allocations: 189.8 kB / 0.5811 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.5001, allocations: 85.02 kB / 0.5812 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.5002, allocations: 7.75 kB / 0.5812 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.5003, allocations: 7.984 kB / 0.5812 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.5003, allocations: 15.97 kB / 0.5812 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.5003, allocations: 4 kB / 0.5813 GB, free: 11.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.116e-05/0.5004, allocations: 113.9 kB / 0.5814 GB, free: 11.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.114e-06/0.5004, allocations: 0 / 0.5814 GB, free: 11.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000476/0.5009, allocations: 118.6 kB / 0.5815 GB, free: 11.67 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.0003402/0.5013, allocations: 176 kB / 0.5816 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.5017, allocations: 146.4 kB / 0.5818 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5017, allocations: 0 / 0.5818 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.5019, allocations: 63.91 kB / 0.5818 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.5021, allocations: 7.328 kB / 0.5819 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.5026, allocations: 307.5 kB / 0.5821 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.503, allocations: 0.8057 MB / 0.5829 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.5032, allocations: 68.91 kB / 0.583 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.5033, allocations: 19.42 kB / 0.583 GB, free: 10.09 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5033, allocations: 0 / 0.583 GB, free: 10.09 MB / 410.7 MB Notification: Performance of Templates: time 0.00642/0.5097, allocations: 3.195 MB / 0.5861 GB, free: 6.93 MB / 410.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