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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 177.2 kB / 17.06 MB, free: 5.098 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.253/1.253, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007462/0.0007463, allocations: 87.23 kB / 292.2 MB, free: 10.91 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.3303/0.3303, allocations: 44.23 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8 kB / 459.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3001, allocations: 61.9 MB / 0.5096 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.4165, allocations: 89.97 MB / 0.5974 GB, free: 5.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/0.4169, allocations: 107.7 kB / 0.5976 GB, free: 5.043 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5404:11-5405:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5412:11-5413:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.4299, allocations: 4.349 MB / 0.6018 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4299, allocations: 0 / 0.6018 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.43, allocations: 4 kB / 0.6018 GB, free: 0.6836 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005585/0.4305, allocations: 446.7 kB / 0.6022 GB, free: 204 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4306, allocations: 8.031 kB / 0.6022 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007113/0.4313, allocations: 103.7 kB / 0.6023 GB, free: 92 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.4316, allocations: 214.8 kB / 0.6025 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4316, allocations: 8 kB / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.4317, allocations: 19.94 kB / 0.6026 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.4321, allocations: 240.3 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4322, allocations: 0 / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.4322, allocations: 4 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.4323, allocations: 14.75 kB / 0.6028 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.4327, allocations: 243.7 kB / 0.603 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.434, allocations: 0.7324 MB / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.4342, allocations: 94.52 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.4342, allocations: 4 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4343, allocations: 31.72 kB / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.4343, allocations: 0 / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005314/0.4348, allocations: 197.2 kB / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4349, allocations: 51.41 kB / 0.6041 GB, free: 14.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.4351, allocations: 166.5 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.4351, allocations: 25.7 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4352, allocations: 139.7 kB / 0.6044 GB, free: 13.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.4352, allocations: 23.62 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.4353, allocations: 8 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4354, allocations: 326.8 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4356, allocations: 51.95 kB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.4357, allocations: 104.3 kB / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4359, allocations: 63.88 kB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4359, allocations: 8 kB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003601/0.4363, allocations: 193.2 kB / 0.6052 GB, free: 12.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4363, allocations: 12.22 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4363, allocations: 0 / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4363, allocations: 4 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.4373, allocations: 99.88 kB / 0.6053 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.4392, allocations: 1.828 MB / 0.6071 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.4394, allocations: 27.84 kB / 0.6071 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.4394, allocations: 4.391 kB / 0.6071 GB, free: 10.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * 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.0001787/0.4396, allocations: 139.9 kB / 0.6072 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.4397, allocations: 15.89 kB / 0.6073 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.4402, allocations: 194.8 kB / 0.6074 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4402, allocations: 4 kB / 0.6074 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4402, allocations: 0 / 0.6074 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4402, allocations: 3.953 kB / 0.6075 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.4405, allocations: 233.4 kB / 0.6077 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.4405, allocations: 0 / 0.6077 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/0.4413, allocations: 103.8 kB / 0.6078 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4413, allocations: 0 / 0.6078 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4413, allocations: 8 kB / 0.6078 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.4424, allocations: 1.774 MB / 0.6095 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4424, allocations: 0 / 0.6095 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.4428, allocations: 247.3 kB / 0.6097 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.4428, allocations: 101 kB / 0.6098 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.4429, allocations: 0 / 0.6098 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.443, allocations: 12 kB / 0.6099 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.4431, allocations: 7.984 kB / 0.6099 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.4431, allocations: 0 / 0.6099 GB, free: 7.906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.4432, allocations: 141.3 kB / 0.61 GB, free: 7.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4432, allocations: 0 / 0.61 GB, free: 7.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.4436, allocations: 55.89 kB / 0.6101 GB, free: 7.715 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0002088/0.4438, allocations: 142.9 kB / 0.6102 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.445, allocations: 196.1 kB / 0.6104 GB, free: 7.375 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.445, allocations: 0 / 0.6104 GB, free: 7.375 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.4456, allocations: 107.9 kB / 0.6105 GB, free: 7.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.446, allocations: 40.34 kB / 0.6105 GB, free: 7.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.4467, allocations: 397 kB / 0.6109 GB, free: 6.824 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.4471, allocations: 0.7436 MB / 0.6116 GB, free: 6.055 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.4472, allocations: 37.34 kB / 0.6117 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.4473, allocations: 15.44 kB / 0.6117 GB, free: 6.004 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4473, allocations: 0 / 0.6117 GB, free: 6.004 MB / 426.7 MB Notification: Performance of Templates: time 0.006184/0.4535, allocations: 3.06 MB / 0.6147 GB, free: 3 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches