Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 242.1 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.0008269, allocations: 93.73 kB / 293.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3535/0.3535, allocations: 44.14 MB / 388.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 16 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3733, allocations: 61.89 MB / 0.5107 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.401/6.775, allocations: 2.77 GB / 3.281 GB, free: 88.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/6.775, allocations: 89.77 kB / 3.281 GB, free: 88.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.554/8.329, allocations: 346.2 MB / 3.619 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.605e-06/8.329, allocations: 0 / 3.619 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.037e-05/8.329, allocations: 16.3 kB / 3.619 GB, free: 63.3 MB / 0.5261 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.009489/8.338, allocations: 1.713 MB / 3.621 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/8.338, allocations: 15.92 kB / 3.621 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/8.343, allocations: 439 kB / 3.621 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/8.344, allocations: 0.5731 MB / 3.622 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/8.345, allocations: 114.4 kB / 3.622 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/8.345, allocations: 62.59 kB / 3.622 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/8.349, allocations: 1.168 MB / 3.623 GB, free: 61.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/8.349, allocations: 0.9688 kB / 3.623 GB, free: 61.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/8.349, allocations: 30 kB / 3.623 GB, free: 61.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-05/8.349, allocations: 38.89 kB / 3.623 GB, free: 61.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/8.352, allocations: 1.076 MB / 3.624 GB, free: 61.96 MB / 0.5261 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.00809/8.36, allocations: 5.004 MB / 3.629 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/8.363, allocations: 0.9416 MB / 3.63 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008495/8.364, allocations: 394.8 kB / 3.631 GB, free: 59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04244/8.406, allocations: 24.09 MB / 3.654 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/8.406, allocations: 37.09 kB / 3.654 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.856e-06/8.406, allocations: 0 / 3.654 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.007026/8.413, allocations: 2.055 MB / 3.656 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/8.413, allocations: 110.5 kB / 3.656 GB, free: 43.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009347/8.414, allocations: 0.5859 MB / 3.657 GB, free: 43.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/8.415, allocations: 36.92 kB / 3.657 GB, free: 43.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/8.415, allocations: 320.5 kB / 3.657 GB, free: 43.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/8.415, allocations: 161 kB / 3.657 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/8.415, allocations: 12.69 kB / 3.657 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001307/8.415, allocations: 370.7 kB / 3.658 GB, free: 43.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/8.416, allocations: 330.9 kB / 3.658 GB, free: 43.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007487/8.417, allocations: 0.4907 MB / 3.658 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/8.418, allocations: 0.7537 MB / 3.659 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/8.418, allocations: 0 / 3.659 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002525/8.421, allocations: 1.077 MB / 3.66 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/8.421, allocations: 10.94 kB / 3.66 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/8.421, allocations: 3.875 kB / 3.66 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/8.422, allocations: 421.8 kB / 3.661 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/8.422, allocations: 123.4 kB / 3.661 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/8.424, allocations: 1.646 MB / 3.662 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/8.425, allocations: 117.3 kB / 3.662 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/8.425, allocations: 29.73 kB / 3.662 GB, free: 41.62 MB / 0.5261 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.0006452/8.426, allocations: 231.5 kB / 3.663 GB, free: 41.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/8.426, allocations: 65.41 kB / 3.663 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005126/8.431, allocations: 3.312 MB / 3.666 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-05/8.432, allocations: 41.45 kB / 3.666 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/8.432, allocations: 3.938 kB / 3.666 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/8.432, allocations: 9.266 kB / 3.666 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/8.434, allocations: 1.556 MB / 3.668 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/8.434, allocations: 3.891 kB / 3.668 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/8.434, allocations: 90.55 kB / 3.668 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/8.436, allocations: 0.8922 MB / 3.669 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/8.436, allocations: 17.28 kB / 3.669 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/8.438, allocations: 2.29 MB / 3.671 GB, free: 39.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/8.438, allocations: 9.422 kB / 3.671 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/8.441, allocations: 2.297 MB / 3.673 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006556/8.442, allocations: 355.3 kB / 3.673 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/8.442, allocations: 15.75 kB / 3.673 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007295/8.443, allocations: 67.31 kB / 3.673 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/8.443, allocations: 71.64 kB / 3.674 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/8.443, allocations: 22.08 kB / 3.674 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007624/8.444, allocations: 0.5069 MB / 3.674 GB, free: 38.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/8.444, allocations: 0 / 3.674 GB, free: 38.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006242/8.45, allocations: 1.211 MB / 3.675 GB, free: 38.39 MB / 0.5261 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.009683/8.46, allocations: 1.62 MB / 3.677 GB, free: 38.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002756/8.463, allocations: 1.143 MB / 3.678 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/8.463, allocations: 0 / 3.678 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/8.464, allocations: 0.8851 MB / 3.679 GB, free: 37.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/8.466, allocations: 354.5 kB / 3.679 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/8.471, allocations: 2.994 MB / 3.682 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007749/8.472, allocations: 1.152 MB / 3.683 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009096/8.473, allocations: 360.3 kB / 3.684 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/8.473, allocations: 56.34 kB / 3.684 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/8.473, allocations: 0 / 3.684 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.06385/8.537, allocations: 45.41 MB / 3.728 GB, free: 32.25 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches