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.0007512/0.0007512, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007622/0.0007622, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8659/0.8659, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.509/0.509, allocations: 80.18 MB / 340.1 MB, free: 7.539 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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_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_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.4936 GB, free: 6.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.606e-05, allocations: 6.281 kB / 0.4936 GB, free: 6.348 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01501/0.01503, allocations: 22.17 MB / 0.5153 GB, free: 1.742 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006316/0.02135, allocations: 7.884 MB / 0.523 GB, free: 9.832 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.02198, allocations: 47.56 kB / 0.523 GB, free: 9.785 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007714/0.02276, allocations: 385 kB / 0.5234 GB, free: 9.406 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.02442, allocations: 0.8805 MB / 0.5242 GB, free: 8.52 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.02523, allocations: 489.8 kB / 0.5247 GB, free: 8.043 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009165/0.02615, allocations: 1.288 MB / 0.5259 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.02638, allocations: 144 kB / 0.5261 GB, free: 6.598 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007116/0.02709, allocations: 0.6894 MB / 0.5268 GB, free: 5.906 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.0274, allocations: 342.9 kB / 0.5271 GB, free: 5.57 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.02746, allocations: 60 kB / 0.5271 GB, free: 5.512 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008555/0.02831, allocations: 483.1 kB / 0.5276 GB, free: 5.039 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.02843, allocations: 167.2 kB / 0.5278 GB, free: 4.875 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.02888, allocations: 295.2 kB / 0.528 GB, free: 4.586 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.03006, allocations: 1.223 MB / 0.5292 GB, free: 3.359 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.03006, allocations: 7.922 kB / 0.5292 GB, free: 3.352 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.03006, allocations: 0 / 0.5292 GB, free: 3.352 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.03007, allocations: 4 kB / 0.5293 GB, free: 3.348 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.001342/0.03141, allocations: 1.22 MB / 0.5304 GB, free: 2.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.03145, allocations: 9.469 kB / 0.5305 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.03165, allocations: 120.3 kB / 0.5306 GB, free: 1.965 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007333/0.03239, allocations: 0.5874 MB / 0.5311 GB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.03241, allocations: 45.69 kB / 0.5312 GB, free: 1.312 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.03248, allocations: 71.89 kB / 0.5313 GB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.03316, allocations: 0.6778 MB / 0.5319 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.03318, allocations: 4 kB / 0.5319 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.03321, allocations: 31.94 kB / 0.5319 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.03322, allocations: 12 kB / 0.532 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.0339, allocations: 0.6375 MB / 0.5326 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.03601, allocations: 2.141 MB / 0.5347 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.03697, allocations: 0.6313 MB / 0.5353 GB, free: 13 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.03722, allocations: 255.6 kB / 0.5355 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/0.03809, allocations: 0.7796 MB / 0.5363 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.03811, allocations: 43.16 kB / 0.5363 GB, free: 11.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 1.644e-06/0.03811, allocations: 0 / 0.5363 GB, free: 11.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.004666/0.04277, allocations: 2.256 MB / 0.5385 GB, free: 9.617 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.04282, allocations: 85.77 kB / 0.5386 GB, free: 9.516 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.04329, allocations: 0.5825 MB / 0.5392 GB, free: 8.926 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.04332, allocations: 37.7 kB / 0.5392 GB, free: 8.883 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.04352, allocations: 404.8 kB / 0.5396 GB, free: 8.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.04364, allocations: 242 kB / 0.5398 GB, free: 8.242 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.04375, allocations: 118.6 kB / 0.54 GB, free: 8.117 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.04384, allocations: 337.9 kB / 0.5403 GB, free: 7.781 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.04408, allocations: 205.9 kB / 0.5405 GB, free: 7.582 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.04436, allocations: 319.9 kB / 0.5408 GB, free: 7.234 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.04492, allocations: 0.5531 MB / 0.5413 GB, free: 6.648 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.04492, allocations: 0 / 0.5413 GB, free: 6.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002615/0.04754, allocations: 1.385 MB / 0.5427 GB, free: 5.246 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.04756, allocations: 12.09 kB / 0.5427 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.04757, allocations: 4 kB / 0.5427 GB, free: 5.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.04982, allocations: 0.9389 MB / 0.5436 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.05003, allocations: 95.89 kB / 0.5437 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.05165, allocations: 2.827 MB / 0.5465 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.05189, allocations: 59.61 kB / 0.5465 GB, free: 1.152 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.05192, allocations: 20 kB / 0.5465 GB, free: 1.133 MB / 458.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: 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 (57): * Single equations (assignments): 54 * 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,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.05215, allocations: 198.6 kB / 0.5467 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.05224, allocations: 87.38 kB / 0.5468 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/0.05477, allocations: 1.485 MB / 0.5483 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.05477, allocations: 4 kB / 0.5483 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.05478, allocations: 7.938 kB / 0.5483 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.05478, allocations: 3.984 kB / 0.5483 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.058, allocations: 1.947 MB / 0.5502 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.058, allocations: 0 / 0.5502 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.05817, allocations: 71.91 kB / 0.5502 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/0.06033, allocations: 0.9429 MB / 0.5512 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.06036, allocations: 15.98 kB / 0.5512 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.06182, allocations: 2.817 MB / 0.5539 GB, free: 9.312 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.06182, allocations: 4.031 kB / 0.5539 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.06456, allocations: 1.763 MB / 0.5557 GB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.06481, allocations: 139.2 kB / 0.5558 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.06486, allocations: 12 kB / 0.5558 GB, free: 7.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.06504, allocations: 16 kB / 0.5558 GB, free: 7.352 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.06514, allocations: 52.5 kB / 0.5559 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.06517, allocations: 19.98 kB / 0.5559 GB, free: 7.277 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006639/0.06583, allocations: 415.1 kB / 0.5563 GB, free: 6.879 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06583, allocations: 0 / 0.5563 GB, free: 6.879 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007416/0.06657, allocations: 303.3 kB / 0.5566 GB, free: 6.582 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 (40): * Single equations (assignments): 37 * 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,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005201/0.06709, allocations: 394.2 kB / 0.5569 GB, free: 6.191 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.06812, allocations: 0.6762 MB / 0.5576 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.06812, allocations: 0 / 0.5576 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.06857, allocations: 418.2 kB / 0.558 GB, free: 5.078 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008995/0.06947, allocations: 294.8 kB / 0.5583 GB, free: 4.797 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.07159, allocations: 1.481 MB / 0.5597 GB, free: 3.273 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.07186, allocations: 366.1 kB / 0.5601 GB, free: 2.891 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.07199, allocations: 64.48 kB / 0.5601 GB, free: 2.828 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/0.07199, allocations: 0 / 0.5601 GB, free: 2.828 MB / 474.7 MB Notification: Performance of Templates: time 0.01956/0.09155, allocations: 23.21 MB / 0.5828 GB, free: 11.65 MB / 0.4948 GB " [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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.53563039470464]