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_nominalPressureLossLawDensity_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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 179.8 kB / 8.519 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.4 MB / 230.3 MB, free: 7.695 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 92.66 kB / 281.2 MB, free: 5.441 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.1806/0.1806, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.063e-06, allocations: 4.219 kB / 444.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 61.9 MB / 0.4941 GB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.303/0.4236, allocations: 93.23 MB / 0.5852 GB, free: 3.598 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4239, allocations: 97.69 kB / 0.5852 GB, free: 3.504 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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: time 0.02368/0.4476, allocations: 8.782 MB / 0.5938 GB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.4476, allocations: 4 kB / 0.5938 GB, free: 10.64 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.0005737/0.4482, allocations: 0.5217 MB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4482, allocations: 11.97 kB / 0.5943 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.4483, allocations: 35.53 kB / 0.5944 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.4486, allocations: 230.7 kB / 0.5946 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4486, allocations: 12 kB / 0.5946 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.4486, allocations: 20 kB / 0.5946 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004857/0.4491, allocations: 385.4 kB / 0.595 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.4496, allocations: 429.2 kB / 0.5954 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4497, allocations: 0 / 0.5954 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.4497, allocations: 0 / 0.5954 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.4497, allocations: 28.7 kB / 0.5954 GB, free: 8.891 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.4511, allocations: 1.14 MB / 0.5965 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.3e-05/0.4512, allocations: 66.53 kB / 0.5966 GB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.4512, allocations: 28.84 kB / 0.5966 GB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.4513, allocations: 8 kB / 0.5966 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.4513, allocations: 34.5 kB / 0.5967 GB, free: 7.508 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4513, allocations: 0 / 0.5967 GB, free: 7.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002135/0.4515, allocations: 89.58 kB / 0.5968 GB, free: 7.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.4516, allocations: 55.39 kB / 0.5968 GB, free: 7.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.4517, allocations: 147.2 kB / 0.597 GB, free: 7.195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.4517, allocations: 25.7 kB / 0.597 GB, free: 7.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4518, allocations: 223.2 kB / 0.5972 GB, free: 6.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.4519, allocations: 27.64 kB / 0.5972 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.4519, allocations: 0 / 0.5972 GB, free: 6.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.452, allocations: 330.7 kB / 0.5975 GB, free: 6.578 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.452, allocations: 39.92 kB / 0.5976 GB, free: 6.539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.4522, allocations: 152.4 kB / 0.5977 GB, free: 6.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.4523, allocations: 71.88 kB / 0.5978 GB, free: 6.262 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4523, allocations: 0 / 0.5978 GB, free: 6.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002849/0.4526, allocations: 189.2 kB / 0.598 GB, free: 6.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4526, allocations: 8 kB / 0.598 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4527, allocations: 8.547 kB / 0.598 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4527, allocations: 11.94 kB / 0.598 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.453, allocations: 87.89 kB / 0.5981 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009302/0.454, allocations: 1.797 MB / 0.5998 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.4541, allocations: 23.83 kB / 0.5999 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.4542, allocations: 16.19 kB / 0.5999 GB, free: 4.051 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.943e-05/0.4543, allocations: 119.6 kB / 0.6 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.4543, allocations: 15.91 kB / 0.6 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.4549, allocations: 207.7 kB / 0.6002 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4549, allocations: 11.84 kB / 0.6002 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4549, allocations: 4 kB / 0.6002 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4549, allocations: 0 / 0.6002 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.4552, allocations: 238.1 kB / 0.6004 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4552, allocations: 0 / 0.6004 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4554, allocations: 59.95 kB / 0.6005 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4554, allocations: 7.938 kB / 0.6005 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4555, allocations: 3.906 kB / 0.6005 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008245/0.4563, allocations: 1.789 MB / 0.6023 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4563, allocations: 0 / 0.6023 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001705/0.4565, allocations: 191.4 kB / 0.6024 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.4565, allocations: 85.02 kB / 0.6025 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4565, allocations: 0 / 0.6025 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.4567, allocations: 19.98 kB / 0.6025 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.4567, allocations: 4 kB / 0.6025 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.4567, allocations: 7.984 kB / 0.6026 GB, free: 1.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.056e-05/0.4568, allocations: 109.7 kB / 0.6027 GB, free: 1.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004714/0.4573, allocations: 99.53 kB / 0.6028 GB, free: 0.9531 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.0002941/0.4576, allocations: 171.4 kB / 0.6029 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.458, allocations: 156.8 kB / 0.6031 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.458, allocations: 0 / 0.6031 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.4584, allocations: 87.89 kB / 0.6032 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.4585, allocations: 4 kB / 0.6032 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.4591, allocations: 295.8 kB / 0.6034 GB, free: 228 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.4595, allocations: 0.825 MB / 0.6042 GB, free: 15.37 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4595, allocations: 0 / 0.6042 GB, free: 15.37 MB / 426.7 MB Notification: Performance of Templates: time 0.007098/0.4666, allocations: 3.138 MB / 0.6073 GB, free: 12.27 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches