Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.0008972/0.0008972, allocations: 72.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.0007629/0.0007629, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8225/0.8225, allocations: 177.1 MB / 203.5 MB, free: 5.582 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.47/0.47, allocations: 80.17 MB / 340.1 MB, free: 7.469 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.4936 GB, free: 6.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.383e-05, allocations: 2.281 kB / 0.4936 GB, free: 6.328 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01043/0.01044, allocations: 17.1 MB / 0.5103 GB, free: 6.832 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.01378, allocations: 5.426 MB / 0.5156 GB, free: 1.391 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.01399, allocations: 35.69 kB / 0.5156 GB, free: 1.355 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.01465, allocations: 265.9 kB / 0.5159 GB, free: 1.094 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007196/0.01536, allocations: 0.5934 MB / 0.5165 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.01575, allocations: 382.4 kB / 0.5168 GB, free: 124 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.0163, allocations: 0.8916 MB / 0.5177 GB, free: 15.23 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.01645, allocations: 90.11 kB / 0.5178 GB, free: 15.13 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004471/0.0169, allocations: 0.5024 MB / 0.5183 GB, free: 14.63 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.0171, allocations: 239.2 kB / 0.5185 GB, free: 14.39 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.01714, allocations: 40 kB / 0.5185 GB, free: 14.36 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.0175, allocations: 335.3 kB / 0.5189 GB, free: 14.03 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.01758, allocations: 115.4 kB / 0.519 GB, free: 13.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.0177, allocations: 207.3 kB / 0.5192 GB, free: 13.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006836/0.01839, allocations: 0.8449 MB / 0.52 GB, free: 12.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01839, allocations: 0 / 0.52 GB, free: 12.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01839, allocations: 4 kB / 0.52 GB, free: 12.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.0184, allocations: 0 / 0.52 GB, free: 12.86 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009372/0.01933, allocations: 0.9206 MB / 0.5209 GB, free: 11.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.01936, allocations: 10.06 kB / 0.5209 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.01949, allocations: 88.45 kB / 0.521 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.01998, allocations: 477.4 kB / 0.5215 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.02, allocations: 29.38 kB / 0.5215 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.02005, allocations: 44.08 kB / 0.5215 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.02049, allocations: 480.6 kB / 0.522 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.02051, allocations: 0 / 0.522 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.02053, allocations: 20 kB / 0.522 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.02054, allocations: 11.98 kB / 0.522 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.02095, allocations: 411.7 kB / 0.5224 GB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.02254, allocations: 1.509 MB / 0.5239 GB, free: 8.762 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.02297, allocations: 385.3 kB / 0.5242 GB, free: 8.367 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.02314, allocations: 169.4 kB / 0.5244 GB, free: 8.195 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/0.0237, allocations: 0.5973 MB / 0.525 GB, free: 7.574 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.02372, allocations: 42.83 kB / 0.525 GB, free: 7.523 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 1.282e-06/0.02372, allocations: 0 / 0.525 GB, free: 7.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.002623/0.02634, allocations: 1.302 MB / 0.5263 GB, free: 6.211 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.02638, allocations: 85.05 kB / 0.5264 GB, free: 6.109 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.0267, allocations: 470.9 kB / 0.5268 GB, free: 5.637 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.02672, allocations: 29.7 kB / 0.5269 GB, free: 5.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.02686, allocations: 304.5 kB / 0.5272 GB, free: 5.297 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.02692, allocations: 150.7 kB / 0.5273 GB, free: 5.148 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.027, allocations: 78.14 kB / 0.5274 GB, free: 5.062 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.0271, allocations: 366.7 kB / 0.5277 GB, free: 4.695 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.02724, allocations: 129 kB / 0.5278 GB, free: 4.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.02741, allocations: 195.8 kB / 0.528 GB, free: 4.355 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.02774, allocations: 350.6 kB / 0.5284 GB, free: 3.988 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.02774, allocations: 4 kB / 0.5284 GB, free: 3.984 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001276/0.02902, allocations: 0.8068 MB / 0.5292 GB, free: 3.164 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.02904, allocations: 8 kB / 0.5292 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.02904, allocations: 4 kB / 0.5292 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.03019, allocations: 0.4895 MB / 0.5296 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.03057, allocations: 63.91 kB / 0.5297 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.03163, allocations: 2.059 MB / 0.5317 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.03175, allocations: 39.88 kB / 0.5318 GB, free: 380 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.03176, allocations: 19.94 kB / 0.5318 GB, free: 360 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.0319, allocations: 173.7 kB / 0.5319 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.03196, allocations: 67.64 kB / 0.532 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.03331, allocations: 0.8473 MB / 0.5328 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.03331, allocations: 4 kB / 0.5328 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.03332, allocations: 0 / 0.5328 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.03332, allocations: 7.984 kB / 0.5328 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.03492, allocations: 1.226 MB / 0.534 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.03492, allocations: 0 / 0.534 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.03503, allocations: 51.91 kB / 0.5341 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.0361, allocations: 497.3 kB / 0.5346 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.03612, allocations: 11.98 kB / 0.5346 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009889/0.03711, allocations: 2.074 MB / 0.5366 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.03711, allocations: 0 / 0.5366 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.03891, allocations: 1.091 MB / 0.5377 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.03901, allocations: 87.45 kB / 0.5378 GB, free: 9.988 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.03904, allocations: 8 kB / 0.5378 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.03917, allocations: 15.92 kB / 0.5378 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.03921, allocations: 32.03 kB / 0.5378 GB, free: 9.934 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.03923, allocations: 19.92 kB / 0.5378 GB, free: 9.914 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.03945, allocations: 334.9 kB / 0.5381 GB, free: 9.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03945, allocations: 0 / 0.5381 GB, free: 9.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.03981, allocations: 195.6 kB / 0.5383 GB, free: 9.398 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002602/0.04007, allocations: 285.6 kB / 0.5386 GB, free: 9.109 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007559/0.04082, allocations: 466.3 kB / 0.539 GB, free: 8.641 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.04082, allocations: 0 / 0.539 GB, free: 8.641 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.04108, allocations: 298.5 kB / 0.5393 GB, free: 8.336 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.04166, allocations: 200.9 kB / 0.5395 GB, free: 8.148 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.04274, allocations: 1.083 MB / 0.5406 GB, free: 7.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.04291, allocations: 275.9 kB / 0.5408 GB, free: 6.719 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.04298, allocations: 48.48 kB / 0.5409 GB, free: 6.672 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.04298, allocations: 0 / 0.5409 GB, free: 6.672 MB / 458.7 MB Notification: Performance of Templates: time 0.01001/0.05299, allocations: 14.17 MB / 0.5547 GB, free: 8.527 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.661379304714501]