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.0009982/0.0009983, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008724/0.0008724, allocations: 93.25 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1848/0.1848, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.831e-05, allocations: 4 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 63.24 MB / 0.5114 GB, free: 6.801 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.709/5.823, allocations: 2.771 GB / 3.282 GB, free: 18.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/5.823, allocations: 87 kB / 3.282 GB, free: 18.26 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.196/7.019, allocations: 360.9 MB / 3.635 GB, free: 88.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.865e-06/7.019, allocations: 3.656 kB / 3.635 GB, free: 88.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.648e-05/7.019, allocations: 11.47 kB / 3.635 GB, free: 88.38 MB / 0.5417 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.00553/7.025, allocations: 1.664 MB / 3.636 GB, free: 87.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/7.025, allocations: 14.5 kB / 3.636 GB, free: 87.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/7.028, allocations: 436.8 kB / 3.637 GB, free: 87.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/7.029, allocations: 0.5575 MB / 3.637 GB, free: 87.02 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/7.029, allocations: 114.9 kB / 3.638 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/7.029, allocations: 58.44 kB / 3.638 GB, free: 86.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/7.031, allocations: 1.15 MB / 3.639 GB, free: 86.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/7.031, allocations: 3.938 kB / 3.639 GB, free: 86.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/7.031, allocations: 35.06 kB / 3.639 GB, free: 86.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/7.031, allocations: 33.94 kB / 3.639 GB, free: 86.39 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/7.033, allocations: 1.011 MB / 3.64 GB, free: 86.09 MB / 0.5417 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.005039/7.038, allocations: 4.996 MB / 3.645 GB, free: 82.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/7.04, allocations: 0.8676 MB / 3.646 GB, free: 82.14 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/7.041, allocations: 336.5 kB / 3.646 GB, free: 82.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03917/7.08, allocations: 26.72 MB / 3.672 GB, free: 59.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/7.08, allocations: 42.94 kB / 3.672 GB, free: 59.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/7.08, allocations: 0 / 3.672 GB, free: 59.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.003342/7.083, allocations: 1.332 MB / 3.673 GB, free: 58.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/7.083, allocations: 107.2 kB / 3.673 GB, free: 58.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/7.084, allocations: 0.524 MB / 3.674 GB, free: 57.63 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/7.084, allocations: 33.7 kB / 3.674 GB, free: 57.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/7.084, allocations: 314.6 kB / 3.674 GB, free: 57.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/7.084, allocations: 160.7 kB / 3.674 GB, free: 57.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/7.084, allocations: 12 kB / 3.674 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/7.084, allocations: 374.8 kB / 3.675 GB, free: 56.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/7.085, allocations: 269.5 kB / 3.675 GB, free: 56.47 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/7.085, allocations: 447.5 kB / 3.675 GB, free: 55.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/7.085, allocations: 305.1 kB / 3.676 GB, free: 55.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/7.085, allocations: 0 / 3.676 GB, free: 55.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001246/7.087, allocations: 0.9419 MB / 3.677 GB, free: 54.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/7.087, allocations: 13.05 kB / 3.677 GB, free: 54.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/7.087, allocations: 4 kB / 3.677 GB, free: 54.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007753/7.087, allocations: 400.5 kB / 3.677 GB, free: 54.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/7.088, allocations: 123.8 kB / 3.677 GB, free: 54.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/7.089, allocations: 1.589 MB / 3.679 GB, free: 52.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/7.09, allocations: 123.1 kB / 3.679 GB, free: 52.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/7.09, allocations: 27.98 kB / 3.679 GB, free: 52.41 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.0001535/7.09, allocations: 148.7 kB / 3.679 GB, free: 52.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/7.09, allocations: 63.25 kB / 3.679 GB, free: 52.19 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/7.094, allocations: 3.512 MB / 3.682 GB, free: 48.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/7.094, allocations: 43.92 kB / 3.683 GB, free: 48.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/7.094, allocations: 0 / 3.683 GB, free: 48.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/7.094, allocations: 0 / 3.683 GB, free: 48.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/7.095, allocations: 1.563 MB / 3.684 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/7.095, allocations: 0 / 3.684 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/7.095, allocations: 87.88 kB / 3.684 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/7.096, allocations: 1.064 MB / 3.685 GB, free: 45.87 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/7.096, allocations: 12 kB / 3.685 GB, free: 45.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/7.098, allocations: 2.325 MB / 3.687 GB, free: 43.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/7.098, allocations: 0 / 3.687 GB, free: 43.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/7.1, allocations: 2.472 MB / 3.69 GB, free: 40.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/7.101, allocations: 358.6 kB / 3.69 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/7.101, allocations: 8 kB / 3.69 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/7.101, allocations: 67.94 kB / 3.69 GB, free: 40.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/7.101, allocations: 68.41 kB / 3.69 GB, free: 40.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/7.101, allocations: 23.98 kB / 3.69 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004494/7.102, allocations: 0.4991 MB / 3.691 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/7.102, allocations: 4 kB / 3.691 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005332/7.107, allocations: 1.217 MB / 3.692 GB, free: 38.73 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: 27 ($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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.005011/7.112, allocations: 1.628 MB / 3.694 GB, free: 37.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001462/7.114, allocations: 1.032 MB / 3.695 GB, free: 36.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/7.114, allocations: 4 kB / 3.695 GB, free: 36.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008965/7.115, allocations: 0.8221 MB / 3.695 GB, free: 35.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/7.116, allocations: 358.9 kB / 3.696 GB, free: 35.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/7.118, allocations: 1.858 MB / 3.698 GB, free: 33.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/7.119, allocations: 1.181 MB / 3.699 GB, free: 32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005854/7.12, allocations: 346.1 kB / 3.699 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/7.12, allocations: 55.44 kB / 3.699 GB, free: 31.62 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/7.12, allocations: 0 / 3.699 GB, free: 31.62 MB / 0.5417 GB Notification: Performance of Templates: time 0.3256/7.445, allocations: 44.48 MB / 3.743 GB, free: 93.67 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