Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 193.7 kB / 16.78 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.5 MB / 244.1 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008491/0.000849, allocations: 91.14 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4038/0.4038, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3959, allocations: 62.96 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.981/6.377, allocations: 2.771 GB / 3.288 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/6.377, allocations: 91.59 kB / 3.288 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.072/7.449, allocations: 346.4 MB / 3.626 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.655e-06/7.449, allocations: 0 / 3.626 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.178e-05/7.449, allocations: 19.75 kB / 3.626 GB, free: 75.42 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.006694/7.456, allocations: 1.712 MB / 3.628 GB, free: 74.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/7.456, allocations: 10.97 kB / 3.628 GB, free: 74.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/7.459, allocations: 433.5 kB / 3.628 GB, free: 74.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/7.46, allocations: 0.5818 MB / 3.629 GB, free: 73.97 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/7.46, allocations: 114.5 kB / 3.629 GB, free: 73.89 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/7.46, allocations: 61.69 kB / 3.629 GB, free: 73.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/7.463, allocations: 1.172 MB / 3.63 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/7.463, allocations: 0 / 3.63 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/7.463, allocations: 23.66 kB / 3.63 GB, free: 73.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.972e-05/7.463, allocations: 36.33 kB / 3.63 GB, free: 73.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/7.465, allocations: 1.076 MB / 3.631 GB, free: 73.08 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.005686/7.471, allocations: 5 MB / 3.636 GB, free: 69.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/7.473, allocations: 0.9562 MB / 3.637 GB, free: 69.16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/7.474, allocations: 389.5 kB / 3.637 GB, free: 69.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04155/7.516, allocations: 26.64 MB / 3.663 GB, free: 48.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/7.516, allocations: 50.88 kB / 3.663 GB, free: 48.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.735e-06/7.516, allocations: 0 / 3.663 GB, free: 48.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.006691/7.523, allocations: 2.052 MB / 3.665 GB, free: 46.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/7.523, allocations: 111.2 kB / 3.665 GB, free: 46.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008839/7.524, allocations: 0.5925 MB / 3.666 GB, free: 45.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-05/7.524, allocations: 29.7 kB / 3.666 GB, free: 45.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/7.524, allocations: 318.8 kB / 3.666 GB, free: 45.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/7.524, allocations: 156 kB / 3.667 GB, free: 45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/7.524, allocations: 12 kB / 3.667 GB, free: 44.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001119/7.524, allocations: 382.8 kB / 3.667 GB, free: 44.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/7.525, allocations: 325.1 kB / 3.667 GB, free: 44.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007057/7.526, allocations: 497.6 kB / 3.668 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/7.527, allocations: 0.7591 MB / 3.668 GB, free: 42.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/7.527, allocations: 0 / 3.668 GB, free: 42.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002125/7.529, allocations: 1.074 MB / 3.669 GB, free: 41.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/7.529, allocations: 7.938 kB / 3.669 GB, free: 41.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/7.529, allocations: 11.94 kB / 3.67 GB, free: 41.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/7.53, allocations: 425.1 kB / 3.67 GB, free: 41.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/7.531, allocations: 127.8 kB / 3.67 GB, free: 41.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/7.532, allocations: 1.637 MB / 3.672 GB, free: 39.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/7.533, allocations: 115.3 kB / 3.672 GB, free: 39.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/7.533, allocations: 28 kB / 3.672 GB, free: 39.45 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.000387/7.533, allocations: 238.1 kB / 3.672 GB, free: 39.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/7.534, allocations: 63.25 kB / 3.672 GB, free: 39.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/7.537, allocations: 3.311 MB / 3.675 GB, free: 35.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/7.537, allocations: 43.92 kB / 3.675 GB, free: 35.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/7.537, allocations: 4 kB / 3.675 GB, free: 35.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/7.537, allocations: 0 / 3.675 GB, free: 35.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/7.539, allocations: 1.554 MB / 3.677 GB, free: 34.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/7.539, allocations: 0 / 3.677 GB, free: 34.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/7.539, allocations: 91.88 kB / 3.677 GB, free: 34.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/7.541, allocations: 0.8968 MB / 3.678 GB, free: 33.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/7.541, allocations: 19.98 kB / 3.678 GB, free: 33.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/7.543, allocations: 2.291 MB / 3.68 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/7.543, allocations: 3.938 kB / 3.68 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/7.545, allocations: 2.296 MB / 3.682 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/7.546, allocations: 362.6 kB / 3.683 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/7.546, allocations: 16 kB / 3.683 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/7.547, allocations: 71.88 kB / 3.683 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/7.547, allocations: 60.47 kB / 3.683 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/7.547, allocations: 19.98 kB / 3.683 GB, free: 27.95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005776/7.548, allocations: 0.5107 MB / 3.683 GB, free: 27.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/7.548, allocations: 4 kB / 3.683 GB, free: 27.44 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005718/7.553, allocations: 1.22 MB / 3.685 GB, free: 26.22 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.009741/7.563, allocations: 1.625 MB / 3.686 GB, free: 24.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00264/7.566, allocations: 1.146 MB / 3.687 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/7.566, allocations: 256 / 3.687 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/7.567, allocations: 0.8768 MB / 3.688 GB, free: 22.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/7.57, allocations: 363.6 kB / 3.688 GB, free: 22.44 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/7.575, allocations: 3.034 MB / 3.691 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008738/7.576, allocations: 1.158 MB / 3.693 GB, free: 18.19 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/7.576, allocations: 59.44 kB / 3.693 GB, free: 18.13 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/7.576, allocations: 0 / 3.693 GB, free: 18.13 MB / 0.5417 GB Notification: Performance of Templates: time 0.4009/7.977, allocations: 40.06 MB / 3.732 GB, free: 74.65 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches