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.0009348/0.0009348, allocations: 183.6 kB / 13.19 MB, free: 2.129 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.376/1.376, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007588/0.0007588, allocations: 91.72 kB / 267.1 MB, free: 9.277 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.3701/0.3701, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.253e-05, allocations: 8 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7856/0.9181, allocations: 240.8 MB / 0.708 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.9184, allocations: 92.59 kB / 0.7081 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.856/1.774, allocations: 277.8 MB / 0.9793 GB, free: 94.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.365e-06/1.774, allocations: 3.984 kB / 0.9793 GB, free: 94.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.559e-05/1.775, allocations: 16 kB / 0.9794 GB, free: 94.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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004282/1.779, allocations: 1.555 MB / 0.9809 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.779, allocations: 8.031 kB / 0.9809 GB, free: 93.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/1.78, allocations: 149.8 kB / 0.981 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/1.781, allocations: 0.5526 MB / 0.9816 GB, free: 92.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.15e-05/1.781, allocations: 100.4 kB / 0.9817 GB, free: 92.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/1.782, allocations: 50.66 kB / 0.9817 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/1.783, allocations: 0.8163 MB / 0.9825 GB, free: 91.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/1.783, allocations: 4 kB / 0.9825 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.767e-05/1.783, allocations: 20 kB / 0.9825 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/1.783, allocations: 44.91 kB / 0.9826 GB, free: 91.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/1.784, allocations: 0.5698 MB / 0.9831 GB, free: 90.7 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.004024/1.788, allocations: 4.433 MB / 0.9875 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/1.789, allocations: 321.5 kB / 0.9878 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/1.789, allocations: 138.1 kB / 0.9879 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/1.789, allocations: 344.4 kB / 0.9882 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.789, allocations: 39.06 kB / 0.9883 GB, free: 85.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.795e-06/1.789, allocations: 0 / 0.9883 GB, free: 85.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.002788/1.792, allocations: 1.257 MB / 0.9895 GB, free: 83.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.792, allocations: 140.5 kB / 0.9896 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/1.792, allocations: 0.5735 MB / 0.9902 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/1.792, allocations: 33.7 kB / 0.9902 GB, free: 82.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/1.793, allocations: 385.5 kB / 0.9906 GB, free: 82.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/1.793, allocations: 133.1 kB / 0.9907 GB, free: 82.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/1.793, allocations: 16 kB / 0.9907 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/1.793, allocations: 378.8 kB / 0.9911 GB, free: 82.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/1.793, allocations: 193.5 kB / 0.9913 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/1.794, allocations: 492.2 kB / 0.9917 GB, free: 81.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/1.794, allocations: 293.4 kB / 0.992 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/1.794, allocations: 0 / 0.992 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001127/1.795, allocations: 0.8448 MB / 0.9928 GB, free: 80.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.795, allocations: 12.03 kB / 0.9929 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.795, allocations: 12 kB / 0.9929 GB, free: 80.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/1.796, allocations: 283.2 kB / 0.9931 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/1.797, allocations: 123.8 kB / 0.9933 GB, free: 79.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009585/1.798, allocations: 1.396 MB / 0.9946 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/1.798, allocations: 36.11 kB / 0.9947 GB, free: 78.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/1.798, allocations: 43.98 kB / 0.9947 GB, free: 78.18 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 () * 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.0001604/1.798, allocations: 156.7 kB / 0.9948 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/1.799, allocations: 71.09 kB / 0.9949 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/1.8, allocations: 0.6871 MB / 0.9956 GB, free: 77.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.8, allocations: 7.938 kB / 0.9956 GB, free: 77.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.8, allocations: 0 / 0.9956 GB, free: 77.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.8, allocations: 0 / 0.9956 GB, free: 77.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/1.802, allocations: 1.217 MB / 0.9968 GB, free: 75.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.802, allocations: 3.984 kB / 0.9968 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/1.802, allocations: 43.92 kB / 0.9968 GB, free: 75.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007488/1.803, allocations: 200.4 kB / 0.997 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/1.803, allocations: 11.98 kB / 0.997 GB, free: 75.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007048/1.803, allocations: 1.3 MB / 0.9983 GB, free: 74.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.803, allocations: 3.938 kB / 0.9983 GB, free: 74.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/1.804, allocations: 0.8183 MB / 0.9991 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/1.805, allocations: 204.2 kB / 0.9993 GB, free: 73.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/1.805, allocations: 8 kB / 0.9993 GB, free: 73.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/1.805, allocations: 19.98 kB / 0.9993 GB, free: 73.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/1.805, allocations: 32.02 kB / 0.9994 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/1.805, allocations: 23.98 kB / 0.9994 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004277/1.806, allocations: 443.1 kB / 0.9998 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.806, allocations: 0 / 0.9998 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00122/1.807, allocations: 371.7 kB / 1 GB, free: 72.39 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 () * 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.001015/1.808, allocations: 487.4 kB / 1.001 GB, free: 71.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008097/1.809, allocations: 0.4992 MB / 1.001 GB, free: 71.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.809, allocations: 0 / 1.001 GB, free: 71.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003849/1.809, allocations: 211.6 kB / 1.001 GB, free: 71.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/1.81, allocations: 311.5 kB / 1.002 GB, free: 70.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/1.812, allocations: 0.8661 MB / 1.002 GB, free: 70.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/1.812, allocations: 0.9501 MB / 1.003 GB, free: 69.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007716/1.813, allocations: 253.8 kB / 1.004 GB, free: 68.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/1.813, allocations: 63.3 kB / 1.004 GB, free: 68.75 MB / 0.4948 GB Notification: Performance of SimCode: time 2.2e-07/1.813, allocations: 0 / 1.004 GB, free: 68.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.02171/1.835, allocations: 16 MB / 1.019 GB, free: 52.81 MB / 0.4948 GB 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/jenkins/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