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.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.00161/0.00161, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.001855/0.001855, allocations: 208.3 kB / 22.24 MB, free: 5.105 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7747/0.7747, allocations: 100.9 MB / 413.3 MB, free: 3.129 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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: 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.002482/0.002482, allocations: 94.47 kB / 0.5646 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1129, allocations: 74.61 MB / 0.6374 GB, free: 5.844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04501/0.1579, allocations: 37.59 MB / 0.6741 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008351/0.1663, allocations: 4.958 MB / 0.679 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1674, allocations: 59.44 kB / 0.679 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.1689, allocations: 0.4966 MB / 0.6795 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.1727, allocations: 1.371 MB / 0.6809 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.1752, allocations: 0.8967 MB / 0.6817 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003125/0.1783, allocations: 2.159 MB / 0.6838 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.1788, allocations: 165.3 kB / 0.684 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.1819, allocations: 1.381 MB / 0.6853 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.1831, allocations: 0.7269 MB / 0.6861 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.1835, allocations: 100 kB / 0.6862 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.1853, allocations: 0.6788 MB / 0.6868 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.1857, allocations: 274.8 kB / 0.6871 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008729/0.1866, allocations: 0.5403 MB / 0.6876 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.1899, allocations: 1.848 MB / 0.6894 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1899, allocations: 0 / 0.6894 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1899, allocations: 0 / 0.6894 GB, free: 416 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.995e-05/0.1899, allocations: 0 / 0.6894 GB, free: 416 kB / 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.003554/0.1935, allocations: 1.631 MB / 0.691 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1935, allocations: 9.469 kB / 0.691 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006766/0.1942, allocations: 176 kB / 0.6912 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.196, allocations: 0.7887 MB / 0.692 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.196, allocations: 74.12 kB / 0.692 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.1962, allocations: 96 kB / 0.6921 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.1983, allocations: 1.324 MB / 0.6934 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.1983, allocations: 0 / 0.6934 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.1984, allocations: 44 kB / 0.6934 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.1985, allocations: 20 kB / 0.6935 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.2004, allocations: 1.008 MB / 0.6945 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005597/0.206, allocations: 2.91 MB / 0.6973 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.2078, allocations: 0.8674 MB / 0.6981 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008348/0.2087, allocations: 436.9 kB / 0.6986 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003127/0.2118, allocations: 1.334 MB / 0.6999 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.2118, allocations: 55.16 kB / 0.6999 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 3.246e-06/0.2118, allocations: 0 / 0.6999 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01062/0.2225, allocations: 4.018 MB / 0.7038 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.2225, allocations: 90.2 kB / 0.7039 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009263/0.2235, allocations: 0.7005 MB / 0.7046 GB, free: 464 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.2236, allocations: 57.7 kB / 0.7047 GB, free: 400 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.224, allocations: 485.4 kB / 0.7051 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/0.2244, allocations: 444.1 kB / 0.7055 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.2247, allocations: 194.9 kB / 0.7057 GB, free: 15.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2249, allocations: 353.8 kB / 0.7061 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/0.2258, allocations: 406.4 kB / 0.7065 GB, free: 14.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.2269, allocations: 0.5803 MB / 0.707 GB, free: 13.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.229, allocations: 1.045 MB / 0.708 GB, free: 12.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.229, allocations: 0 / 0.708 GB, free: 12.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00335/0.2324, allocations: 1.481 MB / 0.7095 GB, free: 11.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2324, allocations: 4 kB / 0.7095 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2324, allocations: 8 kB / 0.7095 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.2334, allocations: 303.1 kB / 0.7098 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.2344, allocations: 235.6 kB / 0.71 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.2447, allocations: 11.1 MB / 0.7209 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.2455, allocations: 43.97 kB / 0.7209 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.2457, allocations: 51.98 kB / 0.721 GB, free: 14.7 MB / 0.5606 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.0005574/0.2462, allocations: 245.7 kB / 0.7212 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.2465, allocations: 123.2 kB / 0.7213 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/0.2504, allocations: 1.785 MB / 0.723 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.2505, allocations: 15.94 kB / 0.7231 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.2505, allocations: 4 kB / 0.7231 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.2505, allocations: 7.969 kB / 0.7231 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.2555, allocations: 2.457 MB / 0.7255 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2555, allocations: 0 / 0.7255 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/0.2564, allocations: 207.9 kB / 0.7257 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.2575, allocations: 314.5 kB / 0.726 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.733e-05/0.2576, allocations: 43.91 kB / 0.726 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.2679, allocations: 11.11 MB / 0.7369 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.2679, allocations: 4.031 kB / 0.7369 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/0.2724, allocations: 2.094 MB / 0.7389 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.2726, allocations: 99.23 kB / 0.739 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.2728, allocations: 35.92 kB / 0.739 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/0.2736, allocations: 59.95 kB / 0.7391 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.2738, allocations: 96.91 kB / 0.7392 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.2739, allocations: 47.97 kB / 0.7392 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000735/0.2746, allocations: 0.5068 MB / 0.7397 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2746, allocations: 0 / 0.7397 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001427/0.276, allocations: 403.7 kB / 0.7401 GB, free: 10.05 MB / 0.5762 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.0006625/0.2767, allocations: 381.7 kB / 0.7405 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003735/0.2804, allocations: 2 MB / 0.7424 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2805, allocations: 0 / 0.7424 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.283, allocations: 1.523 MB / 0.7439 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.2846, allocations: 309 kB / 0.7442 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/0.2898, allocations: 2.646 MB / 0.7468 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.2904, allocations: 0.5011 MB / 0.7473 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007632/0.2912, allocations: 216.8 kB / 0.7475 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.2915, allocations: 107.4 kB / 0.7476 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.2915, allocations: 4 kB / 0.7476 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of Templates: time 0.2879/0.5794, allocations: 24.9 MB / 0.7719 GB, free: 98.13 MB / 0.5762 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.568300180137157]