Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, allocations: 196.8 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009714/0.0009715, allocations: 99.72 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5115/0.5115, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.000364, allocations: 8.219 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4423, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6338/1.076, allocations: 238.3 MB / 0.7511 GB, free: 80.66 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.077, allocations: 103.4 kB / 0.7512 GB, free: 80.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8571/1.934, allocations: 225.7 MB / 0.9716 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.575e-06/1.934, allocations: 3.938 kB / 0.9716 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.886e-05/1.934, allocations: 27.75 kB / 0.9716 GB, free: 120.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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003796/1.938, allocations: 1.252 MB / 0.9729 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.938, allocations: 12.03 kB / 0.9729 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/1.939, allocations: 139.9 kB / 0.973 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.94, allocations: 0.5708 MB / 0.9736 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/1.94, allocations: 101.9 kB / 0.9737 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/1.941, allocations: 50.73 kB / 0.9737 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/1.942, allocations: 0.8208 MB / 0.9745 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.942, allocations: 7.875 kB / 0.9745 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-05/1.942, allocations: 27.36 kB / 0.9745 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/1.942, allocations: 40.98 kB / 0.9746 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/1.944, allocations: 0.5931 MB / 0.9752 GB, free: 116.5 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005183/1.949, allocations: 4.491 MB / 0.9795 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/1.95, allocations: 325.7 kB / 0.9798 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/1.95, allocations: 138.5 kB / 0.98 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/1.95, allocations: 416.6 kB / 0.9804 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/1.95, allocations: 38.56 kB / 0.9804 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 5.44e-06/1.95, allocations: 0 / 0.9804 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.004138/1.954, allocations: 1.517 MB / 0.9819 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/1.954, allocations: 140.4 kB / 0.982 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008904/1.955, allocations: 0.6485 MB / 0.9827 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/1.955, allocations: 33.7 kB / 0.9827 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/1.956, allocations: 388 kB / 0.9831 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/1.956, allocations: 130.5 kB / 0.9832 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/1.956, allocations: 16 kB / 0.9832 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.956, allocations: 382.8 kB / 0.9836 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/1.956, allocations: 197.8 kB / 0.9838 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/1.957, allocations: 0.5018 MB / 0.9842 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/1.958, allocations: 0.7014 MB / 0.9849 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.958, allocations: 4 kB / 0.9849 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001664/1.96, allocations: 0.8519 MB / 0.9858 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/1.96, allocations: 8.781 kB / 0.9858 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.96, allocations: 12.84 kB / 0.9858 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/1.961, allocations: 269.5 kB / 0.986 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/1.962, allocations: 127.7 kB / 0.9862 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/1.963, allocations: 1.394 MB / 0.9875 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/1.963, allocations: 36.05 kB / 0.9876 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.57e-05/1.964, allocations: 52.05 kB / 0.9876 GB, free: 102.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005456/1.964, allocations: 242.5 kB / 0.9878 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/1.964, allocations: 67.16 kB / 0.9879 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/1.966, allocations: 0.6909 MB / 0.9886 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.966, allocations: 4 kB / 0.9886 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.966, allocations: 0 / 0.9886 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.966, allocations: 0 / 0.9886 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/1.968, allocations: 1.204 MB / 0.9898 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.968, allocations: 4 kB / 0.9898 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/1.968, allocations: 35.98 kB / 0.9898 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008299/1.969, allocations: 197.5 kB / 0.99 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/1.969, allocations: 12.06 kB / 0.99 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008394/1.97, allocations: 1.295 MB / 0.9913 GB, free: 98.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.97, allocations: 0 / 0.9913 GB, free: 98.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.971, allocations: 0.7865 MB / 0.992 GB, free: 98.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/1.971, allocations: 184.2 kB / 0.9922 GB, free: 97.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1.971, allocations: 12.06 kB / 0.9922 GB, free: 97.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/1.972, allocations: 39.91 kB / 0.9923 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/1.972, allocations: 23.83 kB / 0.9923 GB, free: 97.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/1.972, allocations: 23.98 kB / 0.9923 GB, free: 97.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005214/1.972, allocations: 447 kB / 0.9927 GB, free: 97.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.972, allocations: 3.938 kB / 0.9927 GB, free: 97.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001172/1.974, allocations: 283.8 kB / 0.993 GB, free: 97.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008415/1.975, allocations: 341.8 kB / 0.9933 GB, free: 96.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001044/1.976, allocations: 0.5019 MB / 0.9938 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.976, allocations: 0 / 0.9938 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004466/1.976, allocations: 207.8 kB / 0.994 GB, free: 96.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.978, allocations: 311.8 kB / 0.9943 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/1.98, allocations: 1.497 MB / 0.9958 GB, free: 94.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/1.98, allocations: 0.9344 MB / 0.9967 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008542/1.981, allocations: 257.9 kB / 0.9969 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/1.981, allocations: 59.41 kB / 0.997 GB, free: 92.98 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/1.981, allocations: 0 / 0.997 GB, free: 92.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.02447/2.006, allocations: 14.41 MB / 1.011 GB, free: 78.73 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches