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.001127/0.001127, allocations: 180.4 kB / 14.15 MB, free: 1.176 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.46/1.46, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 95.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.054e-05, allocations: 8.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1595, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.19/7.35, allocations: 2.77 GB / 3.272 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/7.35, allocations: 87.78 kB / 3.272 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.449/8.799, allocations: 360.7 MB / 3.624 GB, free: 72.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.064e-06/8.799, allocations: 0 / 3.624 GB, free: 72.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.937e-05/8.799, allocations: 13.19 kB / 3.624 GB, free: 72.76 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.007322/8.806, allocations: 1.648 MB / 3.626 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.162e-05/8.807, allocations: 14.67 kB / 3.626 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/8.81, allocations: 437.5 kB / 3.626 GB, free: 72.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/8.811, allocations: 0.572 MB / 3.627 GB, free: 71.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/8.811, allocations: 113 kB / 3.627 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/8.811, allocations: 52.38 kB / 3.627 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/8.814, allocations: 1.148 MB / 3.628 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/8.814, allocations: 3.719 kB / 3.628 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.009e-05/8.814, allocations: 23.56 kB / 3.628 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/8.814, allocations: 37.55 kB / 3.628 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/8.816, allocations: 1.013 MB / 3.629 GB, free: 71.54 MB / 0.5261 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.005841/8.822, allocations: 5.003 MB / 3.634 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/8.824, allocations: 0.8654 MB / 3.635 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/8.824, allocations: 330.7 kB / 3.635 GB, free: 68.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04305/8.867, allocations: 24.17 MB / 3.659 GB, free: 53.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/8.867, allocations: 34.44 kB / 3.659 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.196e-06/8.867, allocations: 3.188 kB / 3.659 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.003765/8.871, allocations: 1.331 MB / 3.66 GB, free: 53.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/8.871, allocations: 110.3 kB / 3.66 GB, free: 53.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/8.872, allocations: 0.5157 MB / 3.661 GB, free: 53.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/8.872, allocations: 34.39 kB / 3.661 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/8.872, allocations: 316.5 kB / 3.661 GB, free: 53.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/8.872, allocations: 163.3 kB / 3.661 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/8.872, allocations: 11.38 kB / 3.661 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000101/8.872, allocations: 374.8 kB / 3.661 GB, free: 52.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/8.873, allocations: 276.9 kB / 3.662 GB, free: 52.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/8.873, allocations: 439.8 kB / 3.662 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/8.874, allocations: 309.3 kB / 3.662 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/8.874, allocations: 3.344 kB / 3.662 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001413/8.875, allocations: 0.9449 MB / 3.663 GB, free: 52.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/8.875, allocations: 10.05 kB / 3.663 GB, free: 52.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/8.875, allocations: 3.594 kB / 3.663 GB, free: 52.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008398/8.876, allocations: 396.2 kB / 3.664 GB, free: 52.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/8.876, allocations: 124.5 kB / 3.664 GB, free: 52.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/8.878, allocations: 1.588 MB / 3.665 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/8.878, allocations: 119.3 kB / 3.665 GB, free: 51.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/8.878, allocations: 33.44 kB / 3.665 GB, free: 51.59 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 () * 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.0001764/8.879, allocations: 145.8 kB / 3.666 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/8.879, allocations: 62.28 kB / 3.666 GB, free: 51.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/8.883, allocations: 3.509 MB / 3.669 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/8.883, allocations: 38.45 kB / 3.669 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/8.883, allocations: 0 / 3.669 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/8.883, allocations: 3.281 kB / 3.669 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/8.884, allocations: 1.566 MB / 3.671 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/8.884, allocations: 0 / 3.671 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/8.885, allocations: 96.52 kB / 3.671 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/8.886, allocations: 1.058 MB / 3.672 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/8.886, allocations: 20.75 kB / 3.672 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/8.888, allocations: 2.322 MB / 3.674 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/8.888, allocations: 3.188 kB / 3.674 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/8.891, allocations: 2.465 MB / 3.676 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/8.891, allocations: 349.9 kB / 3.677 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.594e-05/8.891, allocations: 13.72 kB / 3.677 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/8.892, allocations: 76.16 kB / 3.677 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/8.892, allocations: 64.19 kB / 3.677 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/8.892, allocations: 20.3 kB / 3.677 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005645/8.893, allocations: 0.5032 MB / 3.677 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/8.893, allocations: 0 / 3.677 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005921/8.898, allocations: 1.212 MB / 3.679 GB, free: 48.87 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 () * 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.009004/8.907, allocations: 1.614 MB / 3.68 GB, free: 48.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00234/8.91, allocations: 1.038 MB / 3.681 GB, free: 48.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/8.91, allocations: 0 / 3.681 GB, free: 48.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/8.911, allocations: 0.8238 MB / 3.682 GB, free: 48.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/8.913, allocations: 352.8 kB / 3.682 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/8.916, allocations: 1.867 MB / 3.684 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/8.916, allocations: 1.179 MB / 3.685 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007043/8.917, allocations: 352.5 kB / 3.686 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/8.917, allocations: 52.97 kB / 3.686 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of SimCode: time 7.62e-07/8.917, allocations: 0 / 3.686 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.05799/8.975, allocations: 44.43 MB / 3.729 GB, free: 44.56 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