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.001482/0.001481, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.91/1.91, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001173/0.001173, allocations: 96.41 kB / 270.9 MB, free: 8.387 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.5026/0.5026, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004769, allocations: 12 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.41/8.537, allocations: 2.765 GB / 3.243 GB, free: 49.43 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/8.538, allocations: 89.98 kB / 3.243 GB, free: 49.38 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.908/10.45, allocations: 358 MB / 3.593 GB, free: 49.87 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.615e-06/10.45, allocations: 3.391 kB / 3.593 GB, free: 49.87 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.226e-05/10.45, allocations: 19.62 kB / 3.593 GB, free: 49.86 MB / 0.4949 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.007777/10.45, allocations: 1.723 MB / 3.595 GB, free: 48.89 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/10.45, allocations: 6.594 kB / 3.595 GB, free: 48.89 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/10.46, allocations: 434.2 kB / 3.595 GB, free: 48.84 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/10.46, allocations: 0.5616 MB / 3.596 GB, free: 48.48 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/10.46, allocations: 115.6 kB / 3.596 GB, free: 48.39 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/10.46, allocations: 54.97 kB / 3.596 GB, free: 48.37 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004017/10.46, allocations: 1.16 MB / 3.597 GB, free: 47.9 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/10.47, allocations: 6.984 kB / 3.597 GB, free: 47.9 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/10.47, allocations: 38.92 kB / 3.597 GB, free: 47.88 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.005e-05/10.47, allocations: 30.39 kB / 3.597 GB, free: 47.88 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004309/10.47, allocations: 1.074 MB / 3.598 GB, free: 47.6 MB / 0.4949 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.009685/10.48, allocations: 4.995 MB / 3.603 GB, free: 43.94 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004281/10.48, allocations: 0.9511 MB / 3.604 GB, free: 43.68 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07301/10.56, allocations: 24.08 MB / 3.628 GB, free: 28.05 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/10.56, allocations: 38.97 kB / 3.628 GB, free: 28.01 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=47): time 3.226e-06/10.56, allocations: 0 / 3.628 GB, free: 28.01 MB / 0.4949 GB Notification: Performance of matching and sorting (n=47): time 0.01092/10.57, allocations: 2.054 MB / 3.63 GB, free: 27.32 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/10.57, allocations: 107.8 kB / 3.63 GB, free: 27.2 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/10.57, allocations: 0.5237 MB / 3.63 GB, free: 26.97 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/10.57, allocations: 33.42 kB / 3.63 GB, free: 26.93 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/10.57, allocations: 357.5 kB / 3.631 GB, free: 26.62 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/10.57, allocations: 153.5 kB / 3.631 GB, free: 26.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/10.57, allocations: 8 kB / 3.631 GB, free: 26.49 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.848e-05/10.57, allocations: 336.7 kB / 3.631 GB, free: 26.17 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/10.57, allocations: 333.2 kB / 3.631 GB, free: 26.07 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/10.57, allocations: 499.5 kB / 3.632 GB, free: 25.77 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/10.57, allocations: 355.1 kB / 3.632 GB, free: 25.64 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/10.57, allocations: 3.906 kB / 3.632 GB, free: 25.64 MB / 0.4949 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003556/10.58, allocations: 1.029 MB / 3.633 GB, free: 25.27 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/10.58, allocations: 8.625 kB / 3.633 GB, free: 25.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/10.58, allocations: 7.625 kB / 3.633 GB, free: 25.26 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/10.58, allocations: 444.7 kB / 3.634 GB, free: 25.15 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/10.58, allocations: 117.7 kB / 3.634 GB, free: 25.14 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/10.58, allocations: 1.637 MB / 3.635 GB, free: 23.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/10.58, allocations: 113 kB / 3.635 GB, free: 23.85 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/10.58, allocations: 35.98 kB / 3.635 GB, free: 23.84 MB / 0.4949 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.0005316/10.58, allocations: 231 kB / 3.636 GB, free: 23.66 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/10.58, allocations: 61.12 kB / 3.636 GB, free: 23.63 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006325/10.59, allocations: 3.307 MB / 3.639 GB, free: 22.19 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.138e-05/10.59, allocations: 41.72 kB / 3.639 GB, free: 22.18 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/10.59, allocations: 3.953 kB / 3.639 GB, free: 22.17 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/10.59, allocations: 3.562 kB / 3.639 GB, free: 22.17 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/10.59, allocations: 1.562 MB / 3.641 GB, free: 21.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/10.59, allocations: 11.75 kB / 3.641 GB, free: 21.37 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/10.59, allocations: 86.25 kB / 3.641 GB, free: 21.36 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/10.6, allocations: 0.9037 MB / 3.641 GB, free: 21.13 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/10.6, allocations: 15.27 kB / 3.642 GB, free: 21.12 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/10.6, allocations: 2.285 MB / 3.644 GB, free: 19.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/10.6, allocations: 3.938 kB / 3.644 GB, free: 19.59 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/10.6, allocations: 2.306 MB / 3.646 GB, free: 18.54 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007569/10.61, allocations: 353.7 kB / 3.646 GB, free: 18.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/10.61, allocations: 15.16 kB / 3.646 GB, free: 18.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/10.61, allocations: 71.56 kB / 3.646 GB, free: 18.25 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/10.61, allocations: 64.33 kB / 3.646 GB, free: 18.25 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/10.61, allocations: 18.92 kB / 3.646 GB, free: 18.24 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0009174/10.61, allocations: 0.5085 MB / 3.647 GB, free: 17.98 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.61e-07/10.61, allocations: 0 / 3.647 GB, free: 17.98 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005977/10.61, allocations: 1.206 MB / 3.648 GB, free: 16.81 MB / 0.4949 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.01043/10.62, allocations: 1.606 MB / 3.65 GB, free: 15.54 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.003795/10.63, allocations: 1.145 MB / 3.651 GB, free: 14.56 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/10.63, allocations: 0 / 3.651 GB, free: 14.56 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/10.63, allocations: 0.8851 MB / 3.652 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/10.63, allocations: 356.9 kB / 3.652 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/10.64, allocations: 3.032 MB / 3.655 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/10.64, allocations: 1.175 MB / 3.656 GB, free: 9.73 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/10.64, allocations: 59.38 kB / 3.656 GB, free: 9.672 MB / 0.4949 GB Notification: Performance of SimCode: time 1.252e-06/10.64, allocations: 0 / 3.656 GB, free: 9.672 MB / 0.4949 GB Notification: Performance of Templates: time 0.459/11.1, allocations: 42.1 MB / 3.697 GB, free: 69.93 MB / 0.5105 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