Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001177, allocations: 92 kB / 15.36 MB, free: 0.7383 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.009114/0.009114, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.371/1.371, 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.6571/0.6571, allocations: 93.82 MB / 385.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 9.25 kB / 465.8 MB, free: 22.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 69.79 MB / 0.523 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.0229/0.142, allocations: 22.67 MB / 0.5452 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.1524, allocations: 9.42 MB / 0.5544 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008238/0.1533, allocations: 35.75 kB / 0.5544 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.1545, allocations: 362 kB / 0.5548 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.1567, allocations: 0.7185 MB / 0.5555 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1578, allocations: 422 kB / 0.5559 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.1593, allocations: 1.283 MB / 0.5571 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/0.1597, allocations: 206.4 kB / 0.5573 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006717/0.1603, allocations: 429.8 kB / 0.5577 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.1608, allocations: 405.8 kB / 0.5581 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.594e-05/0.1609, allocations: 36 kB / 0.5581 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.1622, allocations: 479.5 kB / 0.5586 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1623, allocations: 123.3 kB / 0.5587 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003526/0.1627, allocations: 427.2 kB / 0.5591 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.1641, allocations: 1.102 MB / 0.5602 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1641, allocations: 0 / 0.5602 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1641, allocations: 0 / 0.5602 GB, free: 15.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1641, allocations: 0 / 0.5602 GB, free: 15.69 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001932/0.1661, allocations: 1.11 MB / 0.5613 GB, free: 14.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1661, allocations: 8.031 kB / 0.5613 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.1664, allocations: 115.6 kB / 0.5614 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008561/0.1672, allocations: 0.6049 MB / 0.562 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.1673, allocations: 45.31 kB / 0.562 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.803e-05/0.1674, allocations: 67.89 kB / 0.5621 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1685, allocations: 0.673 MB / 0.5628 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.1685, allocations: 4 kB / 0.5628 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.1686, allocations: 24 kB / 0.5628 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1686, allocations: 16 kB / 0.5628 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.1696, allocations: 0.6219 MB / 0.5634 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.1731, allocations: 3.011 MB / 0.5663 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1742, allocations: 0.6738 MB / 0.567 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.1747, allocations: 287.9 kB / 0.5673 GB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/0.1769, allocations: 1.912 MB / 0.5691 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1769, allocations: 39.12 kB / 0.5692 GB, free: 5.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.234e-06/0.1769, allocations: 0 / 0.5692 GB, free: 5.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01065/0.1876, allocations: 2.443 MB / 0.5716 GB, free: 3.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1877, allocations: 89.66 kB / 0.5717 GB, free: 3.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/0.1884, allocations: 0.5942 MB / 0.5722 GB, free: 2.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.1885, allocations: 37.7 kB / 0.5723 GB, free: 2.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.1888, allocations: 376.3 kB / 0.5726 GB, free: 2.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.189, allocations: 228.7 kB / 0.5728 GB, free: 1.992 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.1891, allocations: 57.69 kB / 0.5729 GB, free: 1.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1892, allocations: 330 kB / 0.5732 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.1896, allocations: 221.1 kB / 0.5734 GB, free: 1.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.19, allocations: 294.8 kB / 0.5737 GB, free: 1.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008286/0.1909, allocations: 0.5354 MB / 0.5742 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1909, allocations: 3.938 kB / 0.5742 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.2333/0.4242, allocations: 1.371 MB / 0.5756 GB, free: 53.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.4242, allocations: 7.031 kB / 0.5756 GB, free: 53.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4242, allocations: 4.859 kB / 0.5756 GB, free: 53.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005699/0.4299, allocations: 0.9338 MB / 0.5765 GB, free: 53.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.4304, allocations: 100.2 kB / 0.5766 GB, free: 53.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.4328, allocations: 2.83 MB / 0.5794 GB, free: 51.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/0.4334, allocations: 67.88 kB / 0.5794 GB, free: 51.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.4335, allocations: 28.95 kB / 0.5794 GB, free: 51.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003341/0.4338, allocations: 195.9 kB / 0.5796 GB, free: 51.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.434, allocations: 79.66 kB / 0.5797 GB, free: 51.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/0.4396, allocations: 1.492 MB / 0.5812 GB, free: 51.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.4397, allocations: 7.203 kB / 0.5812 GB, free: 51.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4397, allocations: 1.375 kB / 0.5812 GB, free: 51.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.4397, allocations: 4 kB / 0.5812 GB, free: 51.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/0.4459, allocations: 2.14 MB / 0.5833 GB, free: 50.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4459, allocations: 0.6875 kB / 0.5833 GB, free: 50.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.4463, allocations: 76.17 kB / 0.5833 GB, free: 50.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005199/0.4515, allocations: 0.9209 MB / 0.5842 GB, free: 50.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.4516, allocations: 28.64 kB / 0.5843 GB, free: 50.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.4535, allocations: 2.834 MB / 0.587 GB, free: 47.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4535, allocations: 2.625 kB / 0.587 GB, free: 47.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.459, allocations: 1.764 MB / 0.5888 GB, free: 46.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.4594, allocations: 213.3 kB / 0.589 GB, free: 46.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/0.4595, allocations: 17.25 kB / 0.589 GB, free: 46.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.4599, allocations: 35.48 kB / 0.589 GB, free: 46.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.46, allocations: 39.03 kB / 0.5891 GB, free: 46.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.4601, allocations: 19.33 kB / 0.5891 GB, free: 46.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005295/0.4606, allocations: 430.8 kB / 0.5895 GB, free: 46.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4606, allocations: 0 / 0.5895 GB, free: 46.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009337/0.4615, allocations: 299.9 kB / 0.5898 GB, free: 46.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005127/0.4621, allocations: 399.9 kB / 0.5902 GB, free: 46.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.4634, allocations: 0.7012 MB / 0.5908 GB, free: 45.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4635, allocations: 0 / 0.5908 GB, free: 45.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007005/0.4642, allocations: 447.2 kB / 0.5913 GB, free: 45.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.4655, allocations: 205.9 kB / 0.5915 GB, free: 45.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.468, allocations: 1.957 MB / 0.5934 GB, free: 44.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.4684, allocations: 0.9548 MB / 0.5943 GB, free: 43.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003693/0.4688, allocations: 107.6 kB / 0.5944 GB, free: 43.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.4689, allocations: 54.72 kB / 0.5945 GB, free: 43.55 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4689, allocations: 0 / 0.5945 GB, free: 43.55 MB / 446.1 MB Notification: Performance of Templates: time 0.0237/0.4926, allocations: 15.02 MB / 0.6091 GB, free: 37.16 MB / 446.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches