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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 198.3 kB / 8.539 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 88.78 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.26/0.26, allocations: 45.15 MB / 383.3 MB, free: 444 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.825e-06, allocations: 4 kB / 452.6 MB, free: 76.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.163, allocations: 63.24 MB / 0.5038 GB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.647/6.81, allocations: 2.77 GB / 3.274 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/6.811, allocations: 84.38 kB / 3.274 GB, free: 143 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.383/8.194, allocations: 357.4 MB / 3.623 GB, free: 66.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.045e-05/8.194, allocations: 14.25 kB / 3.623 GB, free: 66.74 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.007574/8.202, allocations: 1.668 MB / 3.625 GB, free: 66.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/8.202, allocations: 9.219 kB / 3.625 GB, free: 66.17 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/8.206, allocations: 481 kB / 3.625 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/8.207, allocations: 0.5616 MB / 3.626 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/8.207, allocations: 95.53 kB / 3.626 GB, free: 65.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/8.207, allocations: 33.16 kB / 3.626 GB, free: 65.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001294/8.208, allocations: 0.7466 MB / 3.627 GB, free: 65.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/8.21, allocations: 0.8451 MB / 3.627 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/8.21, allocations: 3.094 kB / 3.627 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/8.21, allocations: 11.55 kB / 3.627 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/8.21, allocations: 36.19 kB / 3.627 GB, free: 65.65 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08765/8.297, allocations: 50.12 MB / 3.676 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/8.298, allocations: 0.5891 MB / 3.677 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/8.299, allocations: 308.7 kB / 3.677 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03371/8.333, allocations: 18.97 MB / 3.696 GB, free: 37.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/8.333, allocations: 36.69 kB / 3.696 GB, free: 37.51 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 3.297e-06/8.333, allocations: 0 / 3.696 GB, free: 37.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.004773/8.337, allocations: 1.339 MB / 3.697 GB, free: 37.42 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/8.338, allocations: 111.7 kB / 3.697 GB, free: 37.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005804/8.338, allocations: 394.5 kB / 3.698 GB, free: 37.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/8.338, allocations: 25.7 kB / 3.698 GB, free: 37.15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/8.338, allocations: 292.8 kB / 3.698 GB, free: 36.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/8.339, allocations: 141 kB / 3.698 GB, free: 36.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/8.339, allocations: 0 / 3.698 GB, free: 36.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001541/8.339, allocations: 367.6 kB / 3.698 GB, free: 36.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/8.339, allocations: 323.4 kB / 3.699 GB, free: 36.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/8.34, allocations: 474 kB / 3.699 GB, free: 36.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/8.342, allocations: 0.6044 MB / 3.7 GB, free: 36.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/8.342, allocations: 0 / 3.7 GB, free: 36.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003941/8.346, allocations: 1.544 MB / 3.701 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/8.346, allocations: 7.281 kB / 3.701 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/8.346, allocations: 5.094 kB / 3.701 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008284/8.346, allocations: 426.4 kB / 3.702 GB, free: 36.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/8.347, allocations: 131.8 kB / 3.702 GB, free: 36.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/8.35, allocations: 1.93 MB / 3.704 GB, free: 35.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008879/8.351, allocations: 101.2 kB / 3.704 GB, free: 35.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/8.351, allocations: 35.38 kB / 3.704 GB, free: 35.2 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 () * 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.0002101/8.351, allocations: 127.4 kB / 3.704 GB, free: 35.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007963/8.352, allocations: 279.1 kB / 3.704 GB, free: 35.06 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004004/8.356, allocations: 2.835 MB / 3.707 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/8.356, allocations: 22.52 kB / 3.707 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/8.356, allocations: 4.984 kB / 3.707 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/8.356, allocations: 7.656 kB / 3.707 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/8.36, allocations: 3.653 MB / 3.711 GB, free: 34.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/8.36, allocations: 3.75 kB / 3.711 GB, free: 34.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/8.361, allocations: 69.72 kB / 3.711 GB, free: 34.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/8.362, allocations: 0.7337 MB / 3.711 GB, free: 34.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/8.362, allocations: 10.03 kB / 3.711 GB, free: 34.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/8.365, allocations: 2.334 MB / 3.714 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/8.365, allocations: 7.938 kB / 3.714 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003831/8.368, allocations: 2.38 MB / 3.716 GB, free: 33 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/8.369, allocations: 291.2 kB / 3.716 GB, free: 32.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/8.369, allocations: 0 / 3.716 GB, free: 32.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/8.37, allocations: 53.58 kB / 3.716 GB, free: 32.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/8.37, allocations: 62.97 kB / 3.716 GB, free: 32.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/8.37, allocations: 24.31 kB / 3.716 GB, free: 32.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0005046/8.37, allocations: 369.9 kB / 3.717 GB, free: 32.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007227/8.378, allocations: 1.205 MB / 3.718 GB, free: 32.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.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 (36): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01006/8.388, allocations: 1.754 MB / 3.72 GB, free: 32.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002193/8.39, allocations: 1.218 MB / 3.721 GB, free: 32.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/8.39, allocations: 4 kB / 3.721 GB, free: 32.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/8.391, allocations: 1.006 MB / 3.722 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/8.393, allocations: 255.9 kB / 3.722 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/8.396, allocations: 1.659 MB / 3.724 GB, free: 31.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007458/8.397, allocations: 1.131 MB / 3.725 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of SimCode: time 8.81e-07/8.397, allocations: 3.781 kB / 3.725 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.0612/8.458, allocations: 41.35 MB / 3.765 GB, free: 28.54 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/jenkins/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