Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|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_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.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.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|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_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.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.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001999/0.001999, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009927/0.0009929, allocations: 100.5 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 45.16 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.73e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 63.24 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.333/6.463, allocations: 2.77 GB / 3.275 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/6.463, allocations: 86.48 kB / 3.275 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.43/7.894, allocations: 357 MB / 3.623 GB, free: 67.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.512e-06/7.894, allocations: 0 / 3.623 GB, free: 67.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.78e-05/7.894, allocations: 16.23 kB / 3.623 GB, free: 67.03 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006284/7.9, allocations: 1.661 MB / 3.625 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/7.9, allocations: 14.8 kB / 3.625 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/7.904, allocations: 441.7 kB / 3.625 GB, free: 66.42 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/7.905, allocations: 0.5558 MB / 3.626 GB, free: 66.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/7.905, allocations: 95.47 kB / 3.626 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/7.905, allocations: 35.38 kB / 3.626 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009935/7.906, allocations: 0.7332 MB / 3.627 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/7.907, allocations: 0.8333 MB / 3.628 GB, free: 65.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/7.907, allocations: 3.781 kB / 3.628 GB, free: 65.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/7.907, allocations: 5.312 kB / 3.628 GB, free: 65.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/7.907, allocations: 34.08 kB / 3.628 GB, free: 65.94 MB / 0.5261 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.08136/7.988, allocations: 48.92 MB / 3.675 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/7.989, allocations: 0.5775 MB / 3.676 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/7.99, allocations: 300.4 kB / 3.676 GB, free: 34.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02872/8.018, allocations: 18.42 MB / 3.694 GB, free: 38.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.294e-05/8.018, allocations: 41.62 kB / 3.694 GB, free: 38.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 3.567e-06/8.018, allocations: 0 / 3.694 GB, free: 38.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.003812/8.022, allocations: 1.235 MB / 3.695 GB, free: 38.01 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/8.022, allocations: 106.6 kB / 3.696 GB, free: 37.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/8.023, allocations: 383.2 kB / 3.696 GB, free: 37.78 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/8.023, allocations: 25.7 kB / 3.696 GB, free: 37.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/8.023, allocations: 357 kB / 3.696 GB, free: 37.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/8.023, allocations: 138.2 kB / 3.696 GB, free: 37.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/8.023, allocations: 0 / 3.696 GB, free: 37.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001266/8.023, allocations: 361.1 kB / 3.697 GB, free: 37.19 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/8.024, allocations: 264.2 kB / 3.697 GB, free: 37.19 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/8.024, allocations: 425.7 kB / 3.697 GB, free: 37.01 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/8.026, allocations: 0.5386 MB / 3.698 GB, free: 36.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/8.026, allocations: 0 / 3.698 GB, free: 36.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002485/8.028, allocations: 1.134 MB / 3.699 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/8.028, allocations: 7.844 kB / 3.699 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/8.028, allocations: 3.969 kB / 3.699 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/8.029, allocations: 390.9 kB / 3.699 GB, free: 36.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/8.029, allocations: 130.5 kB / 3.7 GB, free: 36.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/8.031, allocations: 1.771 MB / 3.701 GB, free: 35.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/8.032, allocations: 106.7 kB / 3.701 GB, free: 35.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/8.032, allocations: 42.39 kB / 3.701 GB, free: 35.78 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001742/8.032, allocations: 117.7 kB / 3.702 GB, free: 35.67 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/8.032, allocations: 51.25 kB / 3.702 GB, free: 35.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003981/8.036, allocations: 3.094 MB / 3.705 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/8.036, allocations: 34.36 kB / 3.705 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/8.036, allocations: 6.766 kB / 3.705 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/8.036, allocations: 3.844 kB / 3.705 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/8.038, allocations: 1.236 MB / 3.706 GB, free: 35.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/8.038, allocations: 4 kB / 3.706 GB, free: 35.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/8.038, allocations: 68.34 kB / 3.706 GB, free: 35.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/8.039, allocations: 1.021 MB / 3.707 GB, free: 35.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/8.039, allocations: 7.781 kB / 3.707 GB, free: 35.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/8.041, allocations: 2.622 MB / 3.71 GB, free: 33.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/8.042, allocations: 2.312 kB / 3.71 GB, free: 33.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/8.045, allocations: 2.421 MB / 3.712 GB, free: 33.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/8.045, allocations: 294.3 kB / 3.712 GB, free: 33.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/8.046, allocations: 0 / 3.712 GB, free: 33.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/8.046, allocations: 66.02 kB / 3.712 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/8.046, allocations: 59.73 kB / 3.712 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/8.046, allocations: 21.58 kB / 3.712 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000361/8.047, allocations: 355.4 kB / 3.713 GB, free: 33.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/8.047, allocations: 0 / 3.713 GB, free: 33.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004986/8.052, allocations: 1.192 MB / 3.714 GB, free: 33.19 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.007938/8.06, allocations: 1.695 MB / 3.715 GB, free: 32.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001844/8.061, allocations: 0.9265 MB / 3.716 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/8.061, allocations: 0 / 3.716 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/8.063, allocations: 0.7108 MB / 3.717 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/8.064, allocations: 265.2 kB / 3.717 GB, free: 32.78 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/8.067, allocations: 1.586 MB / 3.719 GB, free: 32.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/8.067, allocations: 1.118 MB / 3.72 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007442/8.068, allocations: 406.4 kB / 3.72 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/8.068, allocations: 52.59 kB / 3.72 GB, free: 31.68 MB / 0.5417 GB Notification: Performance of SimCode: time 5.51e-07/8.068, allocations: 0 / 3.72 GB, free: 31.68 MB / 0.5417 GB Notification: Performance of Templates: time 0.05252/8.121, allocations: 36.4 MB / 3.756 GB, free: 29.45 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches