Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,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.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,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.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 226.5 MB / 244.1 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008516/0.0008516, allocations: 89.62 kB / 296.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3851/0.3851, allocations: 44.83 MB / 393 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003067, allocations: 4 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3778, allocations: 62.95 MB / 0.5165 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.8668, allocations: 238.1 MB / 0.749 GB, free: 80.83 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.8671, allocations: 98 kB / 0.7491 GB, free: 80.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.67/1.537, allocations: 237.4 MB / 0.981 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/1.537, allocations: 0 / 0.981 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.228e-05/1.537, allocations: 20 kB / 0.981 GB, free: 109.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.002654/1.54, allocations: 1.261 MB / 0.9822 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.54, allocations: 8.031 kB / 0.9822 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/1.541, allocations: 147.4 kB / 0.9824 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000876/1.542, allocations: 0.5648 MB / 0.9829 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/1.542, allocations: 100.4 kB / 0.983 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/1.542, allocations: 49.72 kB / 0.9831 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/1.543, allocations: 0.822 MB / 0.9839 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.543, allocations: 11.88 kB / 0.9839 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/1.543, allocations: 27.67 kB / 0.9839 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/1.543, allocations: 44.97 kB / 0.984 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009669/1.544, allocations: 0.5892 MB / 0.9845 GB, free: 105.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.003758/1.548, allocations: 4.487 MB / 0.9889 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/1.549, allocations: 320 kB / 0.9892 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/1.549, allocations: 149.4 kB / 0.9894 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/1.549, allocations: 409.5 kB / 0.9898 GB, free: 99.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/1.549, allocations: 38.56 kB / 0.9898 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/1.549, allocations: 0 / 0.9898 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.003537/1.553, allocations: 1.521 MB / 0.9913 GB, free: 98.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.553, allocations: 136.5 kB / 0.9914 GB, free: 97.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/1.553, allocations: 0.644 MB / 0.992 GB, free: 97.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/1.553, allocations: 33.7 kB / 0.9921 GB, free: 97.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/1.554, allocations: 397.5 kB / 0.9924 GB, free: 96.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.578e-05/1.554, allocations: 128.7 kB / 0.9926 GB, free: 96.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/1.554, allocations: 16 kB / 0.9926 GB, free: 96.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/1.554, allocations: 382.8 kB / 0.993 GB, free: 96.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/1.554, allocations: 197.8 kB / 0.9931 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/1.554, allocations: 0.4941 MB / 0.9936 GB, free: 95.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/1.555, allocations: 0.7015 MB / 0.9943 GB, free: 94.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/1.555, allocations: 4 kB / 0.9943 GB, free: 94.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001143/1.556, allocations: 0.8519 MB / 0.9951 GB, free: 93.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.556, allocations: 11.94 kB / 0.9952 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.556, allocations: 8 kB / 0.9952 GB, free: 93.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/1.557, allocations: 284.7 kB / 0.9954 GB, free: 93.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/1.558, allocations: 127.7 kB / 0.9956 GB, free: 93.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/1.559, allocations: 1.39 MB / 0.9969 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/1.559, allocations: 43.83 kB / 0.997 GB, free: 91.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/1.559, allocations: 48.06 kB / 0.997 GB, free: 91.75 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.0003274/1.56, allocations: 242.2 kB / 0.9972 GB, free: 91.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/1.56, allocations: 71.19 kB / 0.9973 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/1.561, allocations: 0.6906 MB / 0.998 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.561, allocations: 4 kB / 0.998 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.561, allocations: 4 kB / 0.998 GB, free: 90.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.561, allocations: 0 / 0.998 GB, free: 90.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/1.563, allocations: 1.208 MB / 0.9992 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.563, allocations: 0 / 0.9992 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/1.563, allocations: 39.98 kB / 0.9992 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007777/1.564, allocations: 193.5 kB / 0.9994 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/1.564, allocations: 8 kB / 0.9994 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007856/1.564, allocations: 1.3 MB / 1.001 GB, free: 87.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.564, allocations: 0 / 1.001 GB, free: 87.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/1.565, allocations: 0.7825 MB / 1.001 GB, free: 87.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/1.566, allocations: 196.2 kB / 1.002 GB, free: 86.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/1.566, allocations: 8 kB / 1.002 GB, free: 86.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/1.566, allocations: 31.98 kB / 1.002 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/1.566, allocations: 19.95 kB / 1.002 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/1.566, allocations: 23.98 kB / 1.002 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004685/1.567, allocations: 447 kB / 1.002 GB, free: 86.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.567, allocations: 0 / 1.002 GB, free: 86.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009546/1.568, allocations: 283.8 kB / 1.002 GB, free: 86.04 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.0006395/1.568, allocations: 342.1 kB / 1.003 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008734/1.569, allocations: 0.4941 MB / 1.003 GB, free: 85.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.569, allocations: 8.188 kB / 1.003 GB, free: 85.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/1.57, allocations: 211.6 kB / 1.003 GB, free: 85.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.571, allocations: 302.7 kB / 1.004 GB, free: 84.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/1.573, allocations: 1.54 MB / 1.005 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.573, allocations: 0.9267 MB / 1.006 GB, free: 82.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/1.574, allocations: 63.42 kB / 1.006 GB, free: 82.13 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/1.574, allocations: 4 kB / 1.006 GB, free: 82.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.01904/1.593, allocations: 17 MB / 1.023 GB, free: 65.2 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches