Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 175.6 kB / 16.76 MB, free: 4.93 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.56/1.56, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0008227/0.0008227, allocations: 97.11 kB / 271.3 MB, free: 8.238 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.3758/0.3758, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 12 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8387/0.9672, allocations: 353.1 MB / 0.8248 GB, free: 18.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.9675, allocations: 95.62 kB / 0.8249 GB, free: 18.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4628/1.43, allocations: 130.4 MB / 0.9522 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/1.43, allocations: 4 kB / 0.9522 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.012e-05/1.43, allocations: 16 kB / 0.9522 GB, free: 107.9 MB / 0.4948 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.002211/1.433, allocations: 0.9579 MB / 0.9532 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.433, allocations: 12.03 kB / 0.9532 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/1.433, allocations: 88.08 kB / 0.9533 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/1.435, allocations: 0.5527 MB / 0.9538 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/1.435, allocations: 105.4 kB / 0.9539 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.435, allocations: 48 kB / 0.954 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/1.436, allocations: 0.8275 MB / 0.9548 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/1.436, allocations: 7.938 kB / 0.9548 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/1.436, allocations: 32 kB / 0.9548 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/1.436, allocations: 40.97 kB / 0.9548 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/1.437, allocations: 0.6204 MB / 0.9554 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/1.441, allocations: 4.012 MB / 0.9594 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/1.442, allocations: 348.5 kB / 0.9597 GB, free: 99.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/1.442, allocations: 169.3 kB / 0.9599 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/1.444, allocations: 1.69 MB / 0.9615 GB, free: 97.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/1.444, allocations: 42.56 kB / 0.9616 GB, free: 97.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.904e-06/1.444, allocations: 0 / 0.9616 GB, free: 97.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.00311/1.447, allocations: 1.362 MB / 0.9629 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.447, allocations: 136.5 kB / 0.963 GB, free: 96.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/1.447, allocations: 0.6211 MB / 0.9636 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/1.448, allocations: 41.64 kB / 0.9637 GB, free: 95.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/1.448, allocations: 402.1 kB / 0.964 GB, free: 95.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/1.448, allocations: 130.1 kB / 0.9642 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/1.448, allocations: 23.94 kB / 0.9642 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/1.448, allocations: 370.8 kB / 0.9645 GB, free: 94.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/1.448, allocations: 189.8 kB / 0.9647 GB, free: 94.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/1.449, allocations: 0.5442 MB / 0.9653 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/1.449, allocations: 0.7786 MB / 0.966 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.449, allocations: 4 kB / 0.966 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001144/1.45, allocations: 0.8179 MB / 0.9668 GB, free: 91.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.45, allocations: 12.06 kB / 0.9668 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.45, allocations: 12 kB / 0.9668 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/1.451, allocations: 100.8 kB / 0.9669 GB, free: 91.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/1.452, allocations: 179.7 kB / 0.9671 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004344/1.452, allocations: 0.6654 MB / 0.9678 GB, free: 90.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/1.453, allocations: 43.89 kB / 0.9678 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/1.453, allocations: 43.98 kB / 0.9678 GB, free: 90.79 MB / 0.4948 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.0003089/1.453, allocations: 257.4 kB / 0.9681 GB, free: 90.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/1.453, allocations: 67.31 kB / 0.9682 GB, free: 90.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007239/1.454, allocations: 499.5 kB / 0.9686 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.454, allocations: 7.984 kB / 0.9686 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.454, allocations: 0 / 0.9686 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.454, allocations: 0 / 0.9686 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.455, allocations: 1.199 MB / 0.9698 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.455, allocations: 4 kB / 0.9698 GB, free: 88.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/1.456, allocations: 71.97 kB / 0.9699 GB, free: 88.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000144/1.456, allocations: 48.77 kB / 0.9699 GB, free: 88.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/1.456, allocations: 12 kB / 0.9699 GB, free: 88.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002319/1.456, allocations: 0.5644 MB / 0.9705 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.456, allocations: 7.969 kB / 0.9705 GB, free: 87.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/1.457, allocations: 0.7061 MB / 0.9712 GB, free: 87.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/1.457, allocations: 188.3 kB / 0.9714 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.457, allocations: 15.98 kB / 0.9714 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/1.458, allocations: 31.89 kB / 0.9714 GB, free: 86.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/1.458, allocations: 31.91 kB / 0.9714 GB, free: 86.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/1.458, allocations: 27.92 kB / 0.9715 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004428/1.458, allocations: 447 kB / 0.9719 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.458, allocations: 0 / 0.9719 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008455/1.459, allocations: 223.9 kB / 0.9721 GB, free: 86.2 MB / 0.4948 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.0005863/1.46, allocations: 347.2 kB / 0.9724 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000839/1.46, allocations: 494.2 kB / 0.9729 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.46, allocations: 4 kB / 0.9729 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002846/1.461, allocations: 181.2 kB / 0.9731 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/1.462, allocations: 317.3 kB / 0.9734 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/1.464, allocations: 1.511 MB / 0.9749 GB, free: 83.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/1.465, allocations: 0.9376 MB / 0.9758 GB, free: 82.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007013/1.465, allocations: 206 kB / 0.976 GB, free: 82.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/1.465, allocations: 59.44 kB / 0.976 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/1.465, allocations: 0 / 0.976 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.01916/1.485, allocations: 13.25 MB / 0.989 GB, free: 68.93 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches