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.001155/0.001155, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.307/1.307, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008592/0.0008592, allocations: 94.59 kB / 267 MB, free: 9.277 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.3331/0.3331, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.093e-05/4.098e-05, allocations: 3.984 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 58.84 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/5.939, allocations: 2.765 GB / 3.237 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/5.939, allocations: 89.36 kB / 3.237 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.18/7.119, allocations: 357.1 MB / 3.586 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/7.119, allocations: 6.344 kB / 3.586 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.952e-05/7.119, allocations: 17.09 kB / 3.586 GB, free: 57.45 MB / 0.4948 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.005362/7.125, allocations: 1.652 MB / 3.588 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/7.125, allocations: 10.81 kB / 3.588 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/7.128, allocations: 443.7 kB / 3.588 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/7.129, allocations: 0.5628 MB / 3.589 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/7.129, allocations: 113.4 kB / 3.589 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/7.129, allocations: 58.97 kB / 3.589 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/7.131, allocations: 1.149 MB / 3.59 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/7.131, allocations: 0 / 3.59 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.563e-05/7.131, allocations: 31.45 kB / 3.59 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/7.131, allocations: 32.67 kB / 3.59 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/7.133, allocations: 1.012 MB / 3.591 GB, free: 56.31 MB / 0.4948 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.005376/7.138, allocations: 5.013 MB / 3.596 GB, free: 53.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/7.14, allocations: 0.8641 MB / 3.597 GB, free: 53.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/7.141, allocations: 335.2 kB / 3.597 GB, free: 53.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03778/7.178, allocations: 24.16 MB / 3.621 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/7.179, allocations: 37.62 kB / 3.621 GB, free: 38.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.504e-06/7.179, allocations: 0 / 3.621 GB, free: 38.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.003373/7.182, allocations: 1.33 MB / 3.622 GB, free: 38.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/7.182, allocations: 108.3 kB / 3.622 GB, free: 38.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/7.183, allocations: 0.5138 MB / 3.623 GB, free: 38.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/7.183, allocations: 33.33 kB / 3.623 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/7.183, allocations: 321.7 kB / 3.623 GB, free: 38.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/7.183, allocations: 168.1 kB / 3.623 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/7.183, allocations: 13.03 kB / 3.623 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001124/7.183, allocations: 369.3 kB / 3.624 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/7.184, allocations: 278.4 kB / 3.624 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/7.184, allocations: 440.6 kB / 3.624 GB, free: 37.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/7.184, allocations: 301.6 kB / 3.625 GB, free: 37.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/7.184, allocations: 0 / 3.625 GB, free: 37.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001319/7.186, allocations: 0.947 MB / 3.625 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/7.186, allocations: 6.375 kB / 3.625 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/7.186, allocations: 3.25 kB / 3.625 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/7.187, allocations: 400.9 kB / 3.626 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/7.187, allocations: 121.5 kB / 3.626 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/7.188, allocations: 1.583 MB / 3.627 GB, free: 36.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/7.189, allocations: 117.1 kB / 3.628 GB, free: 36.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/7.189, allocations: 34.36 kB / 3.628 GB, free: 36.41 MB / 0.4948 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.0001492/7.189, allocations: 143.9 kB / 3.628 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/7.189, allocations: 66.22 kB / 3.628 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/7.194, allocations: 3.514 MB / 3.631 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.983e-05/7.194, allocations: 42.55 kB / 3.631 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/7.194, allocations: 4.828 kB / 3.631 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/7.194, allocations: 3.234 kB / 3.631 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/7.196, allocations: 1.556 MB / 3.633 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/7.196, allocations: 0.6094 kB / 3.633 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/7.196, allocations: 94.61 kB / 3.633 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/7.197, allocations: 1.061 MB / 3.634 GB, free: 35.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/7.197, allocations: 14.16 kB / 3.634 GB, free: 35.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/7.199, allocations: 2.326 MB / 3.636 GB, free: 34.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/7.199, allocations: 0 / 3.636 GB, free: 34.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/7.202, allocations: 2.467 MB / 3.639 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005281/7.203, allocations: 350.1 kB / 3.639 GB, free: 34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/7.203, allocations: 12.34 kB / 3.639 GB, free: 34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/7.203, allocations: 76.81 kB / 3.639 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/7.204, allocations: 66.77 kB / 3.639 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/7.204, allocations: 21.91 kB / 3.639 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006061/7.204, allocations: 0.5012 MB / 3.64 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/7.204, allocations: 0 / 3.64 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004729/7.209, allocations: 1.211 MB / 3.641 GB, free: 33.7 MB / 0.4948 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.00582/7.215, allocations: 1.613 MB / 3.642 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001953/7.217, allocations: 1.034 MB / 3.643 GB, free: 33.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/7.217, allocations: 0 / 3.643 GB, free: 33.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/7.218, allocations: 0.8319 MB / 3.644 GB, free: 33.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/7.22, allocations: 351.4 kB / 3.645 GB, free: 33.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/7.222, allocations: 1.869 MB / 3.646 GB, free: 32.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/7.222, allocations: 1.179 MB / 3.648 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006022/7.223, allocations: 351.6 kB / 3.648 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/7.223, allocations: 57.12 kB / 3.648 GB, free: 32.26 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/7.223, allocations: 0 / 3.648 GB, free: 32.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.04968/7.273, allocations: 44.42 MB / 3.691 GB, free: 29.92 MB / 0.4948 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