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.001131/0.001136, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008855/0.008855, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6679/0.6679, allocations: 93.84 MB / 385.3 MB, free: 7.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004045, allocations: 10.62 kB / 465.8 MB, free: 22.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1217, allocations: 69.8 MB / 0.523 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01837/0.1402, allocations: 17.14 MB / 0.5398 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007693/0.1479, allocations: 6.747 MB / 0.5464 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006628/0.1486, allocations: 31.75 kB / 0.5464 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.1493, allocations: 246.7 kB / 0.5466 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.1506, allocations: 0.4932 MB / 0.5471 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008384/0.1515, allocations: 323 kB / 0.5474 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009133/0.1524, allocations: 0.8984 MB / 0.5483 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.1527, allocations: 129.2 kB / 0.5484 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.1532, allocations: 314.3 kB / 0.5487 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.1535, allocations: 270.5 kB / 0.549 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.1535, allocations: 20 kB / 0.549 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000797/0.1544, allocations: 335.6 kB / 0.5493 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1545, allocations: 87.5 kB / 0.5494 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.1547, allocations: 303.9 kB / 0.5497 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.1557, allocations: 0.7629 MB / 0.5504 GB, free: 9.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1557, allocations: 4 kB / 0.5504 GB, free: 9.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1557, allocations: 0 / 0.5504 GB, free: 9.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1557, allocations: 3.938 kB / 0.5504 GB, free: 9.723 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.001439/0.1572, allocations: 0.8608 MB / 0.5513 GB, free: 8.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1572, allocations: 8.031 kB / 0.5513 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.1574, allocations: 76.08 kB / 0.5514 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.1581, allocations: 495.5 kB / 0.5518 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.1581, allocations: 32.94 kB / 0.5519 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.1582, allocations: 44 kB / 0.5519 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.1589, allocations: 455.9 kB / 0.5523 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.159, allocations: 3.938 kB / 0.5524 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.159, allocations: 16 kB / 0.5524 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.159, allocations: 12 kB / 0.5524 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.1597, allocations: 407.8 kB / 0.5528 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.1621, allocations: 2.072 MB / 0.5548 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.1628, allocations: 417.2 kB / 0.5552 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.1632, allocations: 182.3 kB / 0.5554 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.1647, allocations: 1.407 MB / 0.5567 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1647, allocations: 38.89 kB / 0.5568 GB, free: 2.742 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.763e-06/0.1647, allocations: 0 / 0.5568 GB, free: 2.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006058/0.1708, allocations: 1.467 MB / 0.5582 GB, free: 1.227 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.1709, allocations: 93.02 kB / 0.5583 GB, free: 1.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/0.1714, allocations: 475 kB / 0.5587 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.1715, allocations: 37.7 kB / 0.5588 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.1717, allocations: 288.3 kB / 0.5591 GB, free: 320 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1718, allocations: 141.9 kB / 0.5592 GB, free: 176 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.1719, allocations: 37.7 kB / 0.5592 GB, free: 132 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.172, allocations: 362.8 kB / 0.5596 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.1723, allocations: 128.8 kB / 0.5597 GB, free: 15.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.1726, allocations: 185.8 kB / 0.5599 GB, free: 15.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.1731, allocations: 343 kB / 0.5602 GB, free: 15.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1732, allocations: 0 / 0.5602 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002837/0.176, allocations: 0.8027 MB / 0.561 GB, free: 14.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.176, allocations: 4 kB / 0.561 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.176, allocations: 0 / 0.561 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002888/0.1789, allocations: 497.2 kB / 0.5615 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.1792, allocations: 59.91 kB / 0.5615 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.181, allocations: 2.09 MB / 0.5636 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.1813, allocations: 43.67 kB / 0.5636 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.1813, allocations: 16 kB / 0.5636 GB, free: 11.4 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.0002197/0.1816, allocations: 180.7 kB / 0.5638 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1817, allocations: 59.25 kB / 0.5638 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.1847, allocations: 0.8628 MB / 0.5647 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1847, allocations: 8 kB / 0.5647 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1847, allocations: 0 / 0.5647 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1847, allocations: 3.984 kB / 0.5647 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.1882, allocations: 1.371 MB / 0.566 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1882, allocations: 0 / 0.566 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.1885, allocations: 51.92 kB / 0.5661 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002675/0.1911, allocations: 497.3 kB / 0.5666 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.1912, allocations: 8 kB / 0.5666 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.1929, allocations: 2.086 MB / 0.5686 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1929, allocations: 7.922 kB / 0.5686 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.1961, allocations: 1.102 MB / 0.5697 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.1963, allocations: 176.3 kB / 0.5699 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.1964, allocations: 15.94 kB / 0.5699 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.1967, allocations: 20.05 kB / 0.5699 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.1968, allocations: 27.95 kB / 0.5699 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.1968, allocations: 23.98 kB / 0.5699 GB, free: 4.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004047/0.1973, allocations: 338.9 kB / 0.5703 GB, free: 4.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1973, allocations: 0 / 0.5703 GB, free: 4.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006716/0.1979, allocations: 191.7 kB / 0.5705 GB, free: 4.102 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.0004346/0.1984, allocations: 291.4 kB / 0.5707 GB, free: 3.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009546/0.1993, allocations: 474.4 kB / 0.5712 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1994, allocations: 0 / 0.5712 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.1999, allocations: 318.2 kB / 0.5715 GB, free: 3.008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.201, allocations: 161.2 kB / 0.5716 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.2033, allocations: 1.407 MB / 0.573 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.2039, allocations: 0.8704 MB / 0.5739 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003095/0.2042, allocations: 72.34 kB / 0.5739 GB, free: 452 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.2043, allocations: 47.42 kB / 0.574 GB, free: 404 kB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2043, allocations: 0 / 0.574 GB, free: 404 kB / 446.1 MB Notification: Performance of Templates: time 0.2385/0.4428, allocations: 9.973 MB / 0.5837 GB, free: 51.65 MB / 446.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