Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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.0008669/0.0008669, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00121/0.002076, 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.001154/0.001154, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002671, 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.9756/0.9756, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08912/1.065, 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-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.6919/0.6919, allocations: 118.8 MB / 362.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05587/0.7478, allocations: 35.86 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 400.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.877e-05, allocations: 10.25 kB / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.008721/0.00874, allocations: 7.187 MB / 407.3 MB, free: 4.664 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.01236, allocations: 2.134 MB / 409.4 MB, free: 2.523 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.01276, allocations: 35.69 kB / 409.4 MB, free: 2.488 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.01309, allocations: 134.7 kB / 409.6 MB, free: 2.355 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.01421, allocations: 0.4925 MB / 410.1 MB, free: 1.859 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.01475, allocations: 239.2 kB / 410.3 MB, free: 1.625 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.01582, allocations: 0.9132 MB / 411.2 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.01605, allocations: 106.8 kB / 411.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000945/0.01699, allocations: 0.5639 MB / 411.9 MB, free: 28 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.01735, allocations: 235.2 kB / 412.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.366e-05/0.01742, allocations: 40 kB / 412.1 MB, free: 15.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.01781, allocations: 163.7 kB / 412.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.01792, allocations: 83.56 kB / 412.4 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.01813, allocations: 179.6 kB / 412.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008474/0.01898, allocations: 0.5797 MB / 413.1 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.01899, allocations: 0 / 413.1 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01899, allocations: 4 kB / 413.1 MB, free: 14.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.01901, allocations: 0 / 413.1 MB, free: 14.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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001527/0.02054, allocations: 1.123 MB / 414.3 MB, free: 13.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.02057, allocations: 8.031 kB / 414.3 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.02086, allocations: 104.8 kB / 414.4 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/0.02166, allocations: 0.4979 MB / 414.9 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.02169, allocations: 33.38 kB / 414.9 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.02175, allocations: 44.36 kB / 415 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.02249, allocations: 328 kB / 415.3 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.02251, allocations: 3.938 kB / 415.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.02254, allocations: 19.98 kB / 415.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.02255, allocations: 12 kB / 415.3 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.02284, allocations: 157.6 kB / 415.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.02457, allocations: 1.156 MB / 416.6 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.02502, allocations: 280.9 kB / 416.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.02516, allocations: 85.67 kB / 417 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.02616, allocations: 0.5834 MB / 417.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.02619, allocations: 34.84 kB / 417.6 MB, free: 10.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.02619, allocations: 0 / 417.6 MB, free: 10.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001475/0.02767, allocations: 458.7 kB / 418 MB, free: 9.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.02771, allocations: 81.11 kB / 418.1 MB, free: 9.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.02811, allocations: 463 kB / 418.6 MB, free: 9.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.02814, allocations: 33.83 kB / 418.6 MB, free: 9.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.02829, allocations: 253.6 kB / 418.9 MB, free: 8.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.066e-05/0.02838, allocations: 130.9 kB / 419 MB, free: 8.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.02849, allocations: 74.16 kB / 419.1 MB, free: 8.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.02862, allocations: 370.7 kB / 419.4 MB, free: 8.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.0287, allocations: 36.98 kB / 419.4 MB, free: 8.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.02883, allocations: 130.7 kB / 419.6 MB, free: 8.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.02909, allocations: 219 kB / 419.8 MB, free: 7.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.0291, allocations: 0 / 419.8 MB, free: 7.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005701/0.02967, allocations: 296.7 kB / 420.1 MB, free: 7.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.02969, allocations: 11.94 kB / 420.1 MB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.02969, allocations: 4 kB / 420.1 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/0.03044, allocations: 165.6 kB / 420.3 MB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.03072, allocations: 79.91 kB / 420.3 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.0322, allocations: 1.793 MB / 422.1 MB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.03241, allocations: 35.73 kB / 422.2 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.03244, allocations: 12 kB / 422.2 MB, free: 5.273 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.03258, allocations: 136.7 kB / 422.3 MB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.03267, allocations: 43.95 kB / 422.4 MB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.03324, allocations: 355.6 kB / 422.7 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.03324, allocations: 4 kB / 422.7 MB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.03325, allocations: 3.984 kB / 422.7 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.03325, allocations: 0 / 422.7 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.0344, allocations: 0.6106 MB / 423.3 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.0344, allocations: 8.062 kB / 423.3 MB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.0346, allocations: 51.97 kB / 423.4 MB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.03472, allocations: 67.5 kB / 423.4 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006936/0.03541, allocations: 169.5 kB / 423.6 MB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.03543, allocations: 8 kB / 423.6 MB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.03656, allocations: 1.778 MB / 425.4 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.03656, allocations: 4.156 kB / 425.4 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.03737, allocations: 0.5093 MB / 425.9 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.03742, allocations: 7.938 kB / 425.9 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.03764, allocations: 8 kB / 425.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.0377, allocations: 23.95 kB / 425.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.03772, allocations: 15.98 kB / 426 MB, free: 1.258 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002251/0.03794, allocations: 216.3 kB / 426.2 MB, free: 1.047 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03794, allocations: 0 / 426.2 MB, free: 1.047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005068/0.03845, allocations: 163.7 kB / 426.3 MB, free: 0.8867 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002121/0.03866, allocations: 140.2 kB / 426.5 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005201/0.03918, allocations: 324.3 kB / 426.8 MB, free: 420 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/0.0392, allocations: 8 kB / 426.8 MB, free: 412 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.03952, allocations: 252.6 kB / 427 MB, free: 144 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1559/0.1954, allocations: 1.334 MB / 428.4 MB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006756/0.2022, allocations: 1.041 MB / 429.4 MB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.2023, allocations: 131.3 kB / 429.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.2025, allocations: 77.67 kB / 429.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.2028, allocations: 180.6 kB / 429.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.645e-06/0.2028, allocations: 0 / 429.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of Templates: time 0.01389/0.2167, allocations: 9.545 MB / 439.3 MB, free: 11.54 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_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.4981188224628568]