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.001042/0.001042, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.577/1.577, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.000902/0.0009021, allocations: 87.41 kB / 271.9 MB, free: 8.242 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.3803/0.3803, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004058, allocations: 12 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 58.84 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7752/0.905, allocations: 241.1 MB / 0.7154 GB, free: 133.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.9055, allocations: 94.02 kB / 0.7155 GB, free: 133.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7712/1.677, allocations: 253.2 MB / 0.9628 GB, free: 72.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.677, allocations: 0 / 0.9628 GB, free: 72.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.87e-05/1.677, allocations: 16 kB / 0.9628 GB, free: 72.39 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.003743/1.681, allocations: 1.627 MB / 0.9644 GB, free: 70.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/1.681, allocations: 12.03 kB / 0.9644 GB, free: 70.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009787/1.682, allocations: 143.9 kB / 0.9645 GB, free: 70.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/1.682, allocations: 0.5645 MB / 0.9651 GB, free: 69.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/1.682, allocations: 109.9 kB / 0.9652 GB, free: 69.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/1.683, allocations: 47.83 kB / 0.9652 GB, free: 69.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/1.684, allocations: 0.8289 MB / 0.966 GB, free: 68.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/1.684, allocations: 3.938 kB / 0.966 GB, free: 68.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/1.684, allocations: 27.91 kB / 0.966 GB, free: 68.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/1.684, allocations: 44.92 kB / 0.9661 GB, free: 68.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009354/1.685, allocations: 0.5814 MB / 0.9667 GB, free: 68.26 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.003621/1.688, allocations: 4.445 MB / 0.971 GB, free: 63.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/1.689, allocations: 317 kB / 0.9713 GB, free: 63.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/1.689, allocations: 136.8 kB / 0.9714 GB, free: 63.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/1.689, allocations: 349.2 kB / 0.9718 GB, free: 62.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/1.689, allocations: 42.5 kB / 0.9718 GB, free: 62.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/1.689, allocations: 4 kB / 0.9718 GB, free: 62.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.00338/1.693, allocations: 1.526 MB / 0.9733 GB, free: 61.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/1.693, allocations: 140.4 kB / 0.9734 GB, free: 60.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/1.693, allocations: 0.6408 MB / 0.9741 GB, free: 60.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/1.694, allocations: 33.7 kB / 0.9741 GB, free: 60.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/1.694, allocations: 394.3 kB / 0.9745 GB, free: 59.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/1.694, allocations: 130.1 kB / 0.9746 GB, free: 59.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/1.694, allocations: 16 kB / 0.9746 GB, free: 59.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.085e-05/1.694, allocations: 378.8 kB / 0.975 GB, free: 59.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/1.694, allocations: 197.9 kB / 0.9752 GB, free: 59.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/1.695, allocations: 0.4902 MB / 0.9756 GB, free: 58.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/1.695, allocations: 0.7093 MB / 0.9763 GB, free: 57.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.695, allocations: 4 kB / 0.9763 GB, free: 57.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001157/1.696, allocations: 0.8525 MB / 0.9772 GB, free: 56.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.696, allocations: 16.22 kB / 0.9772 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.696, allocations: 8 kB / 0.9772 GB, free: 56.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/1.698, allocations: 306.2 kB / 0.9775 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/1.698, allocations: 123.8 kB / 0.9776 GB, free: 56.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008534/1.699, allocations: 1.388 MB / 0.979 GB, free: 54.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/1.699, allocations: 47.98 kB / 0.979 GB, free: 54.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/1.699, allocations: 51.92 kB / 0.979 GB, free: 54.73 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.0002762/1.7, allocations: 237.5 kB / 0.9793 GB, free: 54.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/1.7, allocations: 71.16 kB / 0.9793 GB, free: 54.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/1.701, allocations: 0.7099 MB / 0.98 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/1.701, allocations: 4 kB / 0.98 GB, free: 53.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.701, allocations: 0 / 0.98 GB, free: 53.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.701, allocations: 7.984 kB / 0.98 GB, free: 53.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/1.703, allocations: 1.223 MB / 0.9812 GB, free: 52.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.703, allocations: 0 / 0.9812 GB, free: 52.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/1.703, allocations: 47.92 kB / 0.9813 GB, free: 52.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000768/1.704, allocations: 189.6 kB / 0.9815 GB, free: 52.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/1.704, allocations: 15.98 kB / 0.9815 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007234/1.704, allocations: 1.296 MB / 0.9827 GB, free: 50.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.704, allocations: 0 / 0.9827 GB, free: 50.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/1.705, allocations: 0.8031 MB / 0.9835 GB, free: 49.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/1.706, allocations: 208.1 kB / 0.9837 GB, free: 49.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/1.706, allocations: 8 kB / 0.9837 GB, free: 49.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/1.706, allocations: 23.98 kB / 0.9838 GB, free: 49.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/1.706, allocations: 24.03 kB / 0.9838 GB, free: 49.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/1.706, allocations: 23.98 kB / 0.9838 GB, free: 49.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000424/1.707, allocations: 455 kB / 0.9842 GB, free: 49.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.707, allocations: 0 / 0.9842 GB, free: 49.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001194/1.708, allocations: 379.5 kB / 0.9846 GB, free: 48.85 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.0008137/1.709, allocations: 481.9 kB / 0.9851 GB, free: 48.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008384/1.71, allocations: 0.5084 MB / 0.9856 GB, free: 47.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.71, allocations: 0 / 0.9856 GB, free: 47.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/1.71, allocations: 207.8 kB / 0.9858 GB, free: 47.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/1.711, allocations: 316.2 kB / 0.9861 GB, free: 47.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/1.713, allocations: 1.538 MB / 0.9876 GB, free: 45.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/1.713, allocations: 0.9287 MB / 0.9885 GB, free: 44.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/1.714, allocations: 75.41 kB / 0.9885 GB, free: 44.79 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/1.714, allocations: 0 / 0.9885 GB, free: 44.79 MB / 490.7 MB Notification: Performance of Templates: time 0.01769/1.731, allocations: 18.51 MB / 1.007 GB, free: 26.29 MB / 490.7 MB 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