Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009426/0.0009426, allocations: 178.2 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009212/0.0009213, allocations: 88.84 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4025/0.4025, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 12 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3487, allocations: 61.9 MB / 0.5096 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.44/6.789, allocations: 2.77 GB / 3.28 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/6.79, allocations: 90.52 kB / 3.28 GB, free: 89.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.607/8.397, allocations: 361.7 MB / 3.633 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.475e-06/8.397, allocations: 0 / 3.633 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.533e-05/8.397, allocations: 13.05 kB / 3.633 GB, free: 65.53 MB / 0.5261 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.006847/8.404, allocations: 1.726 MB / 3.635 GB, free: 64.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/8.404, allocations: 7.562 kB / 3.635 GB, free: 64.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/8.407, allocations: 435 kB / 3.635 GB, free: 64.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/8.408, allocations: 0.5775 MB / 3.636 GB, free: 64.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/8.408, allocations: 106.6 kB / 3.636 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/8.408, allocations: 57.8 kB / 3.636 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/8.411, allocations: 1.16 MB / 3.637 GB, free: 64.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/8.411, allocations: 2.625 kB / 3.637 GB, free: 64.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/8.411, allocations: 27.25 kB / 3.637 GB, free: 64.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/8.411, allocations: 31.59 kB / 3.637 GB, free: 64.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/8.413, allocations: 1.082 MB / 3.638 GB, free: 64.17 MB / 0.5261 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.006023/8.419, allocations: 4.992 MB / 3.643 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/8.422, allocations: 0.9566 MB / 3.644 GB, free: 61.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03945/8.461, allocations: 24.08 MB / 3.667 GB, free: 46.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/8.461, allocations: 45.05 kB / 3.667 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.906e-06/8.461, allocations: 0 / 3.667 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.006448/8.468, allocations: 2.045 MB / 3.669 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/8.468, allocations: 106.9 kB / 3.669 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007449/8.469, allocations: 0.5234 MB / 3.67 GB, free: 46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/8.469, allocations: 34.48 kB / 3.67 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/8.469, allocations: 317.8 kB / 3.67 GB, free: 45.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/8.469, allocations: 161 kB / 3.67 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/8.469, allocations: 11.59 kB / 3.67 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001354/8.469, allocations: 381.9 kB / 3.671 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/8.47, allocations: 330.6 kB / 3.671 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/8.471, allocations: 499.1 kB / 3.672 GB, free: 45.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/8.471, allocations: 353.9 kB / 3.672 GB, free: 45.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/8.471, allocations: 0 / 3.672 GB, free: 45.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002059/8.473, allocations: 1.071 MB / 3.673 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/8.473, allocations: 6.156 kB / 3.673 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/8.473, allocations: 5.688 kB / 3.673 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/8.475, allocations: 432.1 kB / 3.673 GB, free: 44.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/8.475, allocations: 126.6 kB / 3.673 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/8.477, allocations: 1.63 MB / 3.675 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/8.477, allocations: 119.7 kB / 3.675 GB, free: 43.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/8.477, allocations: 26.36 kB / 3.675 GB, free: 43.39 MB / 0.5261 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.0004212/8.478, allocations: 234.7 kB / 3.675 GB, free: 43.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/8.478, allocations: 76.03 kB / 3.676 GB, free: 43.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/8.482, allocations: 3.306 MB / 3.679 GB, free: 41.78 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/8.482, allocations: 41.2 kB / 3.679 GB, free: 41.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/8.482, allocations: 0 / 3.679 GB, free: 41.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/8.482, allocations: 10.75 kB / 3.679 GB, free: 41.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/8.484, allocations: 1.567 MB / 3.68 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/8.484, allocations: 0 / 3.68 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/8.485, allocations: 95.05 kB / 3.68 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/8.486, allocations: 0.8948 MB / 3.681 GB, free: 40.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/8.486, allocations: 14.67 kB / 3.681 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/8.489, allocations: 2.295 MB / 3.684 GB, free: 39.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/8.489, allocations: 0 / 3.684 GB, free: 39.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/8.492, allocations: 2.298 MB / 3.686 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/8.493, allocations: 356.5 kB / 3.686 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/8.493, allocations: 13.25 kB / 3.686 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/8.493, allocations: 72.05 kB / 3.686 GB, free: 37.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/8.494, allocations: 66.48 kB / 3.686 GB, free: 37.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/8.494, allocations: 26.11 kB / 3.686 GB, free: 37.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007793/8.495, allocations: 0.5058 MB / 3.687 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.495, allocations: 0 / 3.687 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007475/8.502, allocations: 1.202 MB / 3.688 GB, free: 37.41 MB / 0.5261 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.01186/8.514, allocations: 1.621 MB / 3.69 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003146/8.517, allocations: 1.144 MB / 3.691 GB, free: 36.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/8.517, allocations: 0 / 3.691 GB, free: 36.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/8.519, allocations: 0.8847 MB / 3.692 GB, free: 36.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/8.521, allocations: 347.9 kB / 3.692 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/8.526, allocations: 3.005 MB / 3.695 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009607/8.527, allocations: 1.175 MB / 3.696 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009652/8.528, allocations: 349.5 kB / 3.696 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/8.529, allocations: 54.31 kB / 3.696 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/8.529, allocations: 0 / 3.696 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.07783/8.606, allocations: 43.07 MB / 3.738 GB, free: 27.14 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches