Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.0007989/0.0007989, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001836, 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.000689/0.000689, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009604/0.001649, 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.9159/0.9159, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.02, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7303/0.7303, allocations: 118.7 MB / 362.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07641/0.8067, allocations: 35.84 MB / 398.7 MB, free: 13.08 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.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.59e-05, allocations: 2.312 kB / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01445/0.01447, allocations: 8.355 MB / 408.4 MB, free: 3.379 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006163/0.02063, allocations: 2.446 MB / 410.8 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/0.02096, allocations: 47.56 kB / 410.9 MB, free: 0.875 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.02431, allocations: 182.2 kB / 411 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.02533, allocations: 0.6475 MB / 411.7 MB, free: 44 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.02579, allocations: 299.2 kB / 412 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.02706, allocations: 1.309 MB / 413.3 MB, free: 14.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/0.03031, allocations: 162.1 kB / 413.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000932/0.03124, allocations: 0.7763 MB / 414.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.03162, allocations: 342.9 kB / 414.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.0317, allocations: 60 kB / 414.6 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.03204, allocations: 183.7 kB / 414.8 MB, free: 12.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.03216, allocations: 127.4 kB / 414.9 MB, free: 12.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.0324, allocations: 255.4 kB / 415.2 MB, free: 12.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008665/0.03327, allocations: 0.7704 MB / 415.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.03328, allocations: 3.938 kB / 415.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03328, allocations: 0 / 415.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.0333, allocations: 0 / 415.9 MB, free: 11.75 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001593/0.03489, allocations: 1.477 MB / 417.4 MB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.03492, allocations: 8.031 kB / 417.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.03514, allocations: 144.6 kB / 417.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.03575, allocations: 0.6116 MB / 418.2 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.03578, allocations: 45.69 kB / 418.2 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.03584, allocations: 76.27 kB / 418.3 MB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.03626, allocations: 477.4 kB / 418.8 MB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.03628, allocations: 192 / 418.8 MB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.03631, allocations: 35.94 kB / 418.8 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.03632, allocations: 12 kB / 418.8 MB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.03658, allocations: 260.9 kB / 419.1 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.03841, allocations: 1.629 MB / 420.7 MB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.03883, allocations: 456.6 kB / 421.1 MB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.03894, allocations: 131.6 kB / 421.3 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/0.03975, allocations: 0.7384 MB / 422 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.03977, allocations: 43.05 kB / 422.1 MB, free: 5.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 1.513e-06/0.03978, allocations: 4 kB / 422.1 MB, free: 5.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.001403/0.04118, allocations: 0.6991 MB / 422.8 MB, free: 4.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.04121, allocations: 85.61 kB / 422.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.04155, allocations: 0.5895 MB / 423.4 MB, free: 4.012 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.04157, allocations: 37.7 kB / 423.5 MB, free: 3.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.04171, allocations: 334.4 kB / 423.8 MB, free: 3.637 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/0.04181, allocations: 206.2 kB / 424 MB, free: 3.434 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.04191, allocations: 118.2 kB / 424.1 MB, free: 3.312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.04198, allocations: 330 kB / 424.4 MB, free: 2.984 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/0.04205, allocations: 65.28 kB / 424.5 MB, free: 2.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.04218, allocations: 205.6 kB / 424.7 MB, free: 2.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.04244, allocations: 342.7 kB / 425 MB, free: 2.285 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.04244, allocations: 0 / 425 MB, free: 2.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0005184/0.04296, allocations: 479.6 kB / 425.5 MB, free: 1.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.04298, allocations: 15.28 kB / 425.5 MB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.04298, allocations: 4 kB / 425.5 MB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000746/0.04373, allocations: 278.3 kB / 425.8 MB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.04398, allocations: 139.8 kB / 425.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1921/0.2361, allocations: 2.374 MB / 428.3 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.2365, allocations: 63.66 kB / 428.4 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.2365, allocations: 20.03 kB / 428.4 MB, free: 13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection.turb_flag,thermalConvection1.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.2367, allocations: 156 kB / 428.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.2368, allocations: 64.45 kB / 428.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009977/0.2378, allocations: 0.6074 MB / 429.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.2378, allocations: 3.75 kB / 429.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2378, allocations: 5.547 kB / 429.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2378, allocations: 2.984 kB / 429.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.239, allocations: 0.7885 MB / 430 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.239, allocations: 1.125 kB / 430 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.2392, allocations: 85.16 kB / 430.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.2393, allocations: 96.48 kB / 430.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009049/0.2402, allocations: 285 kB / 430.5 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.2403, allocations: 13.75 kB / 430.5 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008697/0.2411, allocations: 2.381 MB / 432.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2411, allocations: 1.922 kB / 432.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.2419, allocations: 0.6477 MB / 433.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.2419, allocations: 13.56 kB / 433.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.2421, allocations: 12.75 kB / 433.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.2421, allocations: 45.17 kB / 433.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.2422, allocations: 12.41 kB / 433.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002651/0.2424, allocations: 289.3 kB / 433.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2424, allocations: 0.5625 kB / 433.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005772/0.243, allocations: 231.2 kB / 434.1 MB, free: 10.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002273/0.2432, allocations: 143.8 kB / 434.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000613/0.2438, allocations: 446.5 kB / 434.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.143e-05/0.2439, allocations: 20.72 kB / 434.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.2443, allocations: 344.5 kB / 435 MB, free: 9.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.2455, allocations: 1.746 MB / 436.8 MB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009352/0.2548, allocations: 1.43 MB / 438.2 MB, free: 7.375 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.255, allocations: 162.5 kB / 438.4 MB, free: 7.297 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005017/0.2555, allocations: 112.7 kB / 438.5 MB, free: 7.285 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/0.2559, allocations: 227.1 kB / 438.7 MB, free: 7.234 MB / 410.7 MB Notification: Performance of SimCode: time 2.003e-06/0.2559, allocations: 1.938 kB / 438.7 MB, free: 7.234 MB / 410.7 MB Notification: Performance of Templates: time 0.01601/0.2719, allocations: 13.33 MB / 452 MB, free: 352 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_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: 3.742338345386088]