Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001741/0.001741, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001959/0.001959, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.466/1.466, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6462/0.6462, allocations: 94.58 MB / 399.1 MB, free: 15.75 MB / 334.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-main/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.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_dev_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_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 83.86 kB / 0.5448 GB, free: 12.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3761, allocations: 71.84 MB / 0.615 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.05246/0.4286, allocations: 41.79 MB / 0.6558 GB, free: 5.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009891/0.4385, allocations: 5.394 MB / 0.6611 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.4401, allocations: 41.59 kB / 0.6611 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.442, allocations: 0.5432 MB / 0.6616 GB, free: 348 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.4464, allocations: 1.39 MB / 0.663 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.4493, allocations: 0.877 MB / 0.6638 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003472/0.4528, allocations: 2.15 MB / 0.6659 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.4535, allocations: 162.3 kB / 0.6661 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003626/0.4571, allocations: 1.333 MB / 0.6674 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.4588, allocations: 0.7901 MB / 0.6682 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003891/0.4592, allocations: 99.56 kB / 0.6683 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.4622, allocations: 0.7559 MB / 0.669 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006226/0.4628, allocations: 275.4 kB / 0.6693 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.4645, allocations: 0.6551 MB / 0.6699 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005721/0.4702, allocations: 1.859 MB / 0.6717 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4702, allocations: 1.094 kB / 0.6717 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4702, allocations: 0 / 0.6717 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.997e-05/0.4703, allocations: 0 / 0.6717 GB, free: 9.617 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005032/0.4753, allocations: 1.711 MB / 0.6734 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4754, allocations: 9.094 kB / 0.6734 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006919/0.4761, allocations: 156.4 kB / 0.6735 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.4781, allocations: 0.8843 MB / 0.6744 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.4782, allocations: 71.94 kB / 0.6745 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.4783, allocations: 97.77 kB / 0.6746 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.4806, allocations: 1.079 MB / 0.6756 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.4807, allocations: 0 / 0.6756 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.4808, allocations: 43.98 kB / 0.6757 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.4808, allocations: 20 kB / 0.6757 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.4829, allocations: 1.008 MB / 0.6767 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007309/0.4902, allocations: 4.759 MB / 0.6813 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.4922, allocations: 0.8632 MB / 0.6822 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009071/0.4932, allocations: 451.9 kB / 0.6826 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005592/0.4987, allocations: 3.468 MB / 0.686 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.4988, allocations: 51.08 kB / 0.686 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=108): time 3.146e-06/0.4988, allocations: 7.938 kB / 0.686 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122): time 0.0126/0.5114, allocations: 4.46 MB / 0.6904 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/0.5115, allocations: 90.2 kB / 0.6905 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.5128, allocations: 0.7639 MB / 0.6912 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.5129, allocations: 53.7 kB / 0.6913 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.5134, allocations: 485.4 kB / 0.6917 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.5139, allocations: 444.2 kB / 0.6922 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003921/0.5142, allocations: 198.9 kB / 0.6924 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.5144, allocations: 349.9 kB / 0.6927 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.5155, allocations: 418.4 kB / 0.6931 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.5167, allocations: 0.5662 MB / 0.6936 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.5189, allocations: 1.04 MB / 0.6947 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.5189, allocations: 4 kB / 0.6947 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00371/0.5226, allocations: 1.496 MB / 0.6961 GB, free: 336 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5226, allocations: 7.938 kB / 0.6961 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5226, allocations: 4 kB / 0.6961 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.5239, allocations: 307.1 kB / 0.6964 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5249, allocations: 235.6 kB / 0.6966 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.5366, allocations: 12.13 MB / 0.7085 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.5378, allocations: 51.95 kB / 0.7085 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.538, allocations: 51.97 kB / 0.7086 GB, free: 2.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0006496/0.5386, allocations: 265.5 kB / 0.7088 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/0.539, allocations: 119.2 kB / 0.709 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/0.5436, allocations: 1.856 MB / 0.7108 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.5436, allocations: 16 kB / 0.7108 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.362e-05/0.5436, allocations: 7.938 kB / 0.7108 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.5436, allocations: 7.969 kB / 0.7108 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006324/0.5499, allocations: 2.875 MB / 0.7136 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.5499, allocations: 4.125 kB / 0.7136 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.5509, allocations: 215.7 kB / 0.7138 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.5521, allocations: 322.5 kB / 0.7141 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.5522, allocations: 39.97 kB / 0.7142 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/0.5639, allocations: 12.15 MB / 0.726 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5639, allocations: 0 / 0.726 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/0.5691, allocations: 2.172 MB / 0.7282 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.5696, allocations: 184.3 kB / 0.7283 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/0.5699, allocations: 31.94 kB / 0.7284 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/0.5709, allocations: 59.94 kB / 0.7284 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.5712, allocations: 108.9 kB / 0.7285 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.5713, allocations: 48.11 kB / 0.7286 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009376/0.5723, allocations: 0.5594 MB / 0.7291 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5723, allocations: 0 / 0.7291 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001839/0.5741, allocations: 451.5 kB / 0.7295 GB, free: 11.57 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 (104): * Single equations (assignments): 96 * 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.0008772/0.575, allocations: 434.9 kB / 0.73 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004028/0.579, allocations: 2.004 MB / 0.7319 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.579, allocations: 4 kB / 0.7319 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/0.5819, allocations: 1.562 MB / 0.7334 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.5841, allocations: 355.7 kB / 0.7338 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/0.5898, allocations: 2.702 MB / 0.7364 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/0.5907, allocations: 1.103 MB / 0.7375 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001028/0.5917, allocations: 234.9 kB / 0.7377 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.5921, allocations: 119.4 kB / 0.7378 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.5921, allocations: 3.938 kB / 0.7378 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of Templates: time 0.04689/0.639, allocations: 25.41 MB / 0.7627 GB, free: 9.598 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 6.768073487095535]