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.002613/0.002613, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.003035/0.003035, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.001/1.001, allocations: 118.6 MB / 378.2 MB, free: 1.461 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="Time|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="Time|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.823e-06/1.823e-06, allocations: 0 / 482.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.201e-05, allocations: 7.438 kB / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.05083/0.05086, allocations: 24.85 MB / 0.4958 GB, free: 7.074 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01844/0.0693, allocations: 8.974 MB / 0.5046 GB, free: 15 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.0704, allocations: 51.5 kB / 0.5046 GB, free: 14.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.0717, allocations: 380.7 kB / 0.505 GB, free: 14.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.07464, allocations: 0.8988 MB / 0.5059 GB, free: 13.83 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.07615, allocations: 498 kB / 0.5063 GB, free: 13.34 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002043/0.07819, allocations: 1.298 MB / 0.5076 GB, free: 12.04 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.07856, allocations: 148.1 kB / 0.5078 GB, free: 11.88 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.07985, allocations: 0.705 MB / 0.5084 GB, free: 11.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005922/0.08044, allocations: 350.8 kB / 0.5088 GB, free: 10.83 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.08057, allocations: 56 kB / 0.5088 GB, free: 10.78 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.08205, allocations: 487.1 kB / 0.5093 GB, free: 10.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.08226, allocations: 163.2 kB / 0.5095 GB, free: 10.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.0827, allocations: 303.1 kB / 0.5097 GB, free: 9.844 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.08521, allocations: 1.261 MB / 0.511 GB, free: 8.578 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.08522, allocations: 0 / 0.511 GB, free: 8.578 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.08522, allocations: 0 / 0.511 GB, free: 8.578 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.08523, allocations: 4 kB / 0.511 GB, free: 8.574 MB / 442.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.002706/0.08794, allocations: 1.405 MB / 0.5124 GB, free: 7.125 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.08798, allocations: 12.02 kB / 0.5124 GB, free: 7.113 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004806/0.08846, allocations: 180.1 kB / 0.5125 GB, free: 6.938 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.08974, allocations: 0.6643 MB / 0.5132 GB, free: 6.238 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.08979, allocations: 49.69 kB / 0.5132 GB, free: 6.191 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.0899, allocations: 64.38 kB / 0.5133 GB, free: 6.129 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.09114, allocations: 0.6402 MB / 0.5139 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.09116, allocations: 192 / 0.5139 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/0.09123, allocations: 35.88 kB / 0.514 GB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.09125, allocations: 12 kB / 0.514 GB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.09227, allocations: 484.9 kB / 0.5144 GB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004333/0.0966, allocations: 2.543 MB / 0.5169 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.09807, allocations: 0.6107 MB / 0.5175 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.09853, allocations: 242.7 kB / 0.5177 GB, free: 1.434 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002265/0.1008, allocations: 1.115 MB / 0.5188 GB, free: 308 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.1008, allocations: 41.89 kB / 0.5189 GB, free: 256 kB / 442.7 MB Notification: Performance of pre-optimization done (n=58): time 2.074e-06/0.1008, allocations: 0 / 0.5189 GB, free: 256 kB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.004219/0.1051, allocations: 1.073 MB / 0.5199 GB, free: 15.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.1051, allocations: 81.73 kB / 0.52 GB, free: 15.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.1061, allocations: 0.7923 MB / 0.5208 GB, free: 14.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.1062, allocations: 33.7 kB / 0.5208 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.1066, allocations: 0.5032 MB / 0.5213 GB, free: 13.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.1068, allocations: 222.1 kB / 0.5215 GB, free: 13.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.1071, allocations: 136.3 kB / 0.5216 GB, free: 13.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002986/0.1074, allocations: 0.5121 MB / 0.5221 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.1077, allocations: 157.9 kB / 0.5223 GB, free: 12.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.1083, allocations: 369.2 kB / 0.5226 GB, free: 12.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009468/0.1092, allocations: 0.5848 MB / 0.5232 GB, free: 11.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.1092, allocations: 4 kB / 0.5232 GB, free: 11.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002683/0.1119, allocations: 0.8743 MB / 0.5241 GB, free: 10.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1119, allocations: 8 kB / 0.5241 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1119, allocations: 7.984 kB / 0.5241 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.1139, allocations: 335 kB / 0.5244 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.1144, allocations: 115.8 kB / 0.5245 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/0.1177, allocations: 3.758 MB / 0.5282 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.1181, allocations: 55.91 kB / 0.5282 GB, free: 6.215 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.1182, allocations: 32 kB / 0.5283 GB, free: 6.184 MB / 458.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 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * 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.000315/0.1185, allocations: 240.4 kB / 0.5285 GB, free: 5.938 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.1187, allocations: 119.4 kB / 0.5286 GB, free: 5.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.121, allocations: 0.8764 MB / 0.5295 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.121, allocations: 8 kB / 0.5295 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.121, allocations: 4 kB / 0.5295 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.121, allocations: 7.984 kB / 0.5295 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.1238, allocations: 1.402 MB / 0.5308 GB, free: 3.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1238, allocations: 4.062 kB / 0.5309 GB, free: 3.449 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.1242, allocations: 79.89 kB / 0.5309 GB, free: 3.371 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002047/0.1262, allocations: 330.8 kB / 0.5312 GB, free: 3.035 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.1263, allocations: 12 kB / 0.5313 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.1296, allocations: 3.762 MB / 0.5349 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1296, allocations: 0 / 0.5349 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.1318, allocations: 1.144 MB / 0.536 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.1321, allocations: 123.2 kB / 0.5362 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.681e-05/0.1321, allocations: 12 kB / 0.5362 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.1325, allocations: 19.98 kB / 0.5362 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.1326, allocations: 40.41 kB / 0.5362 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.1326, allocations: 23.98 kB / 0.5363 GB, free: 13.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006567/0.1333, allocations: 0.5068 MB / 0.5367 GB, free: 13.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1333, allocations: 4 kB / 0.5368 GB, free: 13.17 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000855/0.1341, allocations: 299.4 kB / 0.537 GB, free: 12.88 MB / 474.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 (42): * Single equations (assignments): 39 * 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.0005815/0.1347, allocations: 377.6 kB / 0.5374 GB, free: 12.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.1363, allocations: 0.6822 MB / 0.5381 GB, free: 11.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1363, allocations: 4 kB / 0.5381 GB, free: 11.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.1374, allocations: 461.8 kB / 0.5385 GB, free: 11.33 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.1389, allocations: 273.4 kB / 0.5388 GB, free: 11.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.1415, allocations: 1.491 MB / 0.5402 GB, free: 9.535 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.142, allocations: 374.6 kB / 0.5406 GB, free: 9.145 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.1423, allocations: 121.5 kB / 0.5407 GB, free: 9.047 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1425, allocations: 68.47 kB / 0.5408 GB, free: 8.98 MB / 474.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1425, allocations: 0 / 0.5408 GB, free: 8.98 MB / 474.7 MB Notification: Performance of Templates: time 0.03004/0.1725, allocations: 15.05 MB / 0.5555 GB, free: 10.22 MB / 490.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.672222606022842]