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.001418/0.001418, allocations: 88.72 kB / 19.44 MB, free: 356 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.001578/0.001578, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.091/1.091, allocations: 118.6 MB / 378.2 MB, free: 1.441 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.483e-06/1.483e-06, allocations: 0 / 482.9 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.742e-05, allocations: 7.719 kB / 482.9 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02469/0.02472, allocations: 22.23 MB / 0.4933 GB, free: 9.391 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.03834, allocations: 7.927 MB / 0.501 GB, free: 2.496 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.03972, allocations: 47.56 kB / 0.5011 GB, free: 2.449 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.04105, allocations: 380.5 kB / 0.5014 GB, free: 2.176 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.04419, allocations: 0.893 MB / 0.5023 GB, free: 1.449 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.04579, allocations: 496.4 kB / 0.5028 GB, free: 1.016 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002279/0.04806, allocations: 1.302 MB / 0.504 GB, free: 15.71 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.04844, allocations: 144.1 kB / 0.5042 GB, free: 15.55 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.04985, allocations: 0.705 MB / 0.5049 GB, free: 14.85 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.05042, allocations: 342.9 kB / 0.5052 GB, free: 14.51 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.05053, allocations: 63.94 kB / 0.5052 GB, free: 14.45 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.05202, allocations: 487.1 kB / 0.5057 GB, free: 13.97 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.05222, allocations: 159.2 kB / 0.5059 GB, free: 13.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.05266, allocations: 299.2 kB / 0.5061 GB, free: 13.52 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.05484, allocations: 1.265 MB / 0.5074 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.05484, allocations: 0 / 0.5074 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.05484, allocations: 0 / 0.5074 GB, free: 12.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.05486, allocations: 4 kB / 0.5074 GB, free: 12.25 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.002673/0.05753, allocations: 1.251 MB / 0.5086 GB, free: 10.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.05759, allocations: 8.031 kB / 0.5086 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005198/0.05811, allocations: 188.1 kB / 0.5088 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.05948, allocations: 0.6498 MB / 0.5094 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/0.05955, allocations: 49.69 kB / 0.5095 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.05967, allocations: 64.38 kB / 0.5095 GB, free: 9.984 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.06095, allocations: 0.6823 MB / 0.5102 GB, free: 9.277 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.06098, allocations: 8.125 kB / 0.5102 GB, free: 9.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.06104, allocations: 27.94 kB / 0.5102 GB, free: 9.242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.06106, allocations: 16 kB / 0.5103 GB, free: 9.227 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.06251, allocations: 0.6336 MB / 0.5109 GB, free: 8.594 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.06648, allocations: 2.145 MB / 0.513 GB, free: 6.379 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.06772, allocations: 0.5785 MB / 0.5135 GB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.06819, allocations: 241.2 kB / 0.5138 GB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002171/0.07036, allocations: 0.9666 MB / 0.5147 GB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.0704, allocations: 43.06 kB / 0.5147 GB, free: 4.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=58): time 1.954e-06/0.07041, allocations: 0 / 0.5147 GB, free: 4.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.004379/0.07478, allocations: 1.057 MB / 0.5158 GB, free: 3.426 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.07486, allocations: 89.61 kB / 0.5159 GB, free: 3.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.07578, allocations: 0.6414 MB / 0.5165 GB, free: 2.668 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.07583, allocations: 37.7 kB / 0.5165 GB, free: 2.625 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.07625, allocations: 440.5 kB / 0.5169 GB, free: 2.191 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.07646, allocations: 210.2 kB / 0.5171 GB, free: 1.984 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.07667, allocations: 118.6 kB / 0.5173 GB, free: 1.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.07687, allocations: 330 kB / 0.5176 GB, free: 1.535 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006089/0.07748, allocations: 165.9 kB / 0.5177 GB, free: 1.375 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.078, allocations: 311.7 kB / 0.518 GB, free: 1.023 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009468/0.07895, allocations: 0.5066 MB / 0.5185 GB, free: 476 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.07895, allocations: 0 / 0.5185 GB, free: 476 kB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002752/0.0817, allocations: 0.866 MB / 0.5194 GB, free: 15.58 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.08172, allocations: 4 kB / 0.5194 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.08173, allocations: 4 kB / 0.5194 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.08387, allocations: 322.5 kB / 0.5197 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.08435, allocations: 123.8 kB / 0.5198 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.08746, allocations: 2.678 MB / 0.5224 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.08794, allocations: 63.55 kB / 0.5225 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.08801, allocations: 28 kB / 0.5225 GB, free: 12.2 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.0003557/0.08836, allocations: 205.8 kB / 0.5227 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.08858, allocations: 103.4 kB / 0.5228 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.09098, allocations: 0.8302 MB / 0.5236 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.09099, allocations: 12 kB / 0.5236 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.09099, allocations: 0 / 0.5236 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.09101, allocations: 3.984 kB / 0.5236 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.09415, allocations: 1.225 MB / 0.5248 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.09416, allocations: 0 / 0.5248 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.09452, allocations: 79.89 kB / 0.5249 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002118/0.09664, allocations: 318.3 kB / 0.5252 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.09669, allocations: 12 kB / 0.5252 GB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.09979, allocations: 2.678 MB / 0.5278 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.09979, allocations: 0 / 0.5278 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.1024, allocations: 1.044 MB / 0.5289 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.1027, allocations: 127.3 kB / 0.529 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/0.1028, allocations: 15.94 kB / 0.529 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.1032, allocations: 16 kB / 0.529 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.1033, allocations: 44.36 kB / 0.529 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.1034, allocations: 23.98 kB / 0.5291 GB, free: 5.227 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006677/0.104, allocations: 451 kB / 0.5295 GB, free: 4.793 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.104, allocations: 0 / 0.5295 GB, free: 4.793 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00102/0.1051, allocations: 291.4 kB / 0.5298 GB, free: 4.508 MB / 458.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.0006768/0.1057, allocations: 370.2 kB / 0.5301 GB, free: 4.141 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.1074, allocations: 0.6029 MB / 0.5307 GB, free: 3.523 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1074, allocations: 0 / 0.5307 GB, free: 3.523 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009237/0.1083, allocations: 378 kB / 0.5311 GB, free: 3.141 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.1098, allocations: 277 kB / 0.5313 GB, free: 2.883 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.1133, allocations: 1.47 MB / 0.5328 GB, free: 1.371 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.1138, allocations: 378.5 kB / 0.5331 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005355/0.1143, allocations: 117.1 kB / 0.5333 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.1145, allocations: 64.48 kB / 0.5333 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/0.1145, allocations: 4 kB / 0.5333 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of Templates: time 0.0306/0.1451, allocations: 14.99 MB / 0.548 GB, free: 2.109 MB / 474.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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] 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.9201323840534315]