Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 183.8 kB / 18.09 MB, free: 3.719 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.388/1.388, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0008207/0.0008206, allocations: 98.88 kB / 293.3 MB, free: 10.77 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.3873/0.3873, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 8 kB / 461.1 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4009, allocations: 61.87 MB / 0.5107 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5374/0.9383, allocations: 237.4 MB / 0.7425 GB, free: 112.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.9386, allocations: 99.92 kB / 0.7426 GB, free: 112.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6608/1.599, allocations: 224.2 MB / 0.9616 GB, free: 86.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.143e-06/1.599, allocations: 0 / 0.9616 GB, free: 86.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.256e-05/1.6, allocations: 22.58 kB / 0.9616 GB, free: 86.33 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002625/1.602, allocations: 1.25 MB / 0.9628 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.532e-05/1.602, allocations: 11.97 kB / 0.9628 GB, free: 85.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000895/1.603, allocations: 147.9 kB / 0.963 GB, free: 84.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008665/1.604, allocations: 0.5629 MB / 0.9635 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/1.604, allocations: 104.9 kB / 0.9636 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/1.604, allocations: 58.97 kB / 0.9637 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/1.605, allocations: 0.8196 MB / 0.9645 GB, free: 83.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.606, allocations: 7.938 kB / 0.9645 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/1.606, allocations: 26.58 kB / 0.9645 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/1.606, allocations: 40.92 kB / 0.9645 GB, free: 83.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009919/1.607, allocations: 0.5931 MB / 0.9651 GB, free: 82.56 MB / 0.4948 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.003999/1.611, allocations: 4.491 MB / 0.9695 GB, free: 77.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/1.611, allocations: 318.7 kB / 0.9698 GB, free: 77.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/1.611, allocations: 137.2 kB / 0.9699 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.612, allocations: 420.8 kB / 0.9703 GB, free: 76.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/1.612, allocations: 38.5 kB / 0.9704 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/1.612, allocations: 0 / 0.9704 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.003329/1.615, allocations: 1.515 MB / 0.9719 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/1.615, allocations: 136.5 kB / 0.972 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/1.616, allocations: 0.6447 MB / 0.9726 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/1.616, allocations: 29.7 kB / 0.9726 GB, free: 74.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/1.616, allocations: 394.2 kB / 0.973 GB, free: 73.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/1.616, allocations: 136.9 kB / 0.9731 GB, free: 73.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/1.616, allocations: 12 kB / 0.9732 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/1.616, allocations: 374.8 kB / 0.9735 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/1.616, allocations: 201.9 kB / 0.9737 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/1.617, allocations: 0.4978 MB / 0.9742 GB, free: 72.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/1.617, allocations: 0.6978 MB / 0.9749 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.617, allocations: 11.94 kB / 0.9749 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001094/1.619, allocations: 0.8487 MB / 0.9757 GB, free: 70.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.619, allocations: 11.98 kB / 0.9757 GB, free: 70.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.619, allocations: 12.09 kB / 0.9757 GB, free: 70.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/1.62, allocations: 281 kB / 0.976 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/1.62, allocations: 127.8 kB / 0.9761 GB, free: 70.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008472/1.621, allocations: 1.384 MB / 0.9775 GB, free: 69.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/1.621, allocations: 47.95 kB / 0.9775 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/1.621, allocations: 51.92 kB / 0.9776 GB, free: 68.91 MB / 0.4948 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.0002761/1.622, allocations: 237.5 kB / 0.9778 GB, free: 68.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/1.622, allocations: 71.28 kB / 0.9779 GB, free: 68.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/1.623, allocations: 0.6853 MB / 0.9785 GB, free: 67.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.623, allocations: 7.984 kB / 0.9785 GB, free: 67.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.623, allocations: 0 / 0.9785 GB, free: 67.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.623, allocations: 3.984 kB / 0.9786 GB, free: 67.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/1.625, allocations: 1.197 MB / 0.9797 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.625, allocations: 0 / 0.9797 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/1.625, allocations: 51.84 kB / 0.9798 GB, free: 66.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007361/1.626, allocations: 189.6 kB / 0.9799 GB, free: 66.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/1.626, allocations: 12 kB / 0.98 GB, free: 66.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007422/1.626, allocations: 1.3 MB / 0.9812 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.626, allocations: 0 / 0.9812 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009257/1.627, allocations: 0.7861 MB / 0.982 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/1.628, allocations: 184.3 kB / 0.9822 GB, free: 64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/1.628, allocations: 11.98 kB / 0.9822 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/1.628, allocations: 35.95 kB / 0.9822 GB, free: 63.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/1.628, allocations: 19.97 kB / 0.9822 GB, free: 63.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/1.628, allocations: 19.98 kB / 0.9823 GB, free: 63.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004368/1.629, allocations: 447 kB / 0.9827 GB, free: 63.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.629, allocations: 3.938 kB / 0.9827 GB, free: 63.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001004/1.63, allocations: 286.6 kB / 0.983 GB, free: 63.2 MB / 0.4948 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.0005949/1.63, allocations: 334.7 kB / 0.9833 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008577/1.631, allocations: 0.5035 MB / 0.9838 GB, free: 62.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.631, allocations: 96 / 0.9838 GB, free: 62.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/1.631, allocations: 215.6 kB / 0.984 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.633, allocations: 312.6 kB / 0.9843 GB, free: 61.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.635, allocations: 1.497 MB / 0.9857 GB, free: 60.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/1.635, allocations: 0.9305 MB / 0.9866 GB, free: 59.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007109/1.636, allocations: 257.8 kB / 0.9869 GB, free: 59.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/1.636, allocations: 59.42 kB / 0.9869 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/1.636, allocations: 0 / 0.9869 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.02011/1.656, allocations: 14.41 MB / 1.001 GB, free: 44.86 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches