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.001531/0.001531, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001719/0.001719, allocations: 160.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.394/1.394, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 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.7491/0.7491, allocations: 80.2 MB / 339.4 MB, free: 10.86 MB / 318.1 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.503e-06/1.503e-06, allocations: 0 / 0.4929 GB, free: 25.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.169e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01685/0.01687, allocations: 22.16 MB / 0.5145 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007863/0.02474, allocations: 7.898 MB / 0.5222 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.02574, allocations: 42.31 kB / 0.5223 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.02687, allocations: 376.5 kB / 0.5226 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.02941, allocations: 0.8858 MB / 0.5235 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.03078, allocations: 478.4 kB / 0.524 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.03251, allocations: 1.288 MB / 0.5252 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.03282, allocations: 147.8 kB / 0.5254 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.03407, allocations: 0.6916 MB / 0.526 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.03461, allocations: 343.6 kB / 0.5264 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.931e-05/0.03471, allocations: 59.66 kB / 0.5264 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.03612, allocations: 490.1 kB / 0.5269 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.03626, allocations: 162.4 kB / 0.527 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.03663, allocations: 301.8 kB / 0.5273 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.03885, allocations: 1.217 MB / 0.5285 GB, free: 2.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.03885, allocations: 5.812 kB / 0.5285 GB, free: 2.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03885, allocations: 0.75 kB / 0.5285 GB, free: 2.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.03887, allocations: 0 / 0.5285 GB, free: 2.41 MB / 446.1 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.00231/0.04118, allocations: 1.224 MB / 0.5297 GB, free: 1.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.04121, allocations: 11.06 kB / 0.5297 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.04155, allocations: 121 kB / 0.5298 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.04262, allocations: 0.5871 MB / 0.5304 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.04266, allocations: 46.97 kB / 0.5305 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.039e-05/0.04275, allocations: 72.55 kB / 0.5305 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009977/0.04374, allocations: 0.6835 MB / 0.5312 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.04377, allocations: 0.75 kB / 0.5312 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/0.04382, allocations: 29.5 kB / 0.5312 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.04383, allocations: 16.5 kB / 0.5312 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009491/0.04478, allocations: 0.6365 MB / 0.5319 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003502/0.04828, allocations: 2.136 MB / 0.5339 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.04941, allocations: 0.624 MB / 0.5346 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/0.04986, allocations: 258.9 kB / 0.5348 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/0.05143, allocations: 0.7827 MB / 0.5356 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.05147, allocations: 39.62 kB / 0.5356 GB, free: 14.15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 2.505e-06/0.05147, allocations: 0 / 0.5356 GB, free: 14.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01048/0.06195, allocations: 2.254 MB / 0.5378 GB, free: 13.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.06202, allocations: 85.89 kB / 0.5379 GB, free: 13.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009777/0.063, allocations: 0.5871 MB / 0.5385 GB, free: 13.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.06311, allocations: 36.55 kB / 0.5385 GB, free: 13.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.06346, allocations: 399.7 kB / 0.5389 GB, free: 12.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.06372, allocations: 247.2 kB / 0.5391 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.06391, allocations: 115.5 kB / 0.5392 GB, free: 12.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.06408, allocations: 336.3 kB / 0.5395 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.06448, allocations: 209.6 kB / 0.5397 GB, free: 12.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.06497, allocations: 322.2 kB / 0.5401 GB, free: 12.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/0.06594, allocations: 0.5506 MB / 0.5406 GB, free: 11.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.06594, allocations: 1.062 kB / 0.5406 GB, free: 11.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.005328/0.07127, allocations: 1.389 MB / 0.5419 GB, free: 11.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.0713, allocations: 8.844 kB / 0.542 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.07131, allocations: 3.312 kB / 0.542 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005209/0.07652, allocations: 0.9403 MB / 0.5429 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.07694, allocations: 104.5 kB / 0.543 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.07979, allocations: 2.818 MB / 0.5457 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.08035, allocations: 49.22 kB / 0.5458 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.08042, allocations: 26.75 kB / 0.5458 GB, free: 8.449 MB / 462.1 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.0003735/0.08079, allocations: 200 kB / 0.546 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.08097, allocations: 89.47 kB / 0.5461 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005309/0.08628, allocations: 1.481 MB / 0.5475 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.08629, allocations: 8 kB / 0.5475 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.0863, allocations: 0 / 0.5475 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.08631, allocations: 7.984 kB / 0.5475 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00616/0.09247, allocations: 1.951 MB / 0.5494 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.09247, allocations: 0 / 0.5494 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.09279, allocations: 71.91 kB / 0.5495 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005173/0.09796, allocations: 0.9391 MB / 0.5504 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.962e-05/0.09805, allocations: 16 kB / 0.5504 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.1008, allocations: 2.816 MB / 0.5532 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.1008, allocations: 3.938 kB / 0.5532 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005826/0.1067, allocations: 1.775 MB / 0.5549 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.107, allocations: 131.3 kB / 0.5551 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.1071, allocations: 15.98 kB / 0.5551 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.1075, allocations: 16 kB / 0.5551 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1076, allocations: 48.5 kB / 0.5551 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.1077, allocations: 20 kB / 0.5552 GB, free: 14.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005673/0.1082, allocations: 419 kB / 0.5556 GB, free: 14.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1082, allocations: 0 / 0.5556 GB, free: 14.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009795/0.1092, allocations: 303.3 kB / 0.5558 GB, free: 14.25 MB / 478.1 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.0006423/0.1098, allocations: 396 kB / 0.5562 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.1113, allocations: 0.6681 MB / 0.5569 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1113, allocations: 4 kB / 0.5569 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008169/0.1121, allocations: 414.3 kB / 0.5573 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.1136, allocations: 296 kB / 0.5576 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.1163, allocations: 1.455 MB / 0.559 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1167, allocations: 366.1 kB / 0.5593 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003911/0.1171, allocations: 105.7 kB / 0.5594 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.1172, allocations: 56.48 kB / 0.5595 GB, free: 10.45 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1172, allocations: 0 / 0.5595 GB, free: 10.45 MB / 478.1 MB Notification: Performance of Templates: time 0.02975/0.147, allocations: 16.19 MB / 0.5753 GB, free: 10.53 MB / 494.1 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=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: 5.763348791748285]