Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001583/0.001583, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001764/0.001764, allocations: 216.3 kB / 23.01 MB, free: 4.566 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 8.25 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.7266/0.7266, allocations: 94.55 MB / 407.7 MB, free: 9.227 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.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.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.00239/0.00239, allocations: 87.27 kB / 0.5562 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1232, allocations: 73.06 MB / 0.6275 GB, free: 4 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04355/0.1668, allocations: 40.1 MB / 0.6667 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.1785, allocations: 8.794 MB / 0.6753 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.1796, allocations: 51.5 kB / 0.6753 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.1812, allocations: 0.5278 MB / 0.6758 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00381/0.185, allocations: 1.348 MB / 0.6771 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.1875, allocations: 0.9199 MB / 0.678 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002877/0.1904, allocations: 2.016 MB / 0.68 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.1909, allocations: 148.8 kB / 0.6802 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.1935, allocations: 1.202 MB / 0.6813 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.1949, allocations: 0.7389 MB / 0.6821 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.1952, allocations: 96 kB / 0.6821 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.1977, allocations: 0.8816 MB / 0.683 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.1981, allocations: 262.8 kB / 0.6833 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000913/0.199, allocations: 0.6373 MB / 0.6839 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003631/0.2026, allocations: 1.845 MB / 0.6857 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2026, allocations: 0 / 0.6857 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2026, allocations: 0 / 0.6857 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.033e-05/0.2027, allocations: 0 / 0.6857 GB, free: 4.234 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003886/0.2066, allocations: 1.624 MB / 0.6873 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2066, allocations: 8.031 kB / 0.6873 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.2071, allocations: 156 kB / 0.6874 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.2088, allocations: 0.7563 MB / 0.6882 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.209, allocations: 121.4 kB / 0.6883 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.2092, allocations: 99.89 kB / 0.6884 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.211, allocations: 0.9995 MB / 0.6893 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.211, allocations: 4 kB / 0.6894 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.2111, allocations: 36 kB / 0.6894 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.2111, allocations: 20 kB / 0.6894 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.2129, allocations: 0.9134 MB / 0.6903 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006625/0.2196, allocations: 4.551 MB / 0.6947 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.2216, allocations: 0.8754 MB / 0.6956 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.2224, allocations: 432.1 kB / 0.696 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00335/0.2257, allocations: 1.694 MB / 0.6977 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.2258, allocations: 55 kB / 0.6977 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 2.745e-06/0.2258, allocations: 0 / 0.6977 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.009937/0.2357, allocations: 3.751 MB / 0.7014 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.2358, allocations: 90.05 kB / 0.7015 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.2368, allocations: 0.7637 MB / 0.7022 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.965e-05/0.2369, allocations: 41.7 kB / 0.7023 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.2373, allocations: 485.2 kB / 0.7027 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/0.2377, allocations: 404.5 kB / 0.7031 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.238, allocations: 190.9 kB / 0.7033 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2381, allocations: 349.9 kB / 0.7036 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008299/0.2389, allocations: 382.4 kB / 0.704 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009839/0.2399, allocations: 0.5444 MB / 0.7045 GB, free: 152 kB / 0.5294 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.2419, allocations: 0.9897 MB / 0.7055 GB, free: 15.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.2419, allocations: 0 / 0.7055 GB, free: 15.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003325/0.2452, allocations: 1.448 MB / 0.7069 GB, free: 13.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2453, allocations: 8.031 kB / 0.7069 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.2453, allocations: 8 kB / 0.7069 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.2465, allocations: 346.5 kB / 0.7072 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/0.2473, allocations: 199.8 kB / 0.7074 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.2579, allocations: 11.78 MB / 0.7189 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/0.2589, allocations: 39.97 kB / 0.719 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.259, allocations: 47.98 kB / 0.719 GB, free: 288 kB / 0.545 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (110): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005471/0.2596, allocations: 251.9 kB / 0.7193 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.2599, allocations: 127.2 kB / 0.7194 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/0.2636, allocations: 1.583 MB / 0.7209 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.2636, allocations: 12 kB / 0.7209 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.2636, allocations: 4 kB / 0.7209 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.2637, allocations: 15.91 kB / 0.721 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005206/0.2689, allocations: 2.696 MB / 0.7236 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.2689, allocations: 4 kB / 0.7236 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.2696, allocations: 175.8 kB / 0.7238 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.2708, allocations: 358.8 kB / 0.7241 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.831e-05/0.2709, allocations: 39.97 kB / 0.7241 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.2814, allocations: 11.78 MB / 0.7356 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.2814, allocations: 7.984 kB / 0.7356 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/0.2858, allocations: 2.092 MB / 0.7377 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.2861, allocations: 111.2 kB / 0.7378 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.2862, allocations: 23.94 kB / 0.7378 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.287, allocations: 55.95 kB / 0.7379 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.2872, allocations: 100.9 kB / 0.738 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.2873, allocations: 43.91 kB / 0.738 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000775/0.2881, allocations: 0.5426 MB / 0.7385 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2881, allocations: 0 / 0.7385 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001581/0.2897, allocations: 475.3 kB / 0.739 GB, free: 10.69 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (1,4,100.0%), (1,1,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.0007996/0.2905, allocations: 454.3 kB / 0.7394 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003507/0.294, allocations: 2.002 MB / 0.7414 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.294, allocations: 0 / 0.7414 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.2965, allocations: 1.567 MB / 0.7429 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.2983, allocations: 353.1 kB / 0.7432 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.3032, allocations: 2.639 MB / 0.7458 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/0.304, allocations: 1.083 MB / 0.7469 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.3044, allocations: 115.4 kB / 0.747 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.3044, allocations: 0 / 0.747 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of Templates: time 0.2953/0.5997, allocations: 53.13 MB / 0.7989 GB, free: 78.84 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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: 12.182214519940317]