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.000904/0.000904, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008444/0.0008444, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8387/0.8387, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5004/0.5004, allocations: 80.18 MB / 340.1 MB, free: 7.562 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 1.219 kB / 0.4936 GB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.575e-05, allocations: 2.281 kB / 0.4936 GB, free: 6.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.02267/0.0227, allocations: 37.75 MB / 0.5305 GB, free: 2.129 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00592/0.02862, allocations: 6.905 MB / 0.5372 GB, free: 11.2 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005317/0.02915, allocations: 55.5 kB / 0.5373 GB, free: 11.15 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008754/0.03002, allocations: 0.4924 MB / 0.5377 GB, free: 10.65 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.03197, allocations: 1.463 MB / 0.5392 GB, free: 9.18 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.03325, allocations: 0.9492 MB / 0.5401 GB, free: 8.23 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.03463, allocations: 2.24 MB / 0.5423 GB, free: 5.98 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.03486, allocations: 145 kB / 0.5424 GB, free: 5.824 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.03648, allocations: 1.55 MB / 0.5439 GB, free: 4.27 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.03701, allocations: 0.6153 MB / 0.5445 GB, free: 3.652 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.03711, allocations: 104 kB / 0.5446 GB, free: 3.551 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009434/0.03805, allocations: 0.7525 MB / 0.5454 GB, free: 2.797 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.03823, allocations: 274.7 kB / 0.5456 GB, free: 2.527 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.03853, allocations: 470.8 kB / 0.5461 GB, free: 2.066 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.04013, allocations: 1.904 MB / 0.5479 GB, free: 160 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.04014, allocations: 0 / 0.5479 GB, free: 160 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.04014, allocations: 4 kB / 0.548 GB, free: 156 kB / 458.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.04015, allocations: 4 kB / 0.548 GB, free: 152 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001895/0.04205, allocations: 1.655 MB / 0.5496 GB, free: 14.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.04209, allocations: 12.03 kB / 0.5496 GB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.0425, allocations: 211.9 kB / 0.5498 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.04345, allocations: 0.7873 MB / 0.5506 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.204e-05/0.04354, allocations: 121.4 kB / 0.5507 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.04365, allocations: 95.95 kB / 0.5508 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.0448, allocations: 1.396 MB / 0.5521 GB, free: 11.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.04481, allocations: 0 / 0.5521 GB, free: 11.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/0.04487, allocations: 36 kB / 0.5522 GB, free: 11.63 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.04488, allocations: 24 kB / 0.5522 GB, free: 11.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.04591, allocations: 0.9212 MB / 0.5531 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.0491, allocations: 3.323 MB / 0.5563 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.05024, allocations: 0.8816 MB / 0.5572 GB, free: 6.379 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/0.05071, allocations: 423.8 kB / 0.5576 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.05221, allocations: 1.327 MB / 0.5589 GB, free: 4.613 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.05223, allocations: 51.05 kB / 0.5589 GB, free: 4.555 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 1.924e-06/0.05224, allocations: 0 / 0.5589 GB, free: 4.555 MB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.00531/0.05755, allocations: 3.829 MB / 0.5627 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.05759, allocations: 94.05 kB / 0.5628 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.05821, allocations: 0.772 MB / 0.5635 GB, free: 15.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.05826, allocations: 49.7 kB / 0.5636 GB, free: 15.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.0585, allocations: 0.5011 MB / 0.5641 GB, free: 15.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.0587, allocations: 404.5 kB / 0.5644 GB, free: 14.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.05889, allocations: 194.9 kB / 0.5646 GB, free: 14.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.05898, allocations: 345.9 kB / 0.565 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.05948, allocations: 386.4 kB / 0.5653 GB, free: 13.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.06008, allocations: 0.5751 MB / 0.5659 GB, free: 13.21 MB / 490.7 MB 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.001212/0.06129, allocations: 1.037 MB / 0.5669 GB, free: 12.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.06129, allocations: 0 / 0.5669 GB, free: 12.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001865/0.06316, allocations: 1.49 MB / 0.5684 GB, free: 10.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.06318, allocations: 8 kB / 0.5684 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008392/0.06401, allocations: 0.6689 MB / 0.569 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.06461, allocations: 346.5 kB / 0.5693 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.06501, allocations: 211.7 kB / 0.5696 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005599/0.07061, allocations: 11.53 MB / 0.5808 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.07097, allocations: 48.03 kB / 0.5809 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.07103, allocations: 55.86 kB / 0.5809 GB, free: 12.87 MB / 0.4948 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: 22 * 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 (115): * Single equations (assignments): 107 * 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%), (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.0003026/0.07133, allocations: 249.6 kB / 0.5811 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.07148, allocations: 139.1 kB / 0.5813 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.0735, allocations: 1.582 MB / 0.5828 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.07351, allocations: 16 kB / 0.5828 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.07352, allocations: 4 kB / 0.5828 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.07353, allocations: 7.922 kB / 0.5829 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.07633, allocations: 2.418 MB / 0.5852 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0008494/0.07718, allocations: 0.6885 MB / 0.5859 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.07757, allocations: 191.7 kB / 0.5861 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005737/0.07814, allocations: 342.5 kB / 0.5864 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.07819, allocations: 35.97 kB / 0.5864 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005601/0.08379, allocations: 11.55 MB / 0.5977 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0838, allocations: 4.125 kB / 0.5977 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.08617, allocations: 2.093 MB / 0.5998 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.875e-05/0.08626, allocations: 99.23 kB / 0.5998 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.08635, allocations: 32 kB / 0.5999 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.0867, allocations: 51.89 kB / 0.5999 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.08684, allocations: 108.8 kB / 0.6 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.08689, allocations: 39.97 kB / 0.6001 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004246/0.08732, allocations: 0.5312 MB / 0.6006 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.08732, allocations: 0 / 0.6006 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001027/0.08835, allocations: 455.6 kB / 0.601 GB, free: 7.234 MB / 0.5105 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 (92): * Single equations (assignments): 84 * 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,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.0004718/0.08882, allocations: 416.2 kB / 0.6014 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.09069, allocations: 1.989 MB / 0.6034 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.0907, allocations: 3.953 kB / 0.6034 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.09191, allocations: 1.527 MB / 0.6049 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.09314, allocations: 0.504 MB / 0.6054 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.09607, allocations: 2.535 MB / 0.6078 GB, free: 16 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.09642, allocations: 0.5056 MB / 0.6083 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.09663, allocations: 120.5 kB / 0.6084 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/0.09664, allocations: 3.938 kB / 0.6084 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of Templates: time 0.2085/0.3052, allocations: 55.63 MB / 0.6628 GB, free: 128.1 MB / 0.5417 GB " [Timeout remaining time 660] 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: 7.681598417460918]