Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0008013/0.0008013, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001862, 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.000679/0.000679, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001709, 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 1.005/1.005, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0998/1.104, allocations: 53.68 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.6482/0.6482, allocations: 118.8 MB / 362.9 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06143/0.7097, 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.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 400.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.403e-05, allocations: 6.312 kB / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.006246/0.00626, allocations: 8.343 MB / 408.4 MB, free: 3.508 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.009205, allocations: 2.45 MB / 410.9 MB, free: 1.047 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/0.009617, allocations: 47.56 kB / 410.9 MB, free: 1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.009914, allocations: 190.2 kB / 411.1 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009384/0.01085, allocations: 0.6436 MB / 411.7 MB, free: 168 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.01134, allocations: 299.2 kB / 412 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.0124, allocations: 1.306 MB / 413.3 MB, free: 14.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.01262, allocations: 158 kB / 413.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008417/0.01346, allocations: 0.7802 MB / 414.3 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.01378, allocations: 342.9 kB / 414.6 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.01384, allocations: 56 kB / 414.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.01415, allocations: 187.7 kB / 414.9 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.904e-05/0.01424, allocations: 119.4 kB / 415 MB, free: 12.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.01442, allocations: 259.4 kB / 415.2 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.0151, allocations: 0.7704 MB / 416 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.01511, allocations: 0 / 416 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01511, allocations: 3.938 kB / 416 MB, free: 11.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.01512, allocations: 4 kB / 416 MB, free: 11.88 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.001339/0.01646, allocations: 1.477 MB / 417.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.01649, allocations: 12.03 kB / 417.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.01671, allocations: 144.7 kB / 417.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.01735, allocations: 0.6115 MB / 418.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.01738, allocations: 45.69 kB / 418.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.01744, allocations: 64.33 kB / 418.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.01787, allocations: 481.3 kB / 418.8 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01789, allocations: 4.188 kB / 418.8 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.01792, allocations: 35.92 kB / 418.9 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01793, allocations: 16 kB / 418.9 MB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.0182, allocations: 245 kB / 419.1 MB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.01979, allocations: 1.637 MB / 420.8 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.02023, allocations: 456.6 kB / 421.2 MB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.02035, allocations: 131.6 kB / 421.3 MB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000846/0.02119, allocations: 0.7423 MB / 422.1 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.02122, allocations: 39.06 kB / 422.1 MB, free: 5.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 1.563e-06/0.02122, allocations: 0 / 422.1 MB, free: 5.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.001376/0.02259, allocations: 0.7069 MB / 422.8 MB, free: 4.844 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.02263, allocations: 85.61 kB / 422.9 MB, free: 4.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.02298, allocations: 0.5896 MB / 423.5 MB, free: 4.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.02301, allocations: 33.7 kB / 423.5 MB, free: 4.098 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.02316, allocations: 346.5 kB / 423.9 MB, free: 3.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.02326, allocations: 206.2 kB / 424.1 MB, free: 3.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.02336, allocations: 110.2 kB / 424.2 MB, free: 3.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.02345, allocations: 333.9 kB / 424.5 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.02353, allocations: 57.28 kB / 424.5 MB, free: 3.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.02367, allocations: 209.6 kB / 424.8 MB, free: 2.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.02396, allocations: 342.7 kB / 425.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.02397, allocations: 4 kB / 425.1 MB, free: 2.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0005247/0.02449, allocations: 471.6 kB / 425.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.02451, allocations: 8 kB / 425.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.02451, allocations: 4 kB / 425.6 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007538/0.02527, allocations: 290.3 kB / 425.8 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.02551, allocations: 135.8 kB / 426 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1807/0.2062, allocations: 2.373 MB / 428.4 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.2066, allocations: 60.64 kB / 428.4 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.2067, allocations: 25.41 kB / 428.4 MB, free: 13.14 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.0001896/0.2069, allocations: 151.6 kB / 428.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.2069, allocations: 64.12 kB / 428.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009222/0.2079, allocations: 0.6066 MB / 429.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2079, allocations: 6.25 kB / 429.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2079, allocations: 2.469 kB / 429.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2079, allocations: 3.797 kB / 429.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.2089, allocations: 0.7921 MB / 430.1 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2089, allocations: 1.344 kB / 430.1 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2091, allocations: 86.28 kB / 430.1 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.2093, allocations: 101 kB / 430.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007693/0.21, allocations: 285.8 kB / 430.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.21, allocations: 13.69 kB / 430.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007786/0.2108, allocations: 2.376 MB / 432.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2108, allocations: 0.75 kB / 432.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.2115, allocations: 0.6449 MB / 433.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.2115, allocations: 15.55 kB / 433.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2117, allocations: 13.16 kB / 433.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.2118, allocations: 46.94 kB / 433.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.2118, allocations: 12.36 kB / 433.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002355/0.212, allocations: 287.5 kB / 433.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.212, allocations: 1.906 kB / 433.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004829/0.2125, allocations: 233.1 kB / 434.2 MB, free: 10.21 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.0001898/0.2127, allocations: 146.9 kB / 434.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005199/0.2132, allocations: 451 kB / 434.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-05/0.2132, allocations: 18.08 kB / 434.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.2136, allocations: 340 kB / 435.1 MB, free: 9.891 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.2145, allocations: 1.746 MB / 436.8 MB, free: 8.227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/0.2233, allocations: 1.427 MB / 438.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2234, allocations: 162.8 kB / 438.4 MB, free: 7.441 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.2239, allocations: 114 kB / 438.5 MB, free: 7.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.2242, allocations: 234.7 kB / 438.8 MB, free: 7.379 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2242, allocations: 0.9375 kB / 438.8 MB, free: 7.379 MB / 410.7 MB Notification: Performance of Templates: time 0.01516/0.2394, allocations: 13.33 MB / 452.1 MB, free: 468 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.6923328125849366]