Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.623/1.623, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0009415/0.0009413, allocations: 84.92 kB / 271.3 MB, free: 8.254 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.3755/0.3755, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004667, allocations: 15.98 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7609/0.9104, allocations: 241.1 MB / 0.7154 GB, free: 133.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.9108, allocations: 95.95 kB / 0.7155 GB, free: 133.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7764/1.687, allocations: 253.2 MB / 0.9628 GB, free: 72.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.183e-06/1.687, allocations: 0 / 0.9628 GB, free: 72.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.457e-05/1.687, allocations: 20 kB / 0.9628 GB, free: 72.2 MB / 490.7 MB 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.004459/1.692, allocations: 1.634 MB / 0.9644 GB, free: 70.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/1.692, allocations: 12.03 kB / 0.9644 GB, free: 70.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.693, allocations: 143.9 kB / 0.9645 GB, free: 70.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.694, allocations: 0.5645 MB / 0.9651 GB, free: 69.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/1.694, allocations: 100 kB / 0.9652 GB, free: 69.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.695, allocations: 51.91 kB / 0.9652 GB, free: 69.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/1.696, allocations: 0.8289 MB / 0.966 GB, free: 68.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.696, allocations: 3.938 kB / 0.966 GB, free: 68.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.569e-05/1.696, allocations: 27.89 kB / 0.9661 GB, free: 68.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/1.696, allocations: 36.98 kB / 0.9661 GB, free: 68.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.697, allocations: 0.5853 MB / 0.9667 GB, free: 68.07 MB / 490.7 MB 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.004218/1.701, allocations: 4.445 MB / 0.971 GB, free: 63.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/1.702, allocations: 327.9 kB / 0.9713 GB, free: 63.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/1.702, allocations: 136.8 kB / 0.9715 GB, free: 62.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/1.702, allocations: 349.2 kB / 0.9718 GB, free: 62.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/1.703, allocations: 38.56 kB / 0.9718 GB, free: 62.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/1.703, allocations: 0 / 0.9718 GB, free: 62.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.003653/1.706, allocations: 1.538 MB / 0.9733 GB, free: 60.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.706, allocations: 136.5 kB / 0.9735 GB, free: 60.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/1.707, allocations: 0.6447 MB / 0.9741 GB, free: 60 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/1.707, allocations: 37.64 kB / 0.9741 GB, free: 59.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/1.707, allocations: 390.5 kB / 0.9745 GB, free: 59.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.797e-05/1.707, allocations: 134.1 kB / 0.9746 GB, free: 59.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/1.707, allocations: 12 kB / 0.9746 GB, free: 59.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/1.708, allocations: 374.8 kB / 0.975 GB, free: 59.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/1.708, allocations: 205.9 kB / 0.9752 GB, free: 58.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/1.708, allocations: 0.4902 MB / 0.9757 GB, free: 58.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/1.709, allocations: 0.7093 MB / 0.9764 GB, free: 57.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.709, allocations: 4 kB / 0.9764 GB, free: 57.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00126/1.71, allocations: 0.856 MB / 0.9772 GB, free: 56.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.71, allocations: 8.625 kB / 0.9772 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.71, allocations: 12 kB / 0.9772 GB, free: 56.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/1.712, allocations: 290.1 kB / 0.9775 GB, free: 56.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/1.712, allocations: 127.7 kB / 0.9776 GB, free: 56.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/1.713, allocations: 1.389 MB / 0.979 GB, free: 54.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/1.714, allocations: 35.92 kB / 0.979 GB, free: 54.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/1.714, allocations: 51.86 kB / 0.9791 GB, free: 54.55 MB / 490.7 MB 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.0003103/1.714, allocations: 253.7 kB / 0.9793 GB, free: 54.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.714, allocations: 71.16 kB / 0.9794 GB, free: 54.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/1.715, allocations: 0.7026 MB / 0.9801 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.715, allocations: 11.92 kB / 0.9801 GB, free: 53.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.715, allocations: 0 / 0.9801 GB, free: 53.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.715, allocations: 0 / 0.9801 GB, free: 53.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/1.717, allocations: 1.227 MB / 0.9813 GB, free: 52.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.717, allocations: 0 / 0.9813 GB, free: 52.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/1.717, allocations: 39.97 kB / 0.9813 GB, free: 52.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007685/1.718, allocations: 197.6 kB / 0.9815 GB, free: 51.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/1.718, allocations: 16 kB / 0.9815 GB, free: 51.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007784/1.719, allocations: 1.292 MB / 0.9828 GB, free: 50.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.719, allocations: 0 / 0.9828 GB, free: 50.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/1.72, allocations: 0.8069 MB / 0.9836 GB, free: 49.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/1.72, allocations: 204.1 kB / 0.9838 GB, free: 49.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.72, allocations: 12 kB / 0.9838 GB, free: 49.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/1.721, allocations: 24.05 kB / 0.9838 GB, free: 49.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/1.721, allocations: 27.95 kB / 0.9838 GB, free: 49.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/1.721, allocations: 23.98 kB / 0.9838 GB, free: 49.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004556/1.721, allocations: 447 kB / 0.9843 GB, free: 49.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.721, allocations: 0 / 0.9843 GB, free: 49.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0014/1.723, allocations: 383.5 kB / 0.9846 GB, free: 48.66 MB / 490.7 MB 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 (26): * Single equations (assignments): 24 * 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.001237/1.724, allocations: 473.4 kB / 0.9851 GB, free: 48.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009165/1.725, allocations: 0.5072 MB / 0.9856 GB, free: 47.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.725, allocations: 1.562 kB / 0.9856 GB, free: 47.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003949/1.725, allocations: 208 kB / 0.9858 GB, free: 47.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/1.727, allocations: 315.7 kB / 0.9861 GB, free: 47.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/1.729, allocations: 1.496 MB / 0.9875 GB, free: 45.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/1.73, allocations: 0.9365 MB / 0.9885 GB, free: 44.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008003/1.73, allocations: 245.8 kB / 0.9887 GB, free: 44.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.731, allocations: 67.41 kB / 0.9888 GB, free: 44.41 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/1.731, allocations: 0 / 0.9888 GB, free: 44.41 MB / 490.7 MB Notification: Performance of Templates: time 0.02748/1.758, allocations: 16.18 MB / 1.005 GB, free: 28.3 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches