Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 177.2 kB / 17.06 MB, free: 5.094 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.425/1.425, allocations: 223.2 MB / 241 MB, free: 11.84 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.000875/0.0008749, allocations: 93.98 kB / 292.2 MB, free: 10.89 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.3981/0.3981, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004529, allocations: 8 kB / 459.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3879, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6322/1.02, allocations: 353.8 MB / 0.8551 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/1.021, allocations: 103.2 kB / 0.8552 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5326/1.553, allocations: 133.8 MB / 0.9858 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.344e-06/1.553, allocations: 0 / 0.9858 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.14e-05/1.553, allocations: 23.94 kB / 0.9859 GB, free: 116.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002084/1.555, allocations: 0.97 MB / 0.9868 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.555, allocations: 12.03 kB / 0.9868 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/1.556, allocations: 83.16 kB / 0.9869 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/1.557, allocations: 0.548 MB / 0.9874 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/1.557, allocations: 100.4 kB / 0.9875 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/1.557, allocations: 51.95 kB / 0.9876 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.558, allocations: 0.8277 MB / 0.9884 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/1.558, allocations: 0 / 0.9884 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/1.558, allocations: 24 kB / 0.9884 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/1.558, allocations: 36.98 kB / 0.9885 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008672/1.559, allocations: 0.6243 MB / 0.9891 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/1.563, allocations: 4.043 MB / 0.993 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/1.563, allocations: 342.1 kB / 0.9933 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/1.565, allocations: 1.702 MB / 0.995 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/1.565, allocations: 38.56 kB / 0.995 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/1.565, allocations: 0 / 0.995 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.003108/1.568, allocations: 1.37 MB / 0.9964 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/1.568, allocations: 136.5 kB / 0.9965 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/1.569, allocations: 0.5538 MB / 0.997 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/1.569, allocations: 37.7 kB / 0.9971 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/1.569, allocations: 398.3 kB / 0.9975 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/1.569, allocations: 130.2 kB / 0.9976 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/1.569, allocations: 16 kB / 0.9976 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/1.569, allocations: 374.8 kB / 0.998 GB, free: 103 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/1.569, allocations: 185.9 kB / 0.9981 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/1.57, allocations: 0.5407 MB / 0.9987 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/1.57, allocations: 297.1 kB / 0.9989 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/1.57, allocations: 4 kB / 0.999 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001066/1.571, allocations: 0.8141 MB / 0.9997 GB, free: 101 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.571, allocations: 8.906 kB / 0.9998 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.571, allocations: 19.95 kB / 0.9998 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/1.572, allocations: 100.8 kB / 0.9999 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/1.572, allocations: 187.7 kB / 1 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004207/1.573, allocations: 0.6578 MB / 1.001 GB, free: 99.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/1.573, allocations: 55.77 kB / 1.001 GB, free: 99.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/1.573, allocations: 39.98 kB / 1.001 GB, free: 99.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003334/1.574, allocations: 269.4 kB / 1.001 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/1.574, allocations: 63.25 kB / 1.001 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007132/1.574, allocations: 0.4978 MB / 1.002 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.574, allocations: 4 kB / 1.002 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.574, allocations: 0 / 1.002 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.574, allocations: 3.984 kB / 1.002 GB, free: 99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/1.576, allocations: 1.2 MB / 1.003 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.576, allocations: 0 / 1.003 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/1.576, allocations: 71.89 kB / 1.003 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/1.576, allocations: 48.78 kB / 1.003 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/1.576, allocations: 8 kB / 1.003 GB, free: 97.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002114/1.577, allocations: 0.564 MB / 1.003 GB, free: 96.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.577, allocations: 7.984 kB / 1.003 GB, free: 96.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/1.577, allocations: 0.8502 MB / 1.004 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/1.578, allocations: 192.2 kB / 1.004 GB, free: 95.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/1.578, allocations: 12 kB / 1.004 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/1.578, allocations: 31.98 kB / 1.005 GB, free: 95.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/1.578, allocations: 35.84 kB / 1.005 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/1.578, allocations: 27.98 kB / 1.005 GB, free: 95.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004038/1.579, allocations: 447 kB / 1.005 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.579, allocations: 0 / 1.005 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007931/1.579, allocations: 219.9 kB / 1.005 GB, free: 95.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (volume.medium.T) * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005137/1.58, allocations: 336.8 kB / 1.006 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007689/1.581, allocations: 494.6 kB / 1.006 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.581, allocations: 4 kB / 1.006 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/1.581, allocations: 177.5 kB / 1.006 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.582, allocations: 302.1 kB / 1.006 GB, free: 93.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/1.584, allocations: 1.5 MB / 1.008 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/1.584, allocations: 0.961 MB / 1.009 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005761/1.585, allocations: 209.3 kB / 1.009 GB, free: 91.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/1.585, allocations: 63.42 kB / 1.009 GB, free: 90.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/1.585, allocations: 0 / 1.009 GB, free: 90.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.01694/1.602, allocations: 13.02 MB / 1.022 GB, free: 78.11 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches