Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002065/0.002065, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 93 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2998/0.2998, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.61e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4196, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.099/8.519, allocations: 2.764 GB / 3.23 GB, free: 25.86 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003759/8.519, allocations: 93.81 kB / 3.23 GB, free: 25.82 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.934/10.45, allocations: 353.1 MB / 3.575 GB, free: 61.34 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.585e-06/10.45, allocations: 0 / 3.575 GB, free: 61.34 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001001/10.45, allocations: 11.56 kB / 3.575 GB, free: 61.34 MB / 0.4952 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.01073/10.46, allocations: 1.652 MB / 3.576 GB, free: 60.34 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/10.46, allocations: 9.406 kB / 3.576 GB, free: 60.34 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009047/10.47, allocations: 441.5 kB / 3.577 GB, free: 60.29 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/10.48, allocations: 0.5622 MB / 3.577 GB, free: 59.92 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/10.48, allocations: 96.34 kB / 3.577 GB, free: 59.85 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/10.48, allocations: 30.62 kB / 3.577 GB, free: 59.85 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003005/10.48, allocations: 0.7347 MB / 3.578 GB, free: 59.6 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/10.48, allocations: 0.8283 MB / 3.579 GB, free: 59.2 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/10.48, allocations: 0 / 3.579 GB, free: 59.2 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/10.48, allocations: 3.219 kB / 3.579 GB, free: 59.2 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.964e-05/10.48, allocations: 38.56 kB / 3.579 GB, free: 59.19 MB / 0.4952 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.149/10.63, allocations: 44.52 MB / 3.622 GB, free: 16.99 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/10.63, allocations: 0.5894 MB / 3.623 GB, free: 16.39 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/10.63, allocations: 293.4 kB / 3.623 GB, free: 16.11 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05401/10.69, allocations: 16.56 MB / 3.64 GB, free: 13.55 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/10.69, allocations: 42.56 kB / 3.64 GB, free: 13.5 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=43): time 4.258e-06/10.69, allocations: 0 / 3.64 GB, free: 13.5 MB / 0.5108 GB Notification: Performance of matching and sorting (n=43): time 0.00881/10.7, allocations: 1.24 MB / 3.641 GB, free: 12.25 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/10.7, allocations: 106.8 kB / 3.641 GB, free: 12.12 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/10.7, allocations: 389.1 kB / 3.641 GB, free: 11.73 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/10.7, allocations: 25.7 kB / 3.641 GB, free: 11.7 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/10.7, allocations: 389.8 kB / 3.642 GB, free: 11.32 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/10.7, allocations: 145.9 kB / 3.642 GB, free: 11.17 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/10.7, allocations: 4 kB / 3.642 GB, free: 11.17 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0002324/10.7, allocations: 334.8 kB / 3.642 GB, free: 10.83 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000976/10.7, allocations: 265.4 kB / 3.642 GB, free: 10.57 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/10.7, allocations: 421.4 kB / 3.643 GB, free: 10.09 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004507/10.71, allocations: 0.5355 MB / 3.643 GB, free: 9.562 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/10.71, allocations: 0 / 3.643 GB, free: 9.562 MB / 0.5108 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.007041/10.71, allocations: 1.118 MB / 3.644 GB, free: 8.43 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/10.71, allocations: 8 kB / 3.644 GB, free: 8.422 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/10.71, allocations: 11.95 kB / 3.644 GB, free: 8.41 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/10.72, allocations: 386.2 kB / 3.645 GB, free: 8.039 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/10.72, allocations: 127.8 kB / 3.645 GB, free: 7.914 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/10.72, allocations: 1.76 MB / 3.647 GB, free: 6.102 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/10.72, allocations: 107.4 kB / 3.647 GB, free: 5.996 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/10.72, allocations: 27.98 kB / 3.647 GB, free: 5.969 MB / 0.5108 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.0003687/10.72, allocations: 131.6 kB / 3.647 GB, free: 5.836 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/10.72, allocations: 47.44 kB / 3.647 GB, free: 5.789 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008834/10.73, allocations: 3.112 MB / 3.65 GB, free: 2.66 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.157e-05/10.73, allocations: 39.89 kB / 3.65 GB, free: 2.621 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/10.73, allocations: 0 / 3.65 GB, free: 2.621 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/10.73, allocations: 3.984 kB / 3.65 GB, free: 2.617 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/10.74, allocations: 1.227 MB / 3.651 GB, free: 1.363 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/10.74, allocations: 3.984 kB / 3.651 GB, free: 1.359 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/10.74, allocations: 71.91 kB / 3.651 GB, free: 1.289 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/10.74, allocations: 1.016 MB / 3.652 GB, free: 284 kB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/10.74, allocations: 7.984 kB / 3.652 GB, free: 276 kB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3767/11.12, allocations: 2.62 MB / 3.655 GB, free: 85.44 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/11.12, allocations: 7.219 kB / 3.655 GB, free: 85.44 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006747/11.12, allocations: 2.422 MB / 3.657 GB, free: 85.22 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006964/11.12, allocations: 286.9 kB / 3.657 GB, free: 85.09 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/11.12, allocations: 3.609 kB / 3.657 GB, free: 85.09 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/11.13, allocations: 64.23 kB / 3.658 GB, free: 85.09 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/11.13, allocations: 56.83 kB / 3.658 GB, free: 85.09 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/11.13, allocations: 22.66 kB / 3.658 GB, free: 85.09 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0005427/11.13, allocations: 352.6 kB / 3.658 GB, free: 85 MB / 0.5108 GB Notification: Performance of sort global known variables: time 5.61e-07/11.13, allocations: 3.5 kB / 3.658 GB, free: 85 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006202/11.13, allocations: 1.175 MB / 3.659 GB, free: 84.99 MB / 0.5108 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.01122/11.14, allocations: 1.673 MB / 3.661 GB, free: 84.88 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002819/11.15, allocations: 0.9277 MB / 3.662 GB, free: 84.86 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/11.15, allocations: 4.188 kB / 3.662 GB, free: 84.86 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/11.15, allocations: 0.7037 MB / 3.662 GB, free: 84.86 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/11.15, allocations: 267.8 kB / 3.663 GB, free: 84.86 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/11.15, allocations: 1.632 MB / 3.664 GB, free: 84.49 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/11.16, allocations: 1.119 MB / 3.665 GB, free: 83.79 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/11.16, allocations: 56.5 kB / 3.665 GB, free: 83.78 MB / 0.5108 GB Notification: Performance of SimCode: time 1.292e-06/11.16, allocations: 0 / 3.665 GB, free: 83.78 MB / 0.5108 GB Notification: Performance of Templates: time 0.08785/11.24, allocations: 40.09 MB / 3.704 GB, free: 81.89 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches