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.0008708/0.0008708, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.002025, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008005/0.0008005, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009664/0.001767, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9427/0.9427, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08358/1.026, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7261/0.7261, allocations: 118.6 MB / 362.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06251/0.7886, allocations: 35.85 MB / 398.5 MB, free: 13.25 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.482e-06/1.482e-06, allocations: 0 / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.23e-05, allocations: 2.312 kB / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.007307/0.007329, allocations: 8.346 MB / 408.1 MB, free: 3.582 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.01068, allocations: 2.453 MB / 410.5 MB, free: 1.121 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.01117, allocations: 47.56 kB / 410.6 MB, free: 1.074 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.01153, allocations: 190.2 kB / 410.8 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.01276, allocations: 0.6319 MB / 411.4 MB, free: 256 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.01331, allocations: 307.2 kB / 411.7 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.01481, allocations: 1.306 MB / 413 MB, free: 14.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.01509, allocations: 162 kB / 413.2 MB, free: 14.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.01624, allocations: 0.7725 MB / 413.9 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.01663, allocations: 346.8 kB / 414.3 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.98e-05/0.0167, allocations: 56 kB / 414.3 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.01711, allocations: 183.7 kB / 414.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.604e-05/0.01721, allocations: 127.4 kB / 414.6 MB, free: 12.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.01743, allocations: 259.4 kB / 414.9 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.01827, allocations: 0.7665 MB / 415.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.74e-05/0.01829, allocations: 0 / 415.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01829, allocations: 0 / 415.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.01831, allocations: 0 / 415.7 MB, free: 11.96 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.001514/0.01983, allocations: 1.485 MB / 417.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.01986, allocations: 8.031 kB / 417.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.02009, allocations: 148.7 kB / 417.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006954/0.02079, allocations: 0.6076 MB / 417.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.02081, allocations: 53.69 kB / 417.9 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.02087, allocations: 68.31 kB / 418 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.02132, allocations: 477.3 kB / 418.5 MB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.02134, allocations: 192 / 418.5 MB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.02137, allocations: 35.94 kB / 418.5 MB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.02138, allocations: 16 kB / 418.5 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.02166, allocations: 245 kB / 418.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.02357, allocations: 1.633 MB / 420.4 MB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.02402, allocations: 468.5 kB / 420.9 MB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.02414, allocations: 127.6 kB / 421 MB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009073/0.02505, allocations: 0.7345 MB / 421.7 MB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.02508, allocations: 43 kB / 421.8 MB, free: 5.645 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 1.623e-06/0.02508, allocations: 0 / 421.8 MB, free: 5.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.001425/0.0265, allocations: 0.7031 MB / 422.5 MB, free: 4.926 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.02654, allocations: 89.55 kB / 422.6 MB, free: 4.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.0269, allocations: 0.5856 MB / 423.1 MB, free: 4.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.02693, allocations: 33.7 kB / 423.2 MB, free: 4.184 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.02707, allocations: 346.5 kB / 423.5 MB, free: 3.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.19e-05/0.02716, allocations: 206.2 kB / 423.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.02726, allocations: 114.2 kB / 423.8 MB, free: 3.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.02734, allocations: 333.9 kB / 424.2 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.02742, allocations: 61.27 kB / 424.2 MB, free: 3.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.02755, allocations: 197.7 kB / 424.4 MB, free: 2.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.02781, allocations: 334.6 kB / 424.7 MB, free: 2.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02781, allocations: 0 / 424.7 MB, free: 2.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0005254/0.02834, allocations: 475.7 kB / 425.2 MB, free: 2.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.02835, allocations: 15.22 kB / 425.2 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.02836, allocations: 4 kB / 425.2 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007867/0.02915, allocations: 278.3 kB / 425.5 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.02943, allocations: 131.8 kB / 425.6 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2066/0.236, allocations: 2.377 MB / 428 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.2365, allocations: 66.64 kB / 428.1 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.2366, allocations: 21.86 kB / 428.1 MB, free: 13.24 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.0002253/0.2368, allocations: 151.9 kB / 428.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.2369, allocations: 69.62 kB / 428.3 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.2382, allocations: 0.5976 MB / 428.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2382, allocations: 9.406 kB / 428.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2382, allocations: 4.938 kB / 428.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2382, allocations: 4.078 kB / 428.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.2395, allocations: 0.7829 MB / 429.7 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2395, allocations: 2.625 kB / 429.7 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.2398, allocations: 88.14 kB / 429.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.24, allocations: 97.45 kB / 429.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009951/0.241, allocations: 289.4 kB / 430.2 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.241, allocations: 13.59 kB / 430.2 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000996/0.242, allocations: 2.371 MB / 432.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.242, allocations: 1.531 kB / 432.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008547/0.2428, allocations: 0.6459 MB / 433.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.2429, allocations: 12.09 kB / 433.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.2431, allocations: 12.39 kB / 433.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.2432, allocations: 37.78 kB / 433.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.2432, allocations: 15.36 kB / 433.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000298/0.2435, allocations: 291.1 kB / 433.6 MB, free: 10.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2435, allocations: 0 / 433.6 MB, free: 10.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006559/0.2442, allocations: 235 kB / 433.8 MB, free: 10.31 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.0002219/0.2444, allocations: 148.3 kB / 433.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006633/0.2451, allocations: 445.4 kB / 434.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.161e-05/0.2451, allocations: 20.33 kB / 434.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.2455, allocations: 304 kB / 434.7 MB, free: 9.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/0.2464, allocations: 337.2 kB / 435 MB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.262, allocations: 1.443 MB / 436.4 MB, free: 9.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.2622, allocations: 162.7 kB / 436.6 MB, free: 9.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005104/0.2627, allocations: 114 kB / 436.7 MB, free: 9.184 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.2631, allocations: 227.4 kB / 436.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.2631, allocations: 2 kB / 436.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of Templates: time 0.01731/0.2804, allocations: 13.5 MB / 450.4 MB, free: 2.234 MB / 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.981753041036427]