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.001097/0.001097, allocations: 92.78 kB / 16.02 MB, free: 80 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.001406/0.001406, allocations: 179.4 kB / 16.92 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.301/1.301, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6372/0.6372, allocations: 89.64 MB / 381.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 8.969 kB / 461.3 MB, free: 24.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 68.83 MB / 0.5177 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01585/0.1293, allocations: 16.84 MB / 0.5341 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006771/0.1361, allocations: 6.653 MB / 0.5406 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003934/0.1366, allocations: 15.88 kB / 0.5407 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006358/0.1372, allocations: 250.7 kB / 0.5409 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.1383, allocations: 465.3 kB / 0.5413 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.1391, allocations: 326.9 kB / 0.5416 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007748/0.1398, allocations: 0.7972 MB / 0.5424 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1401, allocations: 125 kB / 0.5425 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.1405, allocations: 258.8 kB / 0.5428 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.1408, allocations: 266.6 kB / 0.543 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.1409, allocations: 20 kB / 0.5431 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.1416, allocations: 339.6 kB / 0.5434 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.1417, allocations: 75.56 kB / 0.5435 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.142, allocations: 272.3 kB / 0.5437 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.1426, allocations: 0.5263 MB / 0.5442 GB, free: 28 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1426, allocations: 0 / 0.5442 GB, free: 28 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1426, allocations: 4 kB / 0.5442 GB, free: 24 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1426, allocations: 0 / 0.5442 GB, free: 24 kB / 414.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.001461/0.1441, allocations: 0.7793 MB / 0.545 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1442, allocations: 8.031 kB / 0.545 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.1443, allocations: 68.17 kB / 0.5451 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.1449, allocations: 385.9 kB / 0.5454 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.1449, allocations: 33.38 kB / 0.5455 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.145, allocations: 44.28 kB / 0.5455 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.1457, allocations: 467.7 kB / 0.546 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1457, allocations: 0 / 0.546 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.1458, allocations: 16 kB / 0.546 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1458, allocations: 8 kB / 0.546 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006525/0.1465, allocations: 415.7 kB / 0.5464 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.1488, allocations: 2.033 MB / 0.5484 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.1495, allocations: 413.1 kB / 0.5488 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.1498, allocations: 181.7 kB / 0.5489 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.1512, allocations: 1.419 MB / 0.5503 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1512, allocations: 34.89 kB / 0.5504 GB, free: 9.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.423e-06/0.1512, allocations: 0 / 0.5504 GB, free: 9.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005582/0.1568, allocations: 1.452 MB / 0.5518 GB, free: 7.766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1569, allocations: 85.05 kB / 0.5519 GB, free: 7.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.1572, allocations: 381.6 kB / 0.5522 GB, free: 7.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1573, allocations: 33.7 kB / 0.5522 GB, free: 7.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.1575, allocations: 244.4 kB / 0.5525 GB, free: 6.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1576, allocations: 145.8 kB / 0.5526 GB, free: 6.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.1577, allocations: 41.7 kB / 0.5527 GB, free: 6.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1578, allocations: 350.7 kB / 0.553 GB, free: 6.453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.158, allocations: 132.8 kB / 0.5531 GB, free: 6.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.1583, allocations: 189.8 kB / 0.5533 GB, free: 6.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.1588, allocations: 331 kB / 0.5536 GB, free: 5.781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1589, allocations: 4 kB / 0.5536 GB, free: 5.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002617/0.1615, allocations: 0.7872 MB / 0.5544 GB, free: 4.977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1615, allocations: 12.03 kB / 0.5544 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1615, allocations: 0 / 0.5544 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/0.1641, allocations: 493.2 kB / 0.5549 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.1644, allocations: 71.91 kB / 0.5549 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.1661, allocations: 2.09 MB / 0.557 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.1664, allocations: 43.61 kB / 0.557 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.1665, allocations: 16 kB / 0.557 GB, free: 2.098 MB / 430.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.0001866/0.1666, allocations: 165.8 kB / 0.5572 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.1667, allocations: 47.45 kB / 0.5572 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/0.1695, allocations: 0.8538 MB / 0.5581 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1696, allocations: 4 kB / 0.5581 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1696, allocations: 0 / 0.5581 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1696, allocations: 3.984 kB / 0.5581 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.1728, allocations: 1.336 MB / 0.5594 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1728, allocations: 64 / 0.5594 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.173, allocations: 55.91 kB / 0.5594 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/0.1755, allocations: 497.3 kB / 0.5599 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.1755, allocations: 16 kB / 0.5599 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.1772, allocations: 2.094 MB / 0.562 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1772, allocations: 3.938 kB / 0.562 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.1801, allocations: 1.079 MB / 0.563 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.1803, allocations: 164.4 kB / 0.5632 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.1803, allocations: 8 kB / 0.5632 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.1806, allocations: 23.92 kB / 0.5632 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.1807, allocations: 31.97 kB / 0.5633 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1807, allocations: 19.98 kB / 0.5633 GB, free: 11.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.181, allocations: 283.1 kB / 0.5635 GB, free: 11.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.181, allocations: 0 / 0.5635 GB, free: 11.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006044/0.1816, allocations: 183.7 kB / 0.5637 GB, free: 10.95 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.0004034/0.182, allocations: 299.4 kB / 0.564 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008668/0.1829, allocations: 478.3 kB / 0.5645 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1829, allocations: 4.062 kB / 0.5645 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.1834, allocations: 310.5 kB / 0.5648 GB, free: 9.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/0.1843, allocations: 138.4 kB / 0.5649 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.186, allocations: 1.309 MB / 0.5662 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1864, allocations: 0.8398 MB / 0.567 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/0.1865, allocations: 35.44 kB / 0.567 GB, free: 7.461 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1865, allocations: 0 / 0.567 GB, free: 7.461 MB / 446.1 MB Notification: Performance of Templates: time 0.01365/0.2002, allocations: 11.82 MB / 0.5786 GB, free: 11.66 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches