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.002175/0.002175, allocations: 181.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001086/0.001085, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.315/0.315, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.985e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 58.84 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.272, allocations: 352.9 MB / 0.8174 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/1.273, allocations: 102.3 kB / 0.8175 GB, free: 72.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7552/2.028, allocations: 130.8 MB / 0.9452 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/2.028, allocations: 0 / 0.9452 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.674e-05/2.028, allocations: 24.42 kB / 0.9453 GB, free: 135.7 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.002602/2.031, allocations: 0.8908 MB / 0.9461 GB, free: 135 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/2.031, allocations: 10.03 kB / 0.9462 GB, free: 135 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/2.031, allocations: 91.81 kB / 0.9462 GB, free: 135 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/2.033, allocations: 0.5441 MB / 0.9468 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/2.033, allocations: 102.5 kB / 0.9469 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/2.033, allocations: 48.22 kB / 0.9469 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/2.035, allocations: 0.8132 MB / 0.9477 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/2.035, allocations: 7.406 kB / 0.9477 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/2.035, allocations: 23.84 kB / 0.9477 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.609e-05/2.036, allocations: 39.77 kB / 0.9478 GB, free: 134 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/2.037, allocations: 0.6106 MB / 0.9484 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00645/2.044, allocations: 4.043 MB / 0.9523 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/2.044, allocations: 336.1 kB / 0.9526 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/2.045, allocations: 170.6 kB / 0.9528 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002644/2.048, allocations: 1.739 MB / 0.9545 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/2.048, allocations: 42.34 kB / 0.9545 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 2.945e-06/2.048, allocations: 0 / 0.9545 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.005237/2.053, allocations: 1.268 MB / 0.9558 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/2.053, allocations: 139.1 kB / 0.9559 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/2.054, allocations: 0.5443 MB / 0.9564 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/2.054, allocations: 33.61 kB / 0.9565 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/2.054, allocations: 433 kB / 0.9569 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/2.055, allocations: 129.6 kB / 0.957 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/2.055, allocations: 19.88 kB / 0.957 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/2.055, allocations: 342.4 kB / 0.9574 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/2.055, allocations: 180 kB / 0.9575 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/2.056, allocations: 0.532 MB / 0.9581 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/2.056, allocations: 293.7 kB / 0.9583 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/2.056, allocations: 3.719 kB / 0.9583 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00193/2.058, allocations: 0.7703 MB / 0.9591 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/2.058, allocations: 11.34 kB / 0.9591 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/2.058, allocations: 17.38 kB / 0.9591 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/2.059, allocations: 93.42 kB / 0.9592 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/2.06, allocations: 192.8 kB / 0.9594 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006651/2.061, allocations: 0.6558 MB / 0.96 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/2.062, allocations: 44.16 kB / 0.9601 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/2.062, allocations: 44.28 kB / 0.9601 GB, free: 125.2 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 () * 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.0002501/2.062, allocations: 158.3 kB / 0.9603 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/2.063, allocations: 67.97 kB / 0.9603 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/2.064, allocations: 0.4903 MB / 0.9608 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/2.064, allocations: 7.844 kB / 0.9608 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/2.064, allocations: 0 / 0.9608 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/2.064, allocations: 3.953 kB / 0.9608 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/2.067, allocations: 1.187 MB / 0.962 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/2.067, allocations: 10.94 kB / 0.962 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/2.067, allocations: 72.62 kB / 0.9621 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/2.068, allocations: 38.16 kB / 0.9621 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/2.068, allocations: 14.5 kB / 0.9621 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003578/2.068, allocations: 0.5622 MB / 0.9627 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/2.068, allocations: 7.797 kB / 0.9627 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/2.069, allocations: 0.8527 MB / 0.9635 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/2.07, allocations: 191.4 kB / 0.9637 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/2.07, allocations: 13.81 kB / 0.9637 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008061/2.071, allocations: 30.55 kB / 0.9637 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/2.071, allocations: 38.95 kB / 0.9638 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/2.071, allocations: 24.11 kB / 0.9638 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007885/2.072, allocations: 445.2 kB / 0.9642 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.21e-07/2.072, allocations: 0 / 0.9642 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001315/2.073, allocations: 216.9 kB / 0.9644 GB, free: 122.3 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 () * 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.0008382/2.074, allocations: 338.4 kB / 0.9647 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001534/2.076, allocations: 488.3 kB / 0.9652 GB, free: 122 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/2.076, allocations: 0 / 0.9652 GB, free: 122 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005038/2.076, allocations: 171.5 kB / 0.9654 GB, free: 122 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/2.079, allocations: 316.4 kB / 0.9657 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/2.081, allocations: 0.9484 MB / 0.9666 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/2.082, allocations: 0.9495 MB / 0.9675 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/2.082, allocations: 67.5 kB / 0.9676 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/2.082, allocations: 4 kB / 0.9676 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.02698/2.109, allocations: 14.08 MB / 0.9813 GB, free: 107.2 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