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.001033/0.001033, allocations: 181 kB / 17.41 MB, free: 4.289 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.309/1.309, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008122/0.0008122, allocations: 85.38 kB / 271.9 MB, free: 8.262 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.3171/0.3171, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005274, allocations: 12 kB / 432.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 58.85 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.418/5.558, allocations: 2.765 GB / 3.245 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/5.558, allocations: 93.58 kB / 3.245 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.229/6.788, allocations: 342.6 MB / 3.58 GB, free: 50.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.234e-06/6.788, allocations: 0 / 3.58 GB, free: 50.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.242e-05/6.788, allocations: 17 kB / 3.58 GB, free: 50.05 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.007074/6.795, allocations: 1.712 MB / 3.581 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/6.795, allocations: 11.06 kB / 3.581 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/6.799, allocations: 433 kB / 3.582 GB, free: 49.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/6.8, allocations: 0.5897 MB / 3.582 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/6.8, allocations: 111.1 kB / 3.582 GB, free: 49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/6.8, allocations: 62.66 kB / 3.582 GB, free: 49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/6.803, allocations: 1.158 MB / 3.584 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/6.803, allocations: 3.375 kB / 3.584 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/6.803, allocations: 32.97 kB / 3.584 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/6.803, allocations: 30.77 kB / 3.584 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/6.806, allocations: 1.078 MB / 3.585 GB, free: 48.79 MB / 0.4948 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.006345/6.812, allocations: 5.016 MB / 3.59 GB, free: 45.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/6.815, allocations: 0.9576 MB / 3.59 GB, free: 45.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006832/6.816, allocations: 384.6 kB / 3.591 GB, free: 45.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04223/6.858, allocations: 24.07 MB / 3.614 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/6.858, allocations: 38.52 kB / 3.614 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 4.148e-06/6.858, allocations: 1 kB / 3.614 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.00732/6.865, allocations: 2.057 MB / 3.616 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/6.865, allocations: 113.9 kB / 3.617 GB, free: 30.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009326/6.866, allocations: 0.5992 MB / 3.617 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/6.866, allocations: 29.52 kB / 3.617 GB, free: 30.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/6.867, allocations: 317.4 kB / 3.617 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/6.867, allocations: 155.3 kB / 3.618 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/6.867, allocations: 15.05 kB / 3.618 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000113/6.867, allocations: 370.8 kB / 3.618 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/6.868, allocations: 331.9 kB / 3.618 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/6.869, allocations: 498.4 kB / 3.619 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/6.87, allocations: 0.7612 MB / 3.619 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/6.87, allocations: 0 / 3.619 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002191/6.872, allocations: 1.07 MB / 3.621 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/6.872, allocations: 12.53 kB / 3.621 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/6.872, allocations: 11.02 kB / 3.621 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/6.873, allocations: 422.3 kB / 3.621 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/6.874, allocations: 121.1 kB / 3.621 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/6.875, allocations: 1.645 MB / 3.623 GB, free: 28.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008184/6.876, allocations: 118 kB / 3.623 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/6.876, allocations: 35.42 kB / 3.623 GB, free: 28.46 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 () * 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.0004102/6.877, allocations: 224.1 kB / 3.623 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/6.877, allocations: 65.39 kB / 3.623 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/6.881, allocations: 3.312 MB / 3.626 GB, free: 28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.518e-05/6.881, allocations: 42.8 kB / 3.626 GB, free: 28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/6.881, allocations: 0 / 3.626 GB, free: 28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/6.881, allocations: 3.797 kB / 3.626 GB, free: 28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/6.883, allocations: 1.557 MB / 3.628 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/6.883, allocations: 1.688 kB / 3.628 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/6.883, allocations: 95.14 kB / 3.628 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/6.885, allocations: 0.9018 MB / 3.629 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/6.885, allocations: 13.95 kB / 3.629 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/6.887, allocations: 2.284 MB / 3.631 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/6.887, allocations: 3.938 kB / 3.631 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/6.89, allocations: 2.308 MB / 3.633 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/6.891, allocations: 354 kB / 3.634 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/6.891, allocations: 15.59 kB / 3.634 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/6.891, allocations: 71.03 kB / 3.634 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/6.892, allocations: 64.27 kB / 3.634 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/6.892, allocations: 21.08 kB / 3.634 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007347/6.892, allocations: 0.5074 MB / 3.634 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/6.892, allocations: 0 / 3.634 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005194/6.898, allocations: 1.215 MB / 3.636 GB, free: 25.79 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 () * 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.008198/6.906, allocations: 1.607 MB / 3.637 GB, free: 25.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002579/6.908, allocations: 1.146 MB / 3.638 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/6.908, allocations: 3.625 kB / 3.638 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/6.91, allocations: 0.887 MB / 3.639 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/6.912, allocations: 350.2 kB / 3.639 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/6.916, allocations: 3.033 MB / 3.642 GB, free: 24.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/6.917, allocations: 1.146 MB / 3.644 GB, free: 23.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/6.917, allocations: 62.98 kB / 3.644 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/6.917, allocations: 4 kB / 3.644 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.0527/6.969, allocations: 39.93 MB / 3.683 GB, free: 20.42 MB / 0.4948 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