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.002146/0.002146, allocations: 180.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001105/0.001104, allocations: 82.7 kB / 267.5 MB, free: 14.05 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.281/0.281, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.978e-05, allocations: 0 / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1274, allocations: 58.84 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.96/8.087, allocations: 2.765 GB / 3.237 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/8.087, allocations: 83.77 kB / 3.237 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.953/10.04, allocations: 357.1 MB / 3.586 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.294e-06/10.04, allocations: 0 / 3.586 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.238e-05/10.04, allocations: 18.05 kB / 3.586 GB, free: 76.75 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.007339/10.05, allocations: 1.648 MB / 3.588 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/10.05, allocations: 10.28 kB / 3.588 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004896/10.05, allocations: 441.3 kB / 3.588 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/10.05, allocations: 0.5673 MB / 3.589 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/10.05, allocations: 112.4 kB / 3.589 GB, free: 75.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/10.05, allocations: 53.59 kB / 3.589 GB, free: 75.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/10.06, allocations: 1.152 MB / 3.59 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/10.06, allocations: 3.812 kB / 3.59 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/10.06, allocations: 27.38 kB / 3.59 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/10.06, allocations: 37.34 kB / 3.59 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/10.06, allocations: 1.01 MB / 3.591 GB, free: 75.43 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01007/10.07, allocations: 5.006 MB / 3.596 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/10.08, allocations: 0.8708 MB / 3.597 GB, free: 72.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/10.08, allocations: 331.1 kB / 3.597 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07399/10.15, allocations: 24.16 MB / 3.621 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/10.15, allocations: 37.28 kB / 3.621 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.106e-06/10.15, allocations: 0 / 3.621 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.00572/10.16, allocations: 1.325 MB / 3.622 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/10.16, allocations: 111.1 kB / 3.622 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009634/10.16, allocations: 0.5174 MB / 3.623 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/10.16, allocations: 36.73 kB / 3.623 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/10.16, allocations: 349.5 kB / 3.623 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/10.16, allocations: 158.1 kB / 3.623 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/10.16, allocations: 10.78 kB / 3.623 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/10.16, allocations: 336.4 kB / 3.624 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/10.16, allocations: 276.4 kB / 3.624 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007786/10.16, allocations: 444.8 kB / 3.624 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/10.16, allocations: 297 kB / 3.624 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/10.16, allocations: 3.062 kB / 3.624 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002429/10.16, allocations: 0.9073 MB / 3.625 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/10.16, allocations: 11.34 kB / 3.625 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/10.16, allocations: 7.938 kB / 3.625 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/10.16, allocations: 392.7 kB / 3.626 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/10.17, allocations: 125.7 kB / 3.626 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/10.17, allocations: 1.586 MB / 3.627 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/10.17, allocations: 119 kB / 3.628 GB, free: 55.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/10.17, allocations: 34.41 kB / 3.628 GB, free: 55.25 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 () * 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.0002571/10.17, allocations: 140.3 kB / 3.628 GB, free: 55.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/10.17, allocations: 65.91 kB / 3.628 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006744/10.18, allocations: 3.516 MB / 3.631 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.745e-05/10.18, allocations: 42.67 kB / 3.631 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/10.18, allocations: 0 / 3.631 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/10.18, allocations: 7.078 kB / 3.631 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/10.18, allocations: 1.563 MB / 3.633 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/10.18, allocations: 0 / 3.633 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/10.18, allocations: 93.52 kB / 3.633 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/10.18, allocations: 1.054 MB / 3.634 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/10.18, allocations: 17.05 kB / 3.634 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/10.19, allocations: 2.317 MB / 3.636 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/10.19, allocations: 3.219 kB / 3.636 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/10.19, allocations: 2.466 MB / 3.639 GB, free: 49.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008568/10.19, allocations: 354.8 kB / 3.639 GB, free: 49.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/10.19, allocations: 14.47 kB / 3.639 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/10.19, allocations: 69.95 kB / 3.639 GB, free: 49.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/10.19, allocations: 75.02 kB / 3.639 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/10.19, allocations: 24.48 kB / 3.639 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009141/10.19, allocations: 0.5014 MB / 3.64 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.91e-07/10.19, allocations: 0 / 3.64 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00614/10.2, allocations: 1.206 MB / 3.641 GB, free: 49.07 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 () * 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.01069/10.21, allocations: 1.611 MB / 3.642 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002921/10.21, allocations: 1.034 MB / 3.643 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/10.21, allocations: 0 / 3.643 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/10.22, allocations: 0.8314 MB / 3.644 GB, free: 48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/10.22, allocations: 346.1 kB / 3.645 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/10.22, allocations: 1.904 MB / 3.646 GB, free: 47.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/10.22, allocations: 1.173 MB / 3.648 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/10.22, allocations: 61.19 kB / 3.648 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.844e-06/10.22, allocations: 0 / 3.648 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.08448/10.31, allocations: 41.87 MB / 3.688 GB, free: 31.27 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