Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001062/0.001062, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001764/0.002826, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001082/0.001082, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002513, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.982/0.982, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08465/1.067, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6598/0.6598, allocations: 118.7 MB / 362.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06115/0.7209, allocations: 35.85 MB / 398.7 MB, free: 13.09 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="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_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.214e-05, allocations: 6.25 kB / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.008461/0.008483, allocations: 10.92 MB / 410.9 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.01279, allocations: 2.575 MB / 413.5 MB, free: 14.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008574/0.01365, allocations: 63.38 kB / 413.6 MB, free: 14.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.01418, allocations: 281.6 kB / 413.9 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.01592, allocations: 1.059 MB / 414.9 MB, free: 12.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.01697, allocations: 0.5645 MB / 415.5 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.01885, allocations: 2.403 MB / 417.9 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.01913, allocations: 183.4 kB / 418.1 MB, free: 9.641 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.02065, allocations: 1.398 MB / 419.5 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.02127, allocations: 0.6425 MB / 420.1 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.02138, allocations: 96 kB / 420.2 MB, free: 7.504 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.0219, allocations: 271.7 kB / 420.5 MB, free: 7.238 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.02206, allocations: 203.1 kB / 420.7 MB, free: 7.039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.02243, allocations: 419.1 kB / 421.1 MB, free: 6.629 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.02362, allocations: 1.171 MB / 422.2 MB, free: 5.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.02364, allocations: 0 / 422.2 MB, free: 5.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02364, allocations: 0 / 422.2 MB, free: 5.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.02366, allocations: 0 / 422.2 MB, free: 5.453 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001934/0.02559, allocations: 1.983 MB / 424.2 MB, free: 3.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.02562, allocations: 8.031 kB / 424.2 MB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.02606, allocations: 260.2 kB / 424.5 MB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009277/0.02699, allocations: 0.7867 MB / 425.3 MB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.02704, allocations: 74.38 kB / 425.3 MB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.02714, allocations: 108.3 kB / 425.4 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008709/0.02801, allocations: 0.9972 MB / 426.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.02803, allocations: 4.125 kB / 426.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.02808, allocations: 39.94 kB / 426.5 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.0281, allocations: 24 kB / 426.5 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.02851, allocations: 373.5 kB / 426.9 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1911/0.2196, allocations: 2.443 MB / 429.3 MB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.2204, allocations: 0.6581 MB / 430 MB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.2206, allocations: 212.8 kB / 430.2 MB, free: 19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.2222, allocations: 1.019 MB / 431.2 MB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2222, allocations: 44.58 kB / 431.2 MB, free: 18.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 2.755e-06/0.2222, allocations: 0 / 431.2 MB, free: 18.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.005634/0.2278, allocations: 3.007 MB / 434.3 MB, free: 18.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.2279, allocations: 92.05 kB / 434.3 MB, free: 18.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.2284, allocations: 0.6801 MB / 435 MB, free: 17.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.2285, allocations: 48.55 kB / 435.1 MB, free: 17.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.2286, allocations: 387.1 kB / 435.5 MB, free: 17.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.2288, allocations: 441.9 kB / 435.9 MB, free: 17.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.229, allocations: 200.4 kB / 436.1 MB, free: 17.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.2291, allocations: 358 kB / 436.4 MB, free: 17.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.2292, allocations: 129.7 kB / 436.6 MB, free: 17.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.2295, allocations: 326 kB / 436.9 MB, free: 16.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.23, allocations: 0.6191 MB / 437.5 MB, free: 16.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.23, allocations: 4.25 kB / 437.5 MB, free: 16.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0009076/0.2309, allocations: 0.7978 MB / 438.3 MB, free: 16.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2309, allocations: 7.484 kB / 438.3 MB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2309, allocations: 9.375 kB / 438.3 MB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.2315, allocations: 286.1 kB / 438.6 MB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.232, allocations: 266.5 kB / 438.8 MB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/0.2352, allocations: 9.876 MB / 448.7 MB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.2356, allocations: 43.09 kB / 448.8 MB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.2357, allocations: 31.84 kB / 448.8 MB, free: 7.426 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (126): * Single equations (assignments): 118 * 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.000241/0.2359, allocations: 189.4 kB / 449 MB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.2361, allocations: 113.7 kB / 449.1 MB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.2372, allocations: 1.18 MB / 450.3 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2372, allocations: 9.969 kB / 450.3 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2372, allocations: 4.312 kB / 450.3 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2372, allocations: 8.594 kB / 450.3 MB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.2388, allocations: 1.54 MB / 451.8 MB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2388, allocations: 4.547 kB / 451.8 MB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.2392, allocations: 229.1 kB / 452.1 MB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.2394, allocations: 128.5 kB / 452.2 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/0.2399, allocations: 308.8 kB / 452.5 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.24, allocations: 33.3 kB / 452.5 MB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003431/0.2434, allocations: 9.876 MB / 462.4 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2434, allocations: 0 / 462.4 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.2446, allocations: 1.136 MB / 463.5 MB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.54e-05/0.2447, allocations: 31.95 kB / 463.6 MB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.245, allocations: 43.97 kB / 463.6 MB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.2452, allocations: 104.9 kB / 463.7 MB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.2452, allocations: 28.47 kB / 463.7 MB, free: 9.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002632/0.2455, allocations: 365.9 kB / 464.1 MB, free: 9.297 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2455, allocations: 4 kB / 464.1 MB, free: 9.293 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008725/0.2463, allocations: 367.9 kB / 464.5 MB, free: 8.934 MB / 426.7 MB 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 (97): * Single equations (assignments): 89 * 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.0002308/0.2466, allocations: 142.1 kB / 464.6 MB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.2478, allocations: 1.55 MB / 466.2 MB, free: 7.188 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-05/0.2479, allocations: 32.12 kB / 466.2 MB, free: 7.156 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009702/0.2488, allocations: 1.388 MB / 467.6 MB, free: 5.699 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.2507, allocations: 3.07 MB / 470.6 MB, free: 2.074 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.2641, allocations: 2.293 MB / 472.9 MB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2643, allocations: 244.1 kB / 473.2 MB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007219/0.2651, allocations: 220.7 kB / 473.4 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006851/0.2657, allocations: 419 kB / 473.8 MB, free: 14.92 MB / 442.7 MB Notification: Performance of SimCode: time 1.913e-06/0.2657, allocations: 0 / 473.8 MB, free: 14.92 MB / 442.7 MB Notification: Performance of Templates: time 0.03158/0.2973, allocations: 27.45 MB / 0.4895 GB, free: 4.078 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.162168497219682]