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.001087/0.001088, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.5/1.5, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001016/0.001016, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2093/0.2093, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.000402, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.045/7.195, allocations: 2.765 GB / 3.243 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/7.196, allocations: 85.08 kB / 3.243 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.623/8.818, allocations: 358 MB / 3.593 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.877e-06/8.818, allocations: 0.7656 kB / 3.593 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.78e-05/8.818, allocations: 20.02 kB / 3.593 GB, free: 66.79 MB / 0.5105 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.009162/8.828, allocations: 1.718 MB / 3.595 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/8.828, allocations: 7.594 kB / 3.595 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004263/8.832, allocations: 440.2 kB / 3.595 GB, free: 66.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/8.834, allocations: 0.5715 MB / 3.596 GB, free: 65.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/8.834, allocations: 110.1 kB / 3.596 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-05/8.834, allocations: 52.72 kB / 3.596 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/8.837, allocations: 1.156 MB / 3.597 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/8.837, allocations: 10 kB / 3.597 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/8.837, allocations: 29.11 kB / 3.597 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-05/8.837, allocations: 40.06 kB / 3.597 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/8.84, allocations: 1.075 MB / 3.598 GB, free: 65.67 MB / 0.5105 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.008763/8.849, allocations: 4.998 MB / 3.603 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/8.852, allocations: 0.9497 MB / 3.604 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05774/8.91, allocations: 24.08 MB / 3.628 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.123e-05/8.91, allocations: 43.75 kB / 3.628 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 5.11e-06/8.91, allocations: 0 / 3.628 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.008154/8.918, allocations: 2.054 MB / 3.63 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/8.918, allocations: 107.2 kB / 3.63 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/8.919, allocations: 0.5241 MB / 3.63 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/8.919, allocations: 36.73 kB / 3.63 GB, free: 47.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/8.92, allocations: 319.5 kB / 3.631 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/8.92, allocations: 161.5 kB / 3.631 GB, free: 47.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/8.92, allocations: 7.875 kB / 3.631 GB, free: 47.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001527/8.92, allocations: 372.6 kB / 3.631 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/8.921, allocations: 331.4 kB / 3.631 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/8.922, allocations: 498.8 kB / 3.632 GB, free: 46.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007829/8.922, allocations: 358.4 kB / 3.632 GB, free: 46.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/8.922, allocations: 3.688 kB / 3.632 GB, free: 46.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002394/8.925, allocations: 1.069 MB / 3.633 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/8.925, allocations: 7.875 kB / 3.633 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/8.925, allocations: 11.8 kB / 3.633 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/8.926, allocations: 423.6 kB / 3.634 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/8.927, allocations: 126.2 kB / 3.634 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/8.929, allocations: 1.633 MB / 3.635 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/8.93, allocations: 122.8 kB / 3.635 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/8.93, allocations: 37.69 kB / 3.636 GB, free: 45.61 MB / 0.5105 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.0005532/8.93, allocations: 232.4 kB / 3.636 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/8.931, allocations: 64.22 kB / 3.636 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/8.936, allocations: 3.316 MB / 3.639 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/8.936, allocations: 42.38 kB / 3.639 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/8.936, allocations: 4.641 kB / 3.639 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/8.936, allocations: 3.609 kB / 3.639 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/8.939, allocations: 1.551 MB / 3.641 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/8.939, allocations: 7.141 kB / 3.641 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/8.94, allocations: 89.3 kB / 3.641 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/8.941, allocations: 0.8985 MB / 3.642 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-05/8.942, allocations: 16.78 kB / 3.642 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/8.945, allocations: 2.289 MB / 3.644 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/8.945, allocations: 0 / 3.644 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/8.949, allocations: 2.305 MB / 3.646 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009713/8.95, allocations: 355.7 kB / 3.646 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/8.95, allocations: 10.88 kB / 3.646 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/8.951, allocations: 66.45 kB / 3.646 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/8.951, allocations: 65.77 kB / 3.647 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/8.951, allocations: 25.81 kB / 3.647 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00094/8.952, allocations: 0.5083 MB / 3.647 GB, free: 43.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/8.952, allocations: 0 / 3.647 GB, free: 43.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007628/8.96, allocations: 1.211 MB / 3.648 GB, free: 42.95 MB / 0.5105 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.0104/8.97, allocations: 1.615 MB / 3.65 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00298/8.973, allocations: 1.138 MB / 3.651 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/8.973, allocations: 6.656 kB / 3.651 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/8.975, allocations: 0.8847 MB / 3.652 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/8.977, allocations: 344.4 kB / 3.652 GB, free: 42.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/8.983, allocations: 2.995 MB / 3.655 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009388/8.984, allocations: 1.18 MB / 3.656 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001031/8.985, allocations: 348.6 kB / 3.657 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/8.985, allocations: 60.48 kB / 3.657 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.663e-06/8.985, allocations: 0 / 3.657 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.06646/9.051, allocations: 43.05 MB / 3.699 GB, free: 38.48 MB / 0.5105 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/jenkins/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