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.001184/0.001184, allocations: 196.6 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 226.5 MB / 245.4 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007862/0.0007862, allocations: 112.2 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3439/0.3439, allocations: 44.83 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002912, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3893, allocations: 62.96 MB / 0.5184 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.309/7.699, allocations: 2.771 GB / 3.29 GB, free: 159 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/7.699, allocations: 89.86 kB / 3.29 GB, free: 159 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.36/9.059, allocations: 346.4 MB / 3.628 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.096e-06/9.059, allocations: 3.938 kB / 3.628 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.723e-05/9.059, allocations: 15.81 kB / 3.628 GB, free: 75.82 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.009789/9.069, allocations: 1.716 MB / 3.63 GB, free: 74.81 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/9.069, allocations: 13.03 kB / 3.63 GB, free: 74.81 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/9.073, allocations: 435 kB / 3.63 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/9.075, allocations: 0.5821 MB / 3.631 GB, free: 74.37 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/9.076, allocations: 112.6 kB / 3.631 GB, free: 74.28 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/9.076, allocations: 58.28 kB / 3.631 GB, free: 74.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/9.08, allocations: 1.168 MB / 3.632 GB, free: 73.79 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/9.08, allocations: 3.938 kB / 3.632 GB, free: 73.79 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/9.08, allocations: 29.69 kB / 3.632 GB, free: 73.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/9.08, allocations: 34.97 kB / 3.632 GB, free: 73.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/9.083, allocations: 1.074 MB / 3.633 GB, free: 73.48 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.008534/9.091, allocations: 5.002 MB / 3.638 GB, free: 69.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/9.094, allocations: 0.9534 MB / 3.639 GB, free: 69.55 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/9.095, allocations: 391.2 kB / 3.639 GB, free: 69.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05436/9.149, allocations: 26.65 MB / 3.665 GB, free: 49.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/9.149, allocations: 43 kB / 3.665 GB, free: 49.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 5.501e-06/9.15, allocations: 0 / 3.665 GB, free: 49.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.007711/9.157, allocations: 2.051 MB / 3.667 GB, free: 47.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/9.157, allocations: 111.2 kB / 3.667 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/9.159, allocations: 0.5886 MB / 3.668 GB, free: 46.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/9.159, allocations: 33.7 kB / 3.668 GB, free: 46.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/9.159, allocations: 315.7 kB / 3.668 GB, free: 45.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/9.159, allocations: 160.6 kB / 3.668 GB, free: 45.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/9.159, allocations: 12 kB / 3.668 GB, free: 45.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001932/9.16, allocations: 378.8 kB / 3.669 GB, free: 45.42 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007522/9.16, allocations: 329.1 kB / 3.669 GB, free: 45.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008463/9.161, allocations: 0.4898 MB / 3.67 GB, free: 44.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/9.163, allocations: 0.7591 MB / 3.67 GB, free: 43.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/9.163, allocations: 0 / 3.67 GB, free: 43.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002495/9.165, allocations: 1.067 MB / 3.671 GB, free: 42.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.449e-05/9.165, allocations: 19.92 kB / 3.671 GB, free: 42.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/9.165, allocations: 8 kB / 3.671 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/9.167, allocations: 427 kB / 3.672 GB, free: 42.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/9.167, allocations: 127.8 kB / 3.672 GB, free: 42.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/9.169, allocations: 1.631 MB / 3.674 GB, free: 40.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/9.17, allocations: 119.3 kB / 3.674 GB, free: 40.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-05/9.17, allocations: 24 kB / 3.674 GB, free: 40.25 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.0006151/9.171, allocations: 234.5 kB / 3.674 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/9.171, allocations: 63.25 kB / 3.674 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/9.176, allocations: 3.308 MB / 3.677 GB, free: 36.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-05/9.176, allocations: 51.86 kB / 3.677 GB, free: 36.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/9.176, allocations: 0 / 3.677 GB, free: 36.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/9.176, allocations: 0 / 3.677 GB, free: 36.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/9.178, allocations: 1.557 MB / 3.679 GB, free: 34.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/9.178, allocations: 0 / 3.679 GB, free: 34.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/9.178, allocations: 95.88 kB / 3.679 GB, free: 34.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/9.18, allocations: 0.9005 MB / 3.68 GB, free: 33.99 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/9.18, allocations: 15.98 kB / 3.68 GB, free: 33.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/9.183, allocations: 2.287 MB / 3.682 GB, free: 31.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/9.183, allocations: 3.938 kB / 3.682 GB, free: 31.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/9.186, allocations: 2.3 MB / 3.684 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007231/9.187, allocations: 354.6 kB / 3.685 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/9.187, allocations: 15.98 kB / 3.685 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/9.188, allocations: 67.89 kB / 3.685 GB, free: 28.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/9.188, allocations: 64.45 kB / 3.685 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/9.188, allocations: 23.98 kB / 3.685 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000803/9.189, allocations: 0.5107 MB / 3.685 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/9.189, allocations: 4 kB / 3.685 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008564/9.197, allocations: 1.221 MB / 3.686 GB, free: 27.02 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.01456/9.212, allocations: 1.624 MB / 3.688 GB, free: 25.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003468/9.216, allocations: 1.146 MB / 3.689 GB, free: 24.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/9.216, allocations: 0 / 3.689 GB, free: 24.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/9.217, allocations: 0.8848 MB / 3.69 GB, free: 23.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/9.22, allocations: 350.8 kB / 3.69 GB, free: 23.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/9.225, allocations: 2.993 MB / 3.693 GB, free: 20.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008989/9.226, allocations: 1.154 MB / 3.694 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009571/9.227, allocations: 350.7 kB / 3.695 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/9.227, allocations: 59.44 kB / 3.695 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of SimCode: time 1.914e-06/9.227, allocations: 0 / 3.695 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of Templates: time 0.5054/9.733, allocations: 45.48 MB / 3.739 GB, free: 83.22 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/jenkins1/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