Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001507/0.001507, allocations: 199.2 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 226.5 MB / 244.1 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 98.97 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4373/0.4373, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003204, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.437, allocations: 62.95 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6025/1.04, allocations: 238.3 MB / 0.7492 GB, free: 80.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.04, allocations: 91.33 kB / 0.7493 GB, free: 80.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8107/1.851, allocations: 225.7 MB / 0.9697 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.715e-06/1.851, allocations: 3.938 kB / 0.9697 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001355/1.851, allocations: 20.12 kB / 0.9697 GB, free: 120.2 MB / 0.5261 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.004683/1.856, allocations: 1.256 MB / 0.9709 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/1.856, allocations: 8.031 kB / 0.9709 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/1.857, allocations: 151.6 kB / 0.9711 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/1.859, allocations: 0.5569 MB / 0.9716 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/1.859, allocations: 105.9 kB / 0.9717 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/1.859, allocations: 53.89 kB / 0.9718 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/1.861, allocations: 0.8262 MB / 0.9726 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/1.861, allocations: 11.88 kB / 0.9726 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/1.861, allocations: 24 kB / 0.9726 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/1.861, allocations: 36.98 kB / 0.9726 GB, free: 117 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/1.863, allocations: 0.5931 MB / 0.9732 GB, free: 116.4 MB / 0.5261 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.005748/1.868, allocations: 4.496 MB / 0.9776 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/1.869, allocations: 316.6 kB / 0.9779 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/1.869, allocations: 142.5 kB / 0.978 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/1.87, allocations: 421.4 kB / 0.9784 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.87, allocations: 34.56 kB / 0.9785 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/1.87, allocations: 4 kB / 0.9785 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.004322/1.874, allocations: 1.508 MB / 0.9799 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/1.874, allocations: 140.5 kB / 0.9801 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008718/1.875, allocations: 0.6485 MB / 0.9807 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/1.875, allocations: 29.7 kB / 0.9807 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/1.875, allocations: 391.3 kB / 0.9811 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/1.875, allocations: 135.7 kB / 0.9812 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/1.876, allocations: 16 kB / 0.9813 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.876, allocations: 375.2 kB / 0.9816 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/1.876, allocations: 197.9 kB / 0.9818 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/1.876, allocations: 0.4941 MB / 0.9823 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008535/1.877, allocations: 0.7092 MB / 0.983 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/1.877, allocations: 7.938 kB / 0.983 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001398/1.879, allocations: 0.8488 MB / 0.9838 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.879, allocations: 12.03 kB / 0.9838 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.879, allocations: 11.98 kB / 0.9838 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/1.88, allocations: 278.2 kB / 0.9841 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/1.881, allocations: 123.7 kB / 0.9842 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/1.882, allocations: 1.391 MB / 0.9856 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006562/1.882, allocations: 36.11 kB / 0.9856 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/1.882, allocations: 51.92 kB / 0.9857 GB, free: 102.8 MB / 0.5261 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.0004362/1.883, allocations: 238.2 kB / 0.9859 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/1.883, allocations: 71.16 kB / 0.986 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/1.884, allocations: 0.6949 MB / 0.9866 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.884, allocations: 4 kB / 0.9866 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.884, allocations: 0 / 0.9866 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.884, allocations: 3.984 kB / 0.9866 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/1.887, allocations: 1.199 MB / 0.9878 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/1.887, allocations: 0 / 0.9878 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/1.887, allocations: 39.97 kB / 0.9879 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000899/1.888, allocations: 201.5 kB / 0.9881 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/1.888, allocations: 8 kB / 0.9881 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008836/1.889, allocations: 1.3 MB / 0.9893 GB, free: 98.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.889, allocations: 0 / 0.9893 GB, free: 98.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/1.89, allocations: 0.782 MB / 0.9901 GB, free: 98.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/1.89, allocations: 192.4 kB / 0.9903 GB, free: 97.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/1.89, allocations: 15.98 kB / 0.9903 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/1.891, allocations: 23.92 kB / 0.9903 GB, free: 97.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/1.891, allocations: 31.77 kB / 0.9903 GB, free: 97.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/1.891, allocations: 19.98 kB / 0.9904 GB, free: 97.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006889/1.892, allocations: 443 kB / 0.9908 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.892, allocations: 4 kB / 0.9908 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00148/1.893, allocations: 295.7 kB / 0.9911 GB, free: 97.1 MB / 0.5261 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.001111/1.894, allocations: 325.3 kB / 0.9914 GB, free: 96.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001243/1.896, allocations: 0.5013 MB / 0.9919 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.896, allocations: 3.938 kB / 0.9919 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004912/1.896, allocations: 208.7 kB / 0.9921 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/1.898, allocations: 311.6 kB / 0.9924 GB, free: 95.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/1.901, allocations: 1.542 MB / 0.9939 GB, free: 94.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/1.901, allocations: 0.9306 MB / 0.9948 GB, free: 93.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/1.901, allocations: 75.34 kB / 0.9949 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/1.901, allocations: 0 / 0.9949 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.02409/1.925, allocations: 16.99 MB / 1.011 GB, free: 76.26 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches