Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002247/0.002247, 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.203/2.203, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001085/0.001085, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.2851/0.2851, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.499e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.156, allocations: 240.8 MB / 0.708 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/1.156, allocations: 97.45 kB / 0.7081 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.329/2.486, allocations: 277.8 MB / 0.9793 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.723e-06/2.486, allocations: 4 kB / 0.9793 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.953e-05/2.486, allocations: 19.83 kB / 0.9794 GB, free: 106.6 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.004864/2.491, allocations: 1.558 MB / 0.9809 GB, free: 105 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/2.491, allocations: 8.031 kB / 0.9809 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/2.492, allocations: 147 kB / 0.981 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/2.494, allocations: 0.544 MB / 0.9816 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/2.494, allocations: 103.2 kB / 0.9817 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/2.494, allocations: 51.83 kB / 0.9817 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/2.496, allocations: 0.8078 MB / 0.9825 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/2.496, allocations: 11.95 kB / 0.9825 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/2.496, allocations: 35.34 kB / 0.9825 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.857e-05/2.496, allocations: 40.92 kB / 0.9826 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/2.498, allocations: 0.5581 MB / 0.9831 GB, free: 102.6 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.006271/2.504, allocations: 4.431 MB / 0.9874 GB, free: 97.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008716/2.505, allocations: 319.3 kB / 0.9878 GB, free: 97.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/2.505, allocations: 140.8 kB / 0.9879 GB, free: 97.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/2.505, allocations: 344.2 kB / 0.9882 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/2.506, allocations: 41.31 kB / 0.9883 GB, free: 97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.025e-06/2.506, allocations: 0 / 0.9883 GB, free: 97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.004738/2.51, allocations: 1.262 MB / 0.9895 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/2.51, allocations: 132.5 kB / 0.9896 GB, free: 95.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/2.511, allocations: 0.562 MB / 0.9902 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/2.512, allocations: 37.64 kB / 0.9902 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/2.512, allocations: 423.3 kB / 0.9906 GB, free: 94.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/2.512, allocations: 136.8 kB / 0.9907 GB, free: 94.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/2.512, allocations: 16 kB / 0.9907 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/2.512, allocations: 338.8 kB / 0.9911 GB, free: 94.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/2.513, allocations: 189.5 kB / 0.9913 GB, free: 93.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/2.513, allocations: 0.4932 MB / 0.9917 GB, free: 93.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/2.514, allocations: 287.9 kB / 0.992 GB, free: 92.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/2.514, allocations: 6.406 kB / 0.992 GB, free: 92.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001918/2.516, allocations: 0.7961 MB / 0.9928 GB, free: 92.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/2.516, allocations: 8 kB / 0.9928 GB, free: 92.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/2.516, allocations: 15.44 kB / 0.9928 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/2.518, allocations: 275.5 kB / 0.9931 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/2.519, allocations: 123.8 kB / 0.9932 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/2.52, allocations: 1.398 MB / 0.9946 GB, free: 90.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/2.521, allocations: 35.92 kB / 0.9946 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/2.521, allocations: 47.98 kB / 0.9946 GB, free: 90.2 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.0002104/2.521, allocations: 151.8 kB / 0.9948 GB, free: 90.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/2.521, allocations: 71.16 kB / 0.9949 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/2.524, allocations: 0.6932 MB / 0.9955 GB, free: 89.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/2.524, allocations: 4 kB / 0.9955 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/2.524, allocations: 0 / 0.9955 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/2.524, allocations: 7.938 kB / 0.9955 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/2.526, allocations: 1.212 MB / 0.9967 GB, free: 87.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/2.526, allocations: 0 / 0.9967 GB, free: 87.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/2.527, allocations: 47.53 kB / 0.9968 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/2.528, allocations: 196.8 kB / 0.997 GB, free: 87.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/2.528, allocations: 12 kB / 0.997 GB, free: 87.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/2.529, allocations: 1.288 MB / 0.9982 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/2.529, allocations: 11.88 kB / 0.9982 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/2.531, allocations: 0.8166 MB / 0.999 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/2.532, allocations: 200.2 kB / 0.9992 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/2.532, allocations: 8 kB / 0.9992 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/2.532, allocations: 23.92 kB / 0.9993 GB, free: 85.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/2.533, allocations: 31.27 kB / 0.9993 GB, free: 85.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/2.533, allocations: 23.98 kB / 0.9993 GB, free: 85.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007519/2.533, allocations: 447.1 kB / 0.9997 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.61e-07/2.533, allocations: 0 / 0.9997 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001729/2.535, allocations: 385.7 kB / 1 GB, free: 84.43 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.001303/2.536, allocations: 472.5 kB / 1.001 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001454/2.538, allocations: 0.5 MB / 1.001 GB, free: 83.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.538, allocations: 3.031 kB / 1.001 GB, free: 83.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/2.539, allocations: 203.8 kB / 1.001 GB, free: 83.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/2.541, allocations: 306.8 kB / 1.002 GB, free: 83.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/2.543, allocations: 0.9182 MB / 1.002 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/2.544, allocations: 0.9446 MB / 1.003 GB, free: 81.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/2.544, allocations: 71.17 kB / 1.003 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/2.544, allocations: 0 / 1.003 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.03179/2.576, allocations: 18.33 MB / 1.021 GB, free: 62.88 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches