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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6682/0.6682, allocations: 90.3 MB / 394.8 MB, free: 3.855 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 83.8 kB / 0.5386 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.459, allocations: 70.81 MB / 0.6078 GB, free: 7.422 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04674/0.5058, allocations: 39.89 MB / 0.6468 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.5194, allocations: 8.728 MB / 0.6553 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.5209, allocations: 17.5 kB / 0.6553 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.523, allocations: 0.52 MB / 0.6558 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.528, allocations: 1.286 MB / 0.6571 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.5311, allocations: 0.9058 MB / 0.6579 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.5343, allocations: 1.892 MB / 0.6598 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004958/0.5348, allocations: 163.6 kB / 0.6599 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.5376, allocations: 1.093 MB / 0.661 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.5391, allocations: 0.7297 MB / 0.6617 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003694/0.5395, allocations: 100.3 kB / 0.6618 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.5428, allocations: 0.8625 MB / 0.6627 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005254/0.5434, allocations: 258.9 kB / 0.6629 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.5449, allocations: 0.6042 MB / 0.6635 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.5493, allocations: 1.721 MB / 0.6652 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.5493, allocations: 4 kB / 0.6652 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5493, allocations: 0 / 0.6652 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.071e-05/0.5494, allocations: 1.219 kB / 0.6652 GB, free: 13.31 MB / 0.4981 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.004531/0.5539, allocations: 1.595 MB / 0.6667 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5539, allocations: 9.031 kB / 0.6668 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/0.5546, allocations: 137.6 kB / 0.6669 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.5561, allocations: 0.6438 MB / 0.6675 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.5563, allocations: 93.98 kB / 0.6676 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.5565, allocations: 100.3 kB / 0.6677 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.5588, allocations: 0.9924 MB / 0.6687 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.5588, allocations: 9 kB / 0.6687 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.5589, allocations: 37.19 kB / 0.6687 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.5589, allocations: 21.03 kB / 0.6687 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.5609, allocations: 0.8845 MB / 0.6696 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007722/0.5686, allocations: 4.588 MB / 0.6741 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.5709, allocations: 0.9409 MB / 0.675 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.5718, allocations: 429.5 kB / 0.6754 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00454/0.5763, allocations: 2.991 MB / 0.6783 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.5764, allocations: 50.94 kB / 0.6784 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=99): time 2.514e-06/0.5764, allocations: 0 / 0.6784 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112): time 0.01053/0.5869, allocations: 4.223 MB / 0.6825 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.722e-05/0.587, allocations: 98.11 kB / 0.6826 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009726/0.5879, allocations: 0.6686 MB / 0.6832 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/0.588, allocations: 49.69 kB / 0.6833 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.5884, allocations: 425.2 kB / 0.6837 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.5888, allocations: 412.4 kB / 0.6841 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003442/0.5891, allocations: 187 kB / 0.6843 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5893, allocations: 349.9 kB / 0.6846 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008746/0.5902, allocations: 390.4 kB / 0.685 GB, free: 11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.5912, allocations: 0.5482 MB / 0.6855 GB, free: 10.39 MB / 0.5137 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.002203/0.5934, allocations: 1.065 MB / 0.6866 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5934, allocations: 0 / 0.6866 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003546/0.597, allocations: 1.443 MB / 0.688 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.597, allocations: 8 kB / 0.688 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.597, allocations: 4.312 kB / 0.688 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.5984, allocations: 354.5 kB / 0.6883 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.5993, allocations: 199.7 kB / 0.6885 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.6115, allocations: 12.59 MB / 0.7008 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.6127, allocations: 51.91 kB / 0.7008 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.6128, allocations: 43.98 kB / 0.7009 GB, free: 9.41 MB / 0.5294 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 (111): * Single equations (assignments): 102 * 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.0006004/0.6134, allocations: 257.5 kB / 0.7011 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.6137, allocations: 103.3 kB / 0.7012 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/0.6176, allocations: 1.584 MB / 0.7028 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.6176, allocations: 12 kB / 0.7028 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.6176, allocations: 4 kB / 0.7028 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6176, allocations: 3.984 kB / 0.7028 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/0.6233, allocations: 2.684 MB / 0.7054 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.6233, allocations: 4.062 kB / 0.7054 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/0.6241, allocations: 175.9 kB / 0.7056 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.6254, allocations: 374.4 kB / 0.7059 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.6255, allocations: 35.97 kB / 0.706 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.6377, allocations: 12.61 MB / 0.7183 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6377, allocations: 0 / 0.7183 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/0.6425, allocations: 2.068 MB / 0.7203 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.6429, allocations: 184.3 kB / 0.7205 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.6431, allocations: 20 kB / 0.7205 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/0.6439, allocations: 59.89 kB / 0.7206 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/0.6442, allocations: 92.88 kB / 0.7207 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.6443, allocations: 43.97 kB / 0.7207 GB, free: 3.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006923/0.645, allocations: 487 kB / 0.7212 GB, free: 3.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.645, allocations: 0 / 0.7212 GB, free: 3.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00208/0.6471, allocations: 471.3 kB / 0.7216 GB, free: 2.836 MB / 0.545 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.0009179/0.648, allocations: 478.1 kB / 0.7221 GB, free: 2.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003787/0.6518, allocations: 2.005 MB / 0.724 GB, free: 252 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6518, allocations: 0 / 0.724 GB, free: 252 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002675/0.6544, allocations: 1.555 MB / 0.7255 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.6563, allocations: 342.6 kB / 0.7259 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.6612, allocations: 2.48 MB / 0.7283 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/0.6621, allocations: 1.048 MB / 0.7293 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000863/0.663, allocations: 179.6 kB / 0.7295 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.6632, allocations: 91.41 kB / 0.7296 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of SimCode: time 1.453e-06/0.6632, allocations: 4 kB / 0.7296 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.04491/0.7081, allocations: 24.54 MB / 0.7535 GB, free: 2.02 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/jenkins/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: 6.997795943170786]