Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002282/0.002282, allocations: 185.5 kB / 16.4 MB, free: 5.746 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.953/1.953, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001147/0.001147, allocations: 97.97 kB / 270.9 MB, free: 8.367 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.5406/0.5406, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004515, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1253, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.238, allocations: 353 MB / 0.8234 GB, free: 19.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.239, allocations: 99.33 kB / 0.8235 GB, free: 19.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7519/1.991, allocations: 131.3 MB / 0.9518 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.755e-06/1.991, allocations: 4.219 kB / 0.9518 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.361e-05/1.991, allocations: 19.94 kB / 0.9518 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.002822/1.994, allocations: 0.9619 MB / 0.9527 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.994, allocations: 8.031 kB / 0.9527 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005924/1.994, allocations: 90.58 kB / 0.9528 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/1.996, allocations: 0.5478 MB / 0.9534 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/1.996, allocations: 108.2 kB / 0.9535 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.996, allocations: 44 kB / 0.9535 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/1.998, allocations: 0.8239 MB / 0.9543 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/1.998, allocations: 0 / 0.9543 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.998, allocations: 27.75 kB / 0.9543 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.642e-05/1.998, allocations: 45.94 kB / 0.9544 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/2, allocations: 0.6166 MB / 0.955 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006311/2.006, allocations: 4.035 MB / 0.9589 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008561/2.007, allocations: 343.7 kB / 0.9592 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00241/2.009, allocations: 1.701 MB / 0.9609 GB, free: 97.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/2.009, allocations: 42.5 kB / 0.9609 GB, free: 97.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 2.435e-06/2.009, allocations: 0 / 0.9609 GB, free: 97.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.005398/2.015, allocations: 1.373 MB / 0.9623 GB, free: 96.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/2.015, allocations: 132.5 kB / 0.9624 GB, free: 96.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009611/2.016, allocations: 0.5575 MB / 0.963 GB, free: 95.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/2.016, allocations: 33.7 kB / 0.963 GB, free: 95.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/2.016, allocations: 428.6 kB / 0.9634 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/2.016, allocations: 134.1 kB / 0.9635 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/2.016, allocations: 16 kB / 0.9635 GB, free: 95.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/2.017, allocations: 342.8 kB / 0.9639 GB, free: 94.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/2.017, allocations: 181.9 kB / 0.964 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/2.018, allocations: 0.5442 MB / 0.9646 GB, free: 93.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/2.018, allocations: 301 kB / 0.9649 GB, free: 93.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/2.018, allocations: 4 kB / 0.9649 GB, free: 93.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001907/2.02, allocations: 0.7799 MB / 0.9656 GB, free: 92.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/2.02, allocations: 8 kB / 0.9656 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/2.02, allocations: 15.94 kB / 0.9656 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/2.021, allocations: 104.9 kB / 0.9657 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/2.022, allocations: 188.1 kB / 0.9659 GB, free: 92.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006708/2.023, allocations: 0.6615 MB / 0.9666 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/2.024, allocations: 47.84 kB / 0.9666 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.12e-05/2.024, allocations: 47.98 kB / 0.9667 GB, free: 91.74 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.0005122/2.024, allocations: 261.5 kB / 0.9669 GB, free: 91.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/2.025, allocations: 63.25 kB / 0.967 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/2.026, allocations: 499.2 kB / 0.9674 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/2.026, allocations: 4 kB / 0.9675 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/2.026, allocations: 4 kB / 0.9675 GB, free: 90.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/2.026, allocations: 3.953 kB / 0.9675 GB, free: 90.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/2.028, allocations: 1.207 MB / 0.9686 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/2.029, allocations: 0 / 0.9686 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/2.029, allocations: 71.91 kB / 0.9687 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/2.029, allocations: 41.2 kB / 0.9687 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/2.029, allocations: 16 kB / 0.9688 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000347/2.03, allocations: 0.5563 MB / 0.9693 GB, free: 88.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/2.03, allocations: 4 kB / 0.9693 GB, free: 88.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/2.031, allocations: 0.8531 MB / 0.9701 GB, free: 87.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/2.032, allocations: 192.1 kB / 0.9703 GB, free: 87.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/2.032, allocations: 15.98 kB / 0.9703 GB, free: 87.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007282/2.033, allocations: 32.05 kB / 0.9704 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/2.033, allocations: 31.86 kB / 0.9704 GB, free: 87.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/2.033, allocations: 23.98 kB / 0.9704 GB, free: 87.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007824/2.033, allocations: 447 kB / 0.9709 GB, free: 87.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/2.033, allocations: 0 / 0.9709 GB, free: 87.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001201/2.035, allocations: 219.9 kB / 0.9711 GB, free: 86.93 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.0007661/2.035, allocations: 344.3 kB / 0.9714 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001437/2.037, allocations: 499.3 kB / 0.9719 GB, free: 86.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/2.037, allocations: 4 kB / 0.9719 GB, free: 86.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004965/2.037, allocations: 184.5 kB / 0.972 GB, free: 85.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/2.04, allocations: 304.4 kB / 0.9723 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/2.043, allocations: 1.553 MB / 0.9739 GB, free: 84.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/2.044, allocations: 0.9532 MB / 0.9748 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/2.044, allocations: 63.42 kB / 0.9748 GB, free: 83 MB / 0.4948 GB Notification: Performance of SimCode: time 1.743e-06/2.044, allocations: 0 / 0.9748 GB, free: 83 MB / 0.4948 GB Notification: Performance of Templates: time 0.02728/2.071, allocations: 14.1 MB / 0.9886 GB, free: 68.93 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches