Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 211.6 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7774/0.7774, allocations: 94.62 MB / 407 MB, free: 8.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 82.2 kB / 0.5554 GB, free: 38.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1236, allocations: 73.06 MB / 0.6268 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04921/0.1728, allocations: 37.57 MB / 0.6635 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008764/0.1816, allocations: 4.961 MB / 0.6683 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.1829, allocations: 59.44 kB / 0.6684 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.1845, allocations: 0.4965 MB / 0.6689 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003965/0.1884, allocations: 1.375 MB / 0.6702 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.1911, allocations: 0.8873 MB / 0.6711 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003135/0.1942, allocations: 2.177 MB / 0.6732 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004606/0.1947, allocations: 157.4 kB / 0.6733 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.1979, allocations: 1.377 MB / 0.6747 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.1992, allocations: 0.7309 MB / 0.6754 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.1994, allocations: 100 kB / 0.6755 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.2014, allocations: 0.6749 MB / 0.6762 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.2017, allocations: 274.8 kB / 0.6764 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.2025, allocations: 0.5364 MB / 0.6769 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.2058, allocations: 1.848 MB / 0.6787 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2058, allocations: 4 kB / 0.6787 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2058, allocations: 0 / 0.6787 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.2058, allocations: 0 / 0.6787 GB, free: 10.25 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00358/0.2094, allocations: 1.625 MB / 0.6803 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2094, allocations: 8.031 kB / 0.6803 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006846/0.2101, allocations: 176 kB / 0.6805 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.2119, allocations: 0.7964 MB / 0.6813 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.212, allocations: 70.12 kB / 0.6814 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.2122, allocations: 104 kB / 0.6815 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.2143, allocations: 1.324 MB / 0.6827 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.2143, allocations: 0 / 0.6827 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.2144, allocations: 40 kB / 0.6828 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.2145, allocations: 20 kB / 0.6828 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.2164, allocations: 1.016 MB / 0.6838 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00563/0.2221, allocations: 2.903 MB / 0.6866 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.224, allocations: 0.8635 MB / 0.6875 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008572/0.2249, allocations: 436.2 kB / 0.6879 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003302/0.2282, allocations: 1.33 MB / 0.6892 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.2282, allocations: 51.22 kB / 0.6892 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 3.737e-06/0.2282, allocations: 0 / 0.6892 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01148/0.2397, allocations: 4.015 MB / 0.6932 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.2398, allocations: 90.2 kB / 0.6932 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009643/0.2408, allocations: 0.7043 MB / 0.6939 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.2409, allocations: 45.7 kB / 0.694 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.2413, allocations: 497.3 kB / 0.6944 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000404/0.2417, allocations: 448.1 kB / 0.6949 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.242, allocations: 190.9 kB / 0.6951 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2422, allocations: 357.9 kB / 0.6954 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009565/0.2432, allocations: 398.4 kB / 0.6958 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.2443, allocations: 0.5803 MB / 0.6963 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.2465, allocations: 1.049 MB / 0.6974 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2465, allocations: 4 kB / 0.6974 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003572/0.25, allocations: 1.481 MB / 0.6988 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.2501, allocations: 5.719 kB / 0.6988 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.2501, allocations: 4 kB / 0.6988 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.2512, allocations: 315 kB / 0.6991 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000998/0.2522, allocations: 227.7 kB / 0.6993 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.2626, allocations: 11.09 MB / 0.7102 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.2636, allocations: 47.97 kB / 0.7102 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.2637, allocations: 51.92 kB / 0.7103 GB, free: 8.539 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005495/0.2642, allocations: 257.6 kB / 0.7105 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.2645, allocations: 123.2 kB / 0.7106 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/0.2685, allocations: 1.785 MB / 0.7124 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.2686, allocations: 12 kB / 0.7124 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2686, allocations: 4 kB / 0.7124 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.2686, allocations: 3.984 kB / 0.7124 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/0.2739, allocations: 2.449 MB / 0.7148 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.2739, allocations: 3.984 kB / 0.7148 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009214/0.2748, allocations: 199.9 kB / 0.715 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.2759, allocations: 322.6 kB / 0.7153 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.276, allocations: 35.97 kB / 0.7153 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.2864, allocations: 11.11 MB / 0.7262 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2864, allocations: 0 / 0.7262 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00468/0.2911, allocations: 2.114 MB / 0.7282 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.2914, allocations: 95.25 kB / 0.7283 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.2916, allocations: 35.86 kB / 0.7284 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007763/0.2924, allocations: 55.95 kB / 0.7284 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.2927, allocations: 108.8 kB / 0.7285 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.2928, allocations: 43.98 kB / 0.7286 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007363/0.2935, allocations: 0.5068 MB / 0.7291 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2935, allocations: 0 / 0.7291 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001502/0.295, allocations: 407.7 kB / 0.7294 GB, free: 3.891 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006681/0.2957, allocations: 366.2 kB / 0.7298 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003805/0.2995, allocations: 1.992 MB / 0.7317 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.2995, allocations: 4.125 kB / 0.7317 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002765/0.3022, allocations: 1.535 MB / 0.7332 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.304, allocations: 299 kB / 0.7335 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.3098, allocations: 2.662 MB / 0.7361 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.3104, allocations: 0.5011 MB / 0.7366 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009011/0.3113, allocations: 212.2 kB / 0.7368 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.3117, allocations: 103.4 kB / 0.7369 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of SimCode: time 9.81e-07/0.3117, allocations: 4 kB / 0.7369 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.3108/0.6224, allocations: 24.9 MB / 0.7612 GB, free: 112.7 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.071611421182752]