Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 198.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6727/0.6727, allocations: 93.72 MB / 383.7 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 78.75 kB / 462.7 MB, free: 22.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 68.27 MB / 0.5185 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01744/0.1278, allocations: 17.71 MB / 0.5358 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007454/0.1353, allocations: 6.852 MB / 0.5425 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007586/0.1361, allocations: 27.81 kB / 0.5425 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007376/0.1369, allocations: 250.6 kB / 0.5428 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.1383, allocations: 493.1 kB / 0.5433 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008222/0.1392, allocations: 330.9 kB / 0.5436 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009398/0.1401, allocations: 0.8945 MB / 0.5444 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.1404, allocations: 137.2 kB / 0.5446 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005598/0.1409, allocations: 326.4 kB / 0.5449 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.1413, allocations: 290.5 kB / 0.5452 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.1413, allocations: 27.94 kB / 0.5452 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009348/0.1423, allocations: 343.6 kB / 0.5455 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1424, allocations: 91.55 kB / 0.5456 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.1427, allocations: 290.2 kB / 0.5459 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1437, allocations: 0.7747 MB / 0.5466 GB, free: 10.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1437, allocations: 0 / 0.5466 GB, free: 10.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1437, allocations: 0 / 0.5466 GB, free: 10.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1437, allocations: 4 kB / 0.5466 GB, free: 10.6 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001601/0.1453, allocations: 0.9618 MB / 0.5476 GB, free: 9.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1454, allocations: 8.031 kB / 0.5476 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.1456, allocations: 80.09 kB / 0.5477 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/0.1462, allocations: 491.5 kB / 0.5481 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1462, allocations: 32.94 kB / 0.5482 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.1463, allocations: 47.98 kB / 0.5482 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.147, allocations: 455.8 kB / 0.5486 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1471, allocations: 0 / 0.5486 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.1471, allocations: 16 kB / 0.5487 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1471, allocations: 16 kB / 0.5487 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.1478, allocations: 411.7 kB / 0.5491 GB, free: 8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.1502, allocations: 2.064 MB / 0.5511 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.1509, allocations: 416.1 kB / 0.5515 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.1512, allocations: 182.3 kB / 0.5517 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/0.1527, allocations: 1.399 MB / 0.553 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1527, allocations: 42.88 kB / 0.5531 GB, free: 3.527 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 3.887e-06/0.1527, allocations: 4 kB / 0.5531 GB, free: 3.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006224/0.159, allocations: 1.455 MB / 0.5545 GB, free: 2.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.159, allocations: 85.05 kB / 0.5546 GB, free: 1.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.1596, allocations: 482.9 kB / 0.555 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.1597, allocations: 37.67 kB / 0.5551 GB, free: 1.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1599, allocations: 296.3 kB / 0.5553 GB, free: 1.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.16, allocations: 138 kB / 0.5555 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1601, allocations: 74.12 kB / 0.5555 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1602, allocations: 362.8 kB / 0.5559 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.1605, allocations: 124.8 kB / 0.556 GB, free: 408 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.1608, allocations: 189.8 kB / 0.5562 GB, free: 196 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.1613, allocations: 331 kB / 0.5565 GB, free: 15.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1613, allocations: 4 kB / 0.5565 GB, free: 15.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002924/0.1642, allocations: 0.7987 MB / 0.5573 GB, free: 15.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1643, allocations: 8 kB / 0.5573 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1643, allocations: 0 / 0.5573 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.1672, allocations: 493.2 kB / 0.5578 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1675, allocations: 63.91 kB / 0.5578 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.1692, allocations: 2.098 MB / 0.5599 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.1696, allocations: 47.7 kB / 0.5599 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.1696, allocations: 16 kB / 0.5599 GB, free: 12.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (36): * Single equations (assignments): 34 * 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.0002206/0.1698, allocations: 169.7 kB / 0.5601 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.17, allocations: 59.23 kB / 0.5602 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.173, allocations: 0.8629 MB / 0.561 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1731, allocations: 7.984 kB / 0.561 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1731, allocations: 0 / 0.561 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1731, allocations: 0 / 0.561 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.1766, allocations: 1.375 MB / 0.5624 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1767, allocations: 4 kB / 0.5624 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.1769, allocations: 43.98 kB / 0.5624 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/0.1796, allocations: 0.4895 MB / 0.5629 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.1796, allocations: 12 kB / 0.5629 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.1813, allocations: 2.098 MB / 0.5649 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1813, allocations: 0 / 0.5649 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.1844, allocations: 1.098 MB / 0.566 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.1846, allocations: 168.2 kB / 0.5662 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.1847, allocations: 11.94 kB / 0.5662 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.185, allocations: 20.06 kB / 0.5662 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.1851, allocations: 27.95 kB / 0.5662 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.1851, allocations: 15.98 kB / 0.5662 GB, free: 5.391 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003873/0.1855, allocations: 342.9 kB / 0.5666 GB, free: 5.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1855, allocations: 4 kB / 0.5666 GB, free: 5.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006417/0.1862, allocations: 187.7 kB / 0.5668 GB, free: 4.871 MB / 446.1 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 (27): * Single equations (assignments): 25 * 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.00039/0.1866, allocations: 302.7 kB / 0.567 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009034/0.1875, allocations: 466.4 kB / 0.5675 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1875, allocations: 4.062 kB / 0.5675 GB, free: 4.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.188, allocations: 306.4 kB / 0.5678 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000942/0.1889, allocations: 149.1 kB / 0.5679 GB, free: 3.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1909, allocations: 1.323 MB / 0.5692 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.1913, allocations: 0.878 MB / 0.5701 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.1916, allocations: 83.95 kB / 0.5702 GB, free: 1.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1917, allocations: 43.42 kB / 0.5702 GB, free: 1.254 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1917, allocations: 0 / 0.5702 GB, free: 1.254 MB / 446.1 MB Notification: Performance of Templates: time 0.01682/0.2085, allocations: 10.04 MB / 0.58 GB, free: 7.289 MB / 462.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches