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.001029/0.001029, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002552, 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.001086/0.001086, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002492, 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.9166/0.9166, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0864/1.003, allocations: 53.66 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-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.7167/0.7167, allocations: 118.8 MB / 362.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09683/0.8135, allocations: 35.85 MB / 398.8 MB, free: 13.2 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-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="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="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 1.533e-06/1.533e-06, allocations: 0 / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.476e-05, allocations: 2.312 kB / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.01246/0.01249, allocations: 10.93 MB / 411 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006818/0.01931, allocations: 2.571 MB / 413.6 MB, free: 14.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/0.02108, allocations: 67.38 kB / 413.6 MB, free: 14.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009116/0.02199, allocations: 281.6 kB / 413.9 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.02586, allocations: 1.063 MB / 415 MB, free: 12.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.02766, allocations: 0.557 MB / 415.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.03011, allocations: 2.399 MB / 417.9 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.03035, allocations: 179.4 kB / 418.1 MB, free: 9.758 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.03152, allocations: 1.398 MB / 419.5 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005675/0.03209, allocations: 0.6464 MB / 420.1 MB, free: 7.711 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.543e-05/0.03219, allocations: 96 kB / 420.2 MB, free: 7.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.03263, allocations: 271.7 kB / 420.5 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.03277, allocations: 207 kB / 420.7 MB, free: 7.148 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.03312, allocations: 415.1 kB / 421.1 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.03417, allocations: 1.175 MB / 422.3 MB, free: 5.562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.03418, allocations: 0 / 422.3 MB, free: 5.562 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.03418, allocations: 0 / 422.3 MB, free: 5.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.0342, allocations: 0 / 422.3 MB, free: 5.562 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.001759/0.03596, allocations: 1.983 MB / 424.3 MB, free: 3.527 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.592e-05/0.03598, allocations: 12.02 kB / 424.3 MB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/0.03637, allocations: 252.2 kB / 424.5 MB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008126/0.03718, allocations: 0.7829 MB / 425.3 MB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.03722, allocations: 70.38 kB / 425.4 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/0.03731, allocations: 108.3 kB / 425.5 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.03833, allocations: 1.005 MB / 426.5 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.03835, allocations: 192 / 426.5 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.0384, allocations: 43.94 kB / 426.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.03841, allocations: 27.98 kB / 426.6 MB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.0388, allocations: 365.5 kB / 426.9 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1774/0.2162, allocations: 2.448 MB / 429.4 MB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.2171, allocations: 0.657 MB / 430 MB, free: 19.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.2174, allocations: 215.7 kB / 430.2 MB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/0.2189, allocations: 1.013 MB / 431.2 MB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2189, allocations: 48.91 kB / 431.3 MB, free: 18.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 3.466e-06/0.2189, allocations: 0 / 431.3 MB, free: 18.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.006525/0.2255, allocations: 3.006 MB / 434.3 MB, free: 18.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2255, allocations: 92.02 kB / 434.4 MB, free: 18.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.2261, allocations: 0.6824 MB / 435.1 MB, free: 17.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.2261, allocations: 45.42 kB / 435.1 MB, free: 17.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.2263, allocations: 390.2 kB / 435.5 MB, free: 17.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.2265, allocations: 450.5 kB / 435.9 MB, free: 17.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.2268, allocations: 198.1 kB / 436.1 MB, free: 17.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.2268, allocations: 354 kB / 436.5 MB, free: 17.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.227, allocations: 128.2 kB / 436.6 MB, free: 17.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.2273, allocations: 333.2 kB / 436.9 MB, free: 16.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.2278, allocations: 0.614 MB / 437.5 MB, free: 16.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.2279, allocations: 2.75 kB / 437.5 MB, free: 16.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0009714/0.2288, allocations: 0.8033 MB / 438.3 MB, free: 16.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2288, allocations: 6.281 kB / 438.4 MB, free: 16.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2289, allocations: 10.53 kB / 438.4 MB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.2294, allocations: 283.4 kB / 438.6 MB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.2299, allocations: 269.7 kB / 438.9 MB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.2331, allocations: 9.879 MB / 448.8 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.2336, allocations: 39 kB / 448.8 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.2337, allocations: 32.06 kB / 448.9 MB, free: 7.441 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.0002706/0.234, allocations: 192 kB / 449 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.2341, allocations: 108.3 kB / 449.1 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.2353, allocations: 1.175 MB / 450.3 MB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.2353, allocations: 11.62 kB / 450.3 MB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2353, allocations: 3.125 kB / 450.3 MB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.2353, allocations: 13.05 kB / 450.3 MB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.2369, allocations: 1.542 MB / 451.9 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2369, allocations: 2.312 kB / 451.9 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.2374, allocations: 227.4 kB / 452.1 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.2376, allocations: 130.6 kB / 452.2 MB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/0.2381, allocations: 307.7 kB / 452.5 MB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.2382, allocations: 41.14 kB / 452.6 MB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.2418, allocations: 9.867 MB / 462.4 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.2418, allocations: 0 / 462.4 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.2431, allocations: 1.142 MB / 463.6 MB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.2433, allocations: 28.61 kB / 463.6 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.2436, allocations: 40.53 kB / 463.7 MB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.2438, allocations: 104.9 kB / 463.8 MB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.2439, allocations: 35.91 kB / 463.8 MB, free: 9.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003195/0.2442, allocations: 365.6 kB / 464.2 MB, free: 9.508 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2442, allocations: 0 / 464.2 MB, free: 9.508 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001036/0.2452, allocations: 368.8 kB / 464.5 MB, free: 9.148 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.0002564/0.2455, allocations: 144 kB / 464.7 MB, free: 9.008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.2469, allocations: 1.56 MB / 466.2 MB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-05/0.2469, allocations: 23.95 kB / 466.2 MB, free: 7.371 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.248, allocations: 1.369 MB / 467.6 MB, free: 5.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.25, allocations: 3.082 MB / 470.7 MB, free: 2.293 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.2648, allocations: 2.303 MB / 473 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.265, allocations: 236.1 kB / 473.2 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008041/0.2658, allocations: 219.6 kB / 473.4 MB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006853/0.2665, allocations: 424.4 kB / 473.9 MB, free: 15.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.944e-06/0.2665, allocations: 0 / 473.9 MB, free: 15.11 MB / 442.7 MB Notification: Performance of Templates: time 0.03152/0.298, allocations: 27.46 MB / 0.4896 GB, free: 4.254 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.1499556209892035]