Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001076/0.001076, allocations: 172.3 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008206/0.0008205, allocations: 85.09 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3484/0.3484, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003651, allocations: 16 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.354/6.479, allocations: 2.765 GB / 3.245 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/6.479, allocations: 85.7 kB / 3.245 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.427/7.906, allocations: 342.6 MB / 3.58 GB, free: 50.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.867e-06/7.906, allocations: 0 / 3.58 GB, free: 50.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.161e-05/7.906, allocations: 14.34 kB / 3.58 GB, free: 50.63 MB / 0.4948 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.008614/7.915, allocations: 1.714 MB / 3.581 GB, free: 49.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/7.915, allocations: 10.81 kB / 3.581 GB, free: 49.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004027/7.919, allocations: 442.4 kB / 3.582 GB, free: 49.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/7.921, allocations: 0.5725 MB / 3.582 GB, free: 49.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/7.921, allocations: 114.3 kB / 3.582 GB, free: 49.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/7.921, allocations: 55.12 kB / 3.582 GB, free: 49.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/7.925, allocations: 1.175 MB / 3.584 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/7.925, allocations: 3.375 kB / 3.584 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/7.925, allocations: 26.91 kB / 3.584 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.427e-05/7.925, allocations: 34.23 kB / 3.584 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/7.928, allocations: 1.077 MB / 3.585 GB, free: 49.38 MB / 0.4948 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.007246/7.935, allocations: 5.007 MB / 3.59 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/7.937, allocations: 0.9504 MB / 3.59 GB, free: 46.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/7.938, allocations: 389.9 kB / 3.591 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04767/7.986, allocations: 24.07 MB / 3.614 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/7.986, allocations: 42.95 kB / 3.614 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 3.777e-06/7.986, allocations: 1.312 kB / 3.614 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.007481/7.993, allocations: 2.049 MB / 3.616 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/7.994, allocations: 109.7 kB / 3.617 GB, free: 31.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/7.995, allocations: 0.5925 MB / 3.617 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/7.995, allocations: 33.48 kB / 3.617 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/7.995, allocations: 326.2 kB / 3.617 GB, free: 31.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/7.995, allocations: 152.4 kB / 3.618 GB, free: 30.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/7.995, allocations: 14.62 kB / 3.618 GB, free: 30.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001483/7.995, allocations: 370.1 kB / 3.618 GB, free: 30.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/7.996, allocations: 332.6 kB / 3.618 GB, free: 30.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/7.997, allocations: 0.4911 MB / 3.619 GB, free: 30.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/7.998, allocations: 0.7552 MB / 3.619 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/7.998, allocations: 0 / 3.619 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002551/8.001, allocations: 1.069 MB / 3.621 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/8.001, allocations: 16.33 kB / 3.621 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/8.001, allocations: 3.812 kB / 3.621 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/8.002, allocations: 438.3 kB / 3.621 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/8.003, allocations: 126 kB / 3.621 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/8.005, allocations: 1.631 MB / 3.623 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/8.006, allocations: 115.9 kB / 3.623 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/8.006, allocations: 32.62 kB / 3.623 GB, free: 29.05 MB / 0.4948 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.0007147/8.007, allocations: 232.1 kB / 3.623 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/8.007, allocations: 64 kB / 3.623 GB, free: 28.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/8.012, allocations: 3.313 MB / 3.626 GB, free: 28.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/8.012, allocations: 43.22 kB / 3.626 GB, free: 28.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/8.012, allocations: 0 / 3.626 GB, free: 28.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/8.012, allocations: 3.516 kB / 3.626 GB, free: 28.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/8.015, allocations: 1.56 MB / 3.628 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/8.015, allocations: 7.766 kB / 3.628 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/8.015, allocations: 87.67 kB / 3.628 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/8.017, allocations: 0.9095 MB / 3.629 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/8.017, allocations: 12.27 kB / 3.629 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/8.019, allocations: 2.283 MB / 3.631 GB, free: 27.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/8.019, allocations: 3.938 kB / 3.631 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/8.023, allocations: 2.294 MB / 3.633 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/8.023, allocations: 361.5 kB / 3.634 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/8.024, allocations: 10.81 kB / 3.634 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007386/8.024, allocations: 70.77 kB / 3.634 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/8.025, allocations: 68.67 kB / 3.634 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/8.025, allocations: 21.7 kB / 3.634 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008241/8.026, allocations: 0.5056 MB / 3.634 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/8.026, allocations: 3.938 kB / 3.634 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00668/8.032, allocations: 1.214 MB / 3.636 GB, free: 26.38 MB / 0.4948 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.01271/8.045, allocations: 1.606 MB / 3.637 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003428/8.048, allocations: 1.142 MB / 3.638 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/8.049, allocations: 0 / 3.638 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/8.05, allocations: 0.889 MB / 3.639 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/8.053, allocations: 364.2 kB / 3.639 GB, free: 26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/8.057, allocations: 2.988 MB / 3.642 GB, free: 24.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/8.058, allocations: 1.157 MB / 3.644 GB, free: 24.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009685/8.059, allocations: 350.8 kB / 3.644 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/8.059, allocations: 50.25 kB / 3.644 GB, free: 24 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/8.059, allocations: 3.469 kB / 3.644 GB, free: 24 MB / 0.4948 GB Notification: Performance of Templates: time 0.06792/8.127, allocations: 45.4 MB / 3.688 GB, free: 21.26 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches