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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 180.4 kB / 14.15 MB, free: 1.176 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.279/1.279, allocations: 221.3 MB / 236 MB, free: 2.98 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.0008216/0.0008216, allocations: 95.78 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1904/0.1904, allocations: 44.16 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.059e-05, allocations: 224 / 451.9 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.497, allocations: 93.95 MB / 0.5935 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.4974, allocations: 95.92 kB / 0.5936 GB, free: 11.27 MB / 410.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 - DAE generated: time 0.02413/0.5215, allocations: 9.137 MB / 0.6025 GB, free: 2.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5215, allocations: 3.938 kB / 0.6025 GB, free: 2.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.5216, allocations: 4 kB / 0.6025 GB, free: 2.035 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.0007001/0.5223, allocations: 0.5218 MB / 0.603 GB, free: 1.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5223, allocations: 12.03 kB / 0.603 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.871e-05/0.5224, allocations: 31.62 kB / 0.6031 GB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.5227, allocations: 230.7 kB / 0.6033 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.5228, allocations: 20.78 kB / 0.6033 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.5228, allocations: 43.89 kB / 0.6033 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.5235, allocations: 466.8 kB / 0.6038 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5235, allocations: 0 / 0.6038 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.5236, allocations: 16 kB / 0.6038 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.5236, allocations: 16.78 kB / 0.6038 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.5241, allocations: 390.9 kB / 0.6042 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.5256, allocations: 1.208 MB / 0.6054 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.5257, allocations: 70.48 kB / 0.6054 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.5258, allocations: 32.8 kB / 0.6055 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.5258, allocations: 8.141 kB / 0.6055 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.5259, allocations: 38.56 kB / 0.6055 GB, free: 14.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.5259, allocations: 0 / 0.6055 GB, free: 14.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002675/0.5261, allocations: 89.58 kB / 0.6056 GB, free: 14.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.5262, allocations: 51.41 kB / 0.6056 GB, free: 14.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.5263, allocations: 153.5 kB / 0.6058 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5264, allocations: 29.7 kB / 0.6058 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.5265, allocations: 215.2 kB / 0.606 GB, free: 14.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.5265, allocations: 31.64 kB / 0.6061 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.5265, allocations: 4 kB / 0.6061 GB, free: 14.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5267, allocations: 326.8 kB / 0.6064 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.5267, allocations: 39.92 kB / 0.6064 GB, free: 13.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.5269, allocations: 158.3 kB / 0.6066 GB, free: 13.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.527, allocations: 71.88 kB / 0.6066 GB, free: 13.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.527, allocations: 4 kB / 0.6066 GB, free: 13.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000305/0.5273, allocations: 221.1 kB / 0.6068 GB, free: 13.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5273, allocations: 8.562 kB / 0.6069 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5273, allocations: 4 kB / 0.6069 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.5274, allocations: 11.98 kB / 0.6069 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.5277, allocations: 87.88 kB / 0.6069 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008716/0.5286, allocations: 1.782 MB / 0.6087 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.5288, allocations: 31.77 kB / 0.6087 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.5288, allocations: 16 kB / 0.6087 GB, free: 11.25 MB / 426.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 0.0001034/0.5289, allocations: 116.9 kB / 0.6088 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.5289, allocations: 11.86 kB / 0.6089 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.5294, allocations: 182.5 kB / 0.609 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5294, allocations: 3.938 kB / 0.609 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5294, allocations: 0 / 0.609 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5294, allocations: 4 kB / 0.609 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.5297, allocations: 293.5 kB / 0.6093 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5297, allocations: 0 / 0.6093 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.5299, allocations: 67.89 kB / 0.6094 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.53, allocations: 3.953 kB / 0.6094 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.53, allocations: 4 kB / 0.6094 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008612/0.5308, allocations: 1.774 MB / 0.6111 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5309, allocations: 4.031 kB / 0.6111 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.531, allocations: 191.9 kB / 0.6113 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.5311, allocations: 89 kB / 0.6114 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.5311, allocations: 3.953 kB / 0.6114 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.5312, allocations: 4 kB / 0.6114 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.5313, allocations: 15.92 kB / 0.6114 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.5313, allocations: 8 kB / 0.6114 GB, free: 8.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.362e-05/0.5314, allocations: 115.3 kB / 0.6115 GB, free: 8.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5314, allocations: 0 / 0.6115 GB, free: 8.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004535/0.5318, allocations: 107.5 kB / 0.6116 GB, free: 8.113 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 () * 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.0002956/0.5321, allocations: 176.8 kB / 0.6118 GB, free: 7.938 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.5325, allocations: 147.7 kB / 0.6119 GB, free: 7.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5326, allocations: 0 / 0.6119 GB, free: 7.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.5328, allocations: 69.02 kB / 0.612 GB, free: 7.727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.533, allocations: 4 kB / 0.612 GB, free: 7.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.5335, allocations: 312.4 kB / 0.6123 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.5339, allocations: 0.7985 MB / 0.6131 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.534, allocations: 61.02 kB / 0.6132 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.5341, allocations: 19.44 kB / 0.6132 GB, free: 6.492 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5341, allocations: 0 / 0.6132 GB, free: 6.492 MB / 426.7 MB Notification: Performance of Templates: time 0.006572/0.5407, allocations: 3.204 MB / 0.6163 GB, free: 3.32 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