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.001068/0.001068, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6623/0.6623, allocations: 91.2 MB / 381.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 78.41 kB / 460.3 MB, free: 23.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1147, allocations: 67.69 MB / 0.5156 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.0179/0.1326, allocations: 17.33 MB / 0.5325 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007245/0.1399, allocations: 6.77 MB / 0.5391 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008945/0.1409, allocations: 19.88 kB / 0.5392 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.1418, allocations: 286 kB / 0.5394 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.1434, allocations: 0.524 MB / 0.5399 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008501/0.1443, allocations: 366.6 kB / 0.5403 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008048/0.1451, allocations: 0.7776 MB / 0.5411 GB, free: 52 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.1454, allocations: 141.8 kB / 0.5412 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004921/0.1459, allocations: 342.4 kB / 0.5415 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.1462, allocations: 290.5 kB / 0.5418 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.1463, allocations: 40 kB / 0.5418 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000904/0.1472, allocations: 359.6 kB / 0.5422 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1473, allocations: 111.4 kB / 0.5423 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.1475, allocations: 302.2 kB / 0.5426 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.1486, allocations: 0.8021 MB / 0.5434 GB, free: 13.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1486, allocations: 0 / 0.5434 GB, free: 13.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1486, allocations: 3.938 kB / 0.5434 GB, free: 13.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1486, allocations: 0 / 0.5434 GB, free: 13.68 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.001489/0.1501, allocations: 0.9581 MB / 0.5443 GB, free: 12.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1502, allocations: 12.03 kB / 0.5443 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.1504, allocations: 79.98 kB / 0.5444 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.151, allocations: 479.6 kB / 0.5448 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.151, allocations: 36.94 kB / 0.5449 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.1511, allocations: 43.98 kB / 0.5449 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.1518, allocations: 459.8 kB / 0.5454 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1518, allocations: 0 / 0.5454 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.1519, allocations: 19.94 kB / 0.5454 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1519, allocations: 8 kB / 0.5454 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.1525, allocations: 407.8 kB / 0.5458 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/0.155, allocations: 2.076 MB / 0.5478 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/0.1558, allocations: 405.3 kB / 0.5482 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.156, allocations: 181.7 kB / 0.5484 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.1576, allocations: 1.415 MB / 0.5497 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1577, allocations: 34.89 kB / 0.5498 GB, free: 6.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.884e-06/0.1577, allocations: 7.938 kB / 0.5498 GB, free: 6.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005915/0.1636, allocations: 1.455 MB / 0.5512 GB, free: 5.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.1637, allocations: 85.05 kB / 0.5513 GB, free: 5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.1642, allocations: 470.9 kB / 0.5517 GB, free: 4.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.1643, allocations: 37.73 kB / 0.5518 GB, free: 4.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.1645, allocations: 276.4 kB / 0.552 GB, free: 4.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.1646, allocations: 149.9 kB / 0.5522 GB, free: 4.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1648, allocations: 70.14 kB / 0.5522 GB, free: 3.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1649, allocations: 366.8 kB / 0.5526 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.1652, allocations: 124.8 kB / 0.5527 GB, free: 3.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.1655, allocations: 181.8 kB / 0.5529 GB, free: 3.301 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.1661, allocations: 335 kB / 0.5532 GB, free: 2.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1661, allocations: 4 kB / 0.5532 GB, free: 2.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002772/0.1689, allocations: 0.7949 MB / 0.554 GB, free: 2.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1689, allocations: 4 kB / 0.554 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1689, allocations: 4 kB / 0.554 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.1717, allocations: 493.2 kB / 0.5545 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.1719, allocations: 59.91 kB / 0.5545 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.1741, allocations: 2.208 MB / 0.5567 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.1744, allocations: 31.59 kB / 0.5567 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.1744, allocations: 23.88 kB / 0.5567 GB, free: 15.16 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.0002478/0.1747, allocations: 173.8 kB / 0.5569 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.1748, allocations: 51.48 kB / 0.5569 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/0.1778, allocations: 0.866 MB / 0.5578 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1778, allocations: 4 kB / 0.5578 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.1778, allocations: 8 kB / 0.5578 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1778, allocations: 0 / 0.5578 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.1814, allocations: 1.371 MB / 0.5591 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1814, allocations: 0 / 0.5591 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.1816, allocations: 51.98 kB / 0.5592 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.1843, allocations: 497.2 kB / 0.5597 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.1844, allocations: 12 kB / 0.5597 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.1862, allocations: 2.193 MB / 0.5618 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1862, allocations: 3.938 kB / 0.5618 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/0.1894, allocations: 1.094 MB / 0.5629 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.1896, allocations: 172.2 kB / 0.563 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.11e-05/0.1897, allocations: 8 kB / 0.5631 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.19, allocations: 12.06 kB / 0.5631 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.1901, allocations: 28.09 kB / 0.5631 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.1901, allocations: 15.98 kB / 0.5631 GB, free: 8.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004171/0.1905, allocations: 346.8 kB / 0.5634 GB, free: 7.965 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.946e-05/0.1906, allocations: 0 / 0.5634 GB, free: 7.965 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007131/0.1913, allocations: 199.6 kB / 0.5636 GB, free: 7.77 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.0004578/0.1918, allocations: 286.7 kB / 0.5639 GB, free: 7.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.1928, allocations: 494.1 kB / 0.5644 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1928, allocations: 4.062 kB / 0.5644 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.1933, allocations: 306.5 kB / 0.5647 GB, free: 6.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.1943, allocations: 164.9 kB / 0.5648 GB, free: 6.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1964, allocations: 1.109 MB / 0.5659 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.1969, allocations: 0.8668 MB / 0.5668 GB, free: 4.477 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.1972, allocations: 78.86 kB / 0.5668 GB, free: 4.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/0.1973, allocations: 47.42 kB / 0.5669 GB, free: 4.359 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1973, allocations: 0 / 0.5669 GB, free: 4.359 MB / 446.1 MB Notification: Performance of Templates: time 0.01843/0.2157, allocations: 10.43 MB / 0.5771 GB, free: 10.02 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