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.001133/0.001133, allocations: 198.6 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.2 MB / 245 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000872/0.000872, allocations: 104.4 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3359/0.3359, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3381, allocations: 63.24 MB / 0.5192 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.821/6.159, allocations: 2.771 GB / 3.29 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/6.159, allocations: 91.88 kB / 3.29 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.154/7.314, allocations: 361.9 MB / 3.644 GB, free: 69.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.924e-06/7.314, allocations: 0 / 3.644 GB, free: 69.86 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.549e-05/7.314, allocations: 11.78 kB / 3.644 GB, free: 69.86 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.009251/7.323, allocations: 1.724 MB / 3.645 GB, free: 68.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/7.323, allocations: 11.59 kB / 3.645 GB, free: 68.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/7.327, allocations: 438.1 kB / 3.646 GB, free: 68.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/7.329, allocations: 0.5554 MB / 3.646 GB, free: 68.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/7.329, allocations: 120.2 kB / 3.646 GB, free: 68.31 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/7.329, allocations: 55.12 kB / 3.647 GB, free: 68.29 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003033/7.332, allocations: 1.159 MB / 3.648 GB, free: 67.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/7.332, allocations: 7.625 kB / 3.648 GB, free: 67.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/7.332, allocations: 30.34 kB / 3.648 GB, free: 67.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/7.332, allocations: 31.72 kB / 3.648 GB, free: 67.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/7.335, allocations: 1.075 MB / 3.649 GB, free: 67.52 MB / 0.5417 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.006598/7.342, allocations: 5.01 MB / 3.654 GB, free: 63.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/7.344, allocations: 0.952 MB / 3.655 GB, free: 63.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04272/7.387, allocations: 26.64 MB / 3.681 GB, free: 35.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/7.387, allocations: 43 kB / 3.681 GB, free: 35.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.404e-06/7.387, allocations: 0 / 3.681 GB, free: 35.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.006529/7.394, allocations: 2.052 MB / 3.683 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/7.394, allocations: 107.2 kB / 3.683 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/7.394, allocations: 0.5254 MB / 3.683 GB, free: 33.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/7.395, allocations: 29.7 kB / 3.683 GB, free: 33.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/7.395, allocations: 322.7 kB / 3.684 GB, free: 32.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/7.395, allocations: 156.7 kB / 3.684 GB, free: 32.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/7.395, allocations: 12 kB / 3.684 GB, free: 32.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001042/7.395, allocations: 374.8 kB / 3.684 GB, free: 32.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/7.396, allocations: 329.1 kB / 3.684 GB, free: 31.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/7.396, allocations: 0.4943 MB / 3.685 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/7.397, allocations: 352.6 kB / 3.685 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/7.397, allocations: 0 / 3.685 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002041/7.399, allocations: 1.074 MB / 3.686 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/7.399, allocations: 11.95 kB / 3.686 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/7.399, allocations: 4 kB / 3.686 GB, free: 29.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/7.4, allocations: 432.9 kB / 3.687 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/7.401, allocations: 119.8 kB / 3.687 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/7.402, allocations: 1.632 MB / 3.688 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/7.403, allocations: 119.1 kB / 3.689 GB, free: 27.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/7.403, allocations: 35.98 kB / 3.689 GB, free: 27.55 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 () * Number of clocked 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.0003826/7.403, allocations: 225.6 kB / 3.689 GB, free: 27.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/7.404, allocations: 67.19 kB / 3.689 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/7.407, allocations: 3.303 MB / 3.692 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/7.407, allocations: 47.88 kB / 3.692 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/7.407, allocations: 3.938 kB / 3.692 GB, free: 23.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/7.407, allocations: 15.98 kB / 3.692 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/7.409, allocations: 1.555 MB / 3.694 GB, free: 22.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/7.409, allocations: 3.938 kB / 3.694 GB, free: 22.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/7.409, allocations: 87.94 kB / 3.694 GB, free: 22.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/7.411, allocations: 0.8931 MB / 3.695 GB, free: 21.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/7.411, allocations: 15.98 kB / 3.695 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/7.413, allocations: 2.287 MB / 3.697 GB, free: 18.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/7.413, allocations: 8.094 kB / 3.697 GB, free: 18.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/7.415, allocations: 2.3 MB / 3.699 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006209/7.416, allocations: 358.6 kB / 3.699 GB, free: 16.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/7.416, allocations: 8 kB / 3.699 GB, free: 16.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/7.417, allocations: 71.88 kB / 3.7 GB, free: 16.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/7.417, allocations: 64.45 kB / 3.7 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/7.417, allocations: 23.98 kB / 3.7 GB, free: 16.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000649/7.418, allocations: 0.5107 MB / 3.7 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.41e-07/7.418, allocations: 0 / 3.7 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006445/7.424, allocations: 1.217 MB / 3.701 GB, free: 14.34 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 () * Number of clocked 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.0103/7.435, allocations: 1.634 MB / 3.703 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002607/7.437, allocations: 1.138 MB / 3.704 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/7.437, allocations: 7.938 kB / 3.704 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/7.439, allocations: 0.8812 MB / 3.705 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/7.441, allocations: 349.6 kB / 3.705 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/7.445, allocations: 2.979 MB / 3.708 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/7.445, allocations: 1.177 MB / 3.709 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008116/7.446, allocations: 350.7 kB / 3.71 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/7.446, allocations: 59.42 kB / 3.71 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of SimCode: time 1.543e-06/7.446, allocations: 0 / 3.71 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.4192/7.866, allocations: 43.12 MB / 3.752 GB, free: 78.28 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