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.001332/0.001332, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001473/0.001473, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.7576/0.7576, allocations: 100.9 MB / 414.1 MB, free: 2.852 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.002527/0.002527, allocations: 89.31 kB / 0.5653 GB, free: 35.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1154, allocations: 74.61 MB / 0.6382 GB, free: 5.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04397/0.1594, allocations: 37.58 MB / 0.6749 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008223/0.1676, allocations: 4.969 MB / 0.6797 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1687, allocations: 55.5 kB / 0.6798 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.1701, allocations: 0.4965 MB / 0.6803 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.1736, allocations: 1.371 MB / 0.6816 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.1759, allocations: 0.8961 MB / 0.6825 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002775/0.1786, allocations: 2.159 MB / 0.6846 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.179, allocations: 165.3 kB / 0.6847 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.1818, allocations: 1.373 MB / 0.6861 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.1829, allocations: 0.7347 MB / 0.6868 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.183, allocations: 100 kB / 0.6869 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.1848, allocations: 0.6749 MB / 0.6876 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.1851, allocations: 274.8 kB / 0.6878 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005924/0.1857, allocations: 0.5364 MB / 0.6883 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.1884, allocations: 1.844 MB / 0.6901 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1884, allocations: 0 / 0.6901 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1884, allocations: 8 kB / 0.6902 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.1884, allocations: 0 / 0.6902 GB, free: 0.5156 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003269/0.1917, allocations: 1.621 MB / 0.6917 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1918, allocations: 9.469 kB / 0.6917 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006323/0.1924, allocations: 180 kB / 0.6919 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.194, allocations: 0.7925 MB / 0.6927 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.1941, allocations: 74.12 kB / 0.6928 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.1942, allocations: 99.94 kB / 0.6929 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.1963, allocations: 1.321 MB / 0.6941 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.1963, allocations: 0 / 0.6941 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.1964, allocations: 43.94 kB / 0.6942 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.1964, allocations: 24 kB / 0.6942 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.1982, allocations: 1.001 MB / 0.6952 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.2033, allocations: 2.918 MB / 0.698 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.2052, allocations: 0.8617 MB / 0.6989 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008074/0.206, allocations: 444.1 kB / 0.6993 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002951/0.2089, allocations: 1.33 MB / 0.7006 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.209, allocations: 51.22 kB / 0.7006 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 2.896e-06/0.209, allocations: 0 / 0.7006 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01044/0.2194, allocations: 4.03 MB / 0.7046 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.2195, allocations: 90.2 kB / 0.7047 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/0.2204, allocations: 0.6966 MB / 0.7054 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.914e-05/0.2205, allocations: 49.7 kB / 0.7054 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/0.2209, allocations: 493.3 kB / 0.7059 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.2213, allocations: 440.4 kB / 0.7063 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.2216, allocations: 198.9 kB / 0.7065 GB, free: 15.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2217, allocations: 349.7 kB / 0.7068 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009087/0.2226, allocations: 410.4 kB / 0.7072 GB, free: 14.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.2237, allocations: 0.5764 MB / 0.7078 GB, free: 14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.2258, allocations: 1.049 MB / 0.7088 GB, free: 12.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2258, allocations: 0 / 0.7088 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003412/0.2292, allocations: 1.481 MB / 0.7102 GB, free: 11.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.2292, allocations: 4 kB / 0.7102 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.2292, allocations: 4 kB / 0.7102 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.2303, allocations: 306.8 kB / 0.7105 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/0.2312, allocations: 231.7 kB / 0.7108 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.2415, allocations: 11.1 MB / 0.7216 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/0.2424, allocations: 47.95 kB / 0.7216 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.2426, allocations: 52.17 kB / 0.7217 GB, free: 14.81 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.0005146/0.2431, allocations: 247.1 kB / 0.7219 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.2433, allocations: 123.2 kB / 0.722 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.2472, allocations: 1.789 MB / 0.7238 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.2472, allocations: 16 kB / 0.7238 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2472, allocations: 4 kB / 0.7238 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.2472, allocations: 11.97 kB / 0.7238 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/0.2521, allocations: 2.453 MB / 0.7262 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2521, allocations: 0 / 0.7262 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.2529, allocations: 207.7 kB / 0.7264 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.2539, allocations: 306.7 kB / 0.7267 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.523e-05/0.254, allocations: 35.98 kB / 0.7267 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.2643, allocations: 11.12 MB / 0.7376 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2643, allocations: 3.938 kB / 0.7376 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/0.2688, allocations: 2.094 MB / 0.7396 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.269, allocations: 99.23 kB / 0.7397 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.2692, allocations: 31.94 kB / 0.7398 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/0.2699, allocations: 51.95 kB / 0.7398 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.2701, allocations: 108.8 kB / 0.7399 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9e-05/0.2702, allocations: 43.97 kB / 0.74 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000713/0.2709, allocations: 0.5107 MB / 0.7405 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2709, allocations: 3.938 kB / 0.7405 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001366/0.2723, allocations: 403.7 kB / 0.7409 GB, free: 10.16 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.0006198/0.2729, allocations: 383.8 kB / 0.7412 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003563/0.2765, allocations: 1.984 MB / 0.7432 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/0.2765, allocations: 4 kB / 0.7432 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.279, allocations: 1.531 MB / 0.7447 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.2804, allocations: 299.2 kB / 0.7449 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.2856, allocations: 2.693 MB / 0.7476 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.2862, allocations: 0.4972 MB / 0.7481 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.2866, allocations: 119.4 kB / 0.7482 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.2866, allocations: 0 / 0.7482 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of Templates: time 0.2892/0.5758, allocations: 54.89 MB / 0.8018 GB, free: 69.95 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/jenkins1/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: 11.975119171198457]