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.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_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_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.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00119/0.00119, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7071/0.7071, allocations: 91.19 MB / 381.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 77.41 kB / 459.8 MB, free: 23.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 67.7 MB / 0.5151 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01801/0.1258, allocations: 17.66 MB / 0.5324 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007373/0.1332, allocations: 6.793 MB / 0.539 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006267/0.1339, allocations: 27.81 kB / 0.5391 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007649/0.1347, allocations: 246.7 kB / 0.5393 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.1361, allocations: 493.1 kB / 0.5398 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008226/0.1369, allocations: 326.9 kB / 0.5401 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009628/0.1379, allocations: 0.7815 MB / 0.5408 GB, free: 124 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.1382, allocations: 149.8 kB / 0.541 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.1388, allocations: 346.4 kB / 0.5413 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.1392, allocations: 298.5 kB / 0.5416 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.1393, allocations: 43.94 kB / 0.5416 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009143/0.1402, allocations: 351.7 kB / 0.542 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1403, allocations: 107.5 kB / 0.5421 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.1406, allocations: 302.2 kB / 0.5424 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1417, allocations: 0.8099 MB / 0.5431 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1417, allocations: 4 kB / 0.5432 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.1418, allocations: 0 / 0.5432 GB, free: 13.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.1418, allocations: 3.938 kB / 0.5432 GB, free: 13.72 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.001551/0.1433, allocations: 0.9502 MB / 0.5441 GB, free: 12.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1434, allocations: 16.03 kB / 0.5441 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.1436, allocations: 76 kB / 0.5442 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.1442, allocations: 487.5 kB / 0.5446 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.1443, allocations: 32.94 kB / 0.5447 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.1443, allocations: 40 kB / 0.5447 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.1451, allocations: 455.9 kB / 0.5451 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1451, allocations: 4 kB / 0.5451 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.1451, allocations: 16 kB / 0.5452 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1452, allocations: 15.92 kB / 0.5452 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/0.1458, allocations: 407.8 kB / 0.5456 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.1484, allocations: 2.06 MB / 0.5476 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.1491, allocations: 405.3 kB / 0.548 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.1494, allocations: 177.7 kB / 0.5481 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.151, allocations: 1.404 MB / 0.5495 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.151, allocations: 42.89 kB / 0.5495 GB, free: 6.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.151, allocations: 3.938 kB / 0.5495 GB, free: 6.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006332/0.1574, allocations: 1.459 MB / 0.551 GB, free: 5.176 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.1575, allocations: 89.03 kB / 0.5511 GB, free: 5.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.158, allocations: 474.9 kB / 0.5515 GB, free: 4.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.158, allocations: 33.7 kB / 0.5515 GB, free: 4.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.1582, allocations: 284.3 kB / 0.5518 GB, free: 4.273 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1584, allocations: 145.9 kB / 0.552 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.1585, allocations: 74.12 kB / 0.552 GB, free: 4.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1586, allocations: 362.8 kB / 0.5524 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.1589, allocations: 124.8 kB / 0.5525 GB, free: 3.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1592, allocations: 181.8 kB / 0.5527 GB, free: 3.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.1597, allocations: 339 kB / 0.553 GB, free: 3.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1597, allocations: 0 / 0.553 GB, free: 3.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002926/0.1627, allocations: 0.7911 MB / 0.5538 GB, free: 2.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1627, allocations: 7.938 kB / 0.5538 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1627, allocations: 7.984 kB / 0.5538 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002863/0.1656, allocations: 493.3 kB / 0.5542 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.1659, allocations: 59.91 kB / 0.5543 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.168, allocations: 2.204 MB / 0.5565 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.1684, allocations: 47.64 kB / 0.5565 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.1685, allocations: 19.94 kB / 0.5565 GB, free: 15.21 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.0002434/0.1687, allocations: 165.8 kB / 0.5567 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1688, allocations: 51.34 kB / 0.5567 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.1719, allocations: 0.8686 MB / 0.5576 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1719, allocations: 4 kB / 0.5576 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1719, allocations: 4 kB / 0.5576 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1719, allocations: 3.984 kB / 0.5576 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.1756, allocations: 1.371 MB / 0.5589 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1756, allocations: 3.938 kB / 0.5589 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.1758, allocations: 55.91 kB / 0.559 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/0.1786, allocations: 493.3 kB / 0.5595 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.1786, allocations: 12 kB / 0.5595 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.1804, allocations: 2.193 MB / 0.5616 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1804, allocations: 3.938 kB / 0.5616 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003219/0.1836, allocations: 1.094 MB / 0.5627 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.1839, allocations: 172.2 kB / 0.5628 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.184, allocations: 8 kB / 0.5628 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.1843, allocations: 19.98 kB / 0.5629 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.1844, allocations: 23.97 kB / 0.5629 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.1844, allocations: 16.06 kB / 0.5629 GB, free: 8.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004168/0.1849, allocations: 346.8 kB / 0.5632 GB, free: 8.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1849, allocations: 0 / 0.5632 GB, free: 8.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007061/0.1856, allocations: 195.7 kB / 0.5634 GB, free: 7.828 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.0004527/0.186, allocations: 291.5 kB / 0.5637 GB, free: 7.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1871, allocations: 493.8 kB / 0.5642 GB, free: 7.039 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1871, allocations: 0 / 0.5642 GB, free: 7.039 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.1876, allocations: 322.9 kB / 0.5645 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.1886, allocations: 159.6 kB / 0.5646 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.1907, allocations: 1.305 MB / 0.5659 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.1912, allocations: 0.8629 MB / 0.5667 GB, free: 4.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.1915, allocations: 75.61 kB / 0.5668 GB, free: 4.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.1916, allocations: 43.42 kB / 0.5669 GB, free: 4.219 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1916, allocations: 0 / 0.5669 GB, free: 4.219 MB / 446.1 MB Notification: Performance of Templates: time 0.01844/0.21, allocations: 10.43 MB / 0.577 GB, free: 9.887 MB / 462.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (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) 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) Reference file matches