Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.0007917/0.0007916, allocations: 91.84 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.004963/0.004964, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.65/0.65, allocations: 91.32 MB / 382.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 9.375 kB / 462.7 MB, free: 23.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1262, allocations: 69.21 MB / 0.5195 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.0248/0.151, allocations: 22.66 MB / 0.5416 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.1616, allocations: 9.404 MB / 0.5508 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008919/0.1625, allocations: 31.75 kB / 0.5508 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009493/0.1635, allocations: 358 kB / 0.5511 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.1654, allocations: 0.7067 MB / 0.5518 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1665, allocations: 430.7 kB / 0.5522 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.1679, allocations: 1.26 MB / 0.5535 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.1683, allocations: 206.4 kB / 0.5537 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006846/0.169, allocations: 421.9 kB / 0.5541 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.1695, allocations: 401.8 kB / 0.5545 GB, free: 5.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.1695, allocations: 31.94 kB / 0.5545 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.1708, allocations: 479.5 kB / 0.5549 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1709, allocations: 123.3 kB / 0.5551 GB, free: 4.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.1713, allocations: 427.2 kB / 0.5555 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.1728, allocations: 1.09 MB / 0.5565 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1728, allocations: 0 / 0.5565 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1729, allocations: 4 kB / 0.5565 GB, free: 2.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.1729, allocations: 0 / 0.5565 GB, free: 2.965 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001978/0.1749, allocations: 1.102 MB / 0.5576 GB, free: 1.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1749, allocations: 8.031 kB / 0.5576 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.1752, allocations: 107.7 kB / 0.5577 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.176, allocations: 0.601 MB / 0.5583 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.1761, allocations: 49.31 kB / 0.5584 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1762, allocations: 63.91 kB / 0.5584 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.1773, allocations: 0.673 MB / 0.5591 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1773, allocations: 7.875 kB / 0.5591 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.1774, allocations: 31.98 kB / 0.5591 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1774, allocations: 16 kB / 0.5591 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.1785, allocations: 0.6298 MB / 0.5597 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.1822, allocations: 3.007 MB / 0.5627 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1833, allocations: 0.6656 MB / 0.5633 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.1838, allocations: 291.9 kB / 0.5636 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002151/0.1859, allocations: 1.905 MB / 0.5655 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.186, allocations: 43.12 kB / 0.5655 GB, free: 9.148 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.575e-06/0.186, allocations: 0 / 0.5655 GB, free: 9.148 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01032/0.1963, allocations: 2.443 MB / 0.5679 GB, free: 6.633 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.1964, allocations: 89.61 kB / 0.568 GB, free: 6.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007595/0.1972, allocations: 0.5825 MB / 0.5685 GB, free: 5.938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.1972, allocations: 37.7 kB / 0.5686 GB, free: 5.895 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.1975, allocations: 384.2 kB / 0.5689 GB, free: 5.512 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.1977, allocations: 220.7 kB / 0.5692 GB, free: 5.293 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.1978, allocations: 65.72 kB / 0.5692 GB, free: 5.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.198, allocations: 382.8 kB / 0.5696 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.1984, allocations: 209.2 kB / 0.5698 GB, free: 4.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.1988, allocations: 298.8 kB / 0.5701 GB, free: 4.316 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/0.1997, allocations: 0.5315 MB / 0.5706 GB, free: 3.758 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1997, allocations: 0 / 0.5706 GB, free: 3.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005211/0.2049, allocations: 1.388 MB / 0.5719 GB, free: 2.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.205, allocations: 4 kB / 0.572 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.205, allocations: 4 kB / 0.572 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005307/0.2103, allocations: 0.9352 MB / 0.5729 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.2107, allocations: 95.89 kB / 0.573 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2352/0.446, allocations: 2.83 MB / 0.5757 GB, free: 54.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.4466, allocations: 69.17 kB / 0.5758 GB, free: 54.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.4467, allocations: 28.98 kB / 0.5758 GB, free: 54.41 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.0002978/0.447, allocations: 195.1 kB / 0.576 GB, free: 54.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.4471, allocations: 82.12 kB / 0.5761 GB, free: 54.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005678/0.4528, allocations: 1.48 MB / 0.5775 GB, free: 54.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.4529, allocations: 10.56 kB / 0.5775 GB, free: 54.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4529, allocations: 1 kB / 0.5775 GB, free: 54.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.4529, allocations: 4.172 kB / 0.5775 GB, free: 54.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006692/0.4596, allocations: 2.135 MB / 0.5796 GB, free: 53.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.4597, allocations: 1.906 kB / 0.5796 GB, free: 53.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.46, allocations: 76.84 kB / 0.5797 GB, free: 53.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00517/0.4652, allocations: 0.9315 MB / 0.5806 GB, free: 53.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.4653, allocations: 17.22 kB / 0.5806 GB, free: 53.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.4672, allocations: 2.832 MB / 0.5834 GB, free: 51.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4672, allocations: 4.828 kB / 0.5834 GB, free: 51.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005361/0.4726, allocations: 1.76 MB / 0.5851 GB, free: 50.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.473, allocations: 220.5 kB / 0.5853 GB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.473, allocations: 16.56 kB / 0.5853 GB, free: 50.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.4734, allocations: 34.02 kB / 0.5854 GB, free: 50.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.4736, allocations: 42.91 kB / 0.5854 GB, free: 50.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.4736, allocations: 21.52 kB / 0.5854 GB, free: 50.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005207/0.4741, allocations: 429.7 kB / 0.5858 GB, free: 50.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4741, allocations: 0 / 0.5858 GB, free: 50.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008713/0.475, allocations: 293 kB / 0.5861 GB, free: 50.13 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.0004905/0.4755, allocations: 394.1 kB / 0.5865 GB, free: 49.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.4767, allocations: 0.696 MB / 0.5872 GB, free: 49.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4768, allocations: 0 / 0.5872 GB, free: 49.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000639/0.4774, allocations: 447.8 kB / 0.5876 GB, free: 49.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.4787, allocations: 209.5 kB / 0.5878 GB, free: 49.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.4811, allocations: 1.938 MB / 0.5897 GB, free: 48.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.4816, allocations: 0.9549 MB / 0.5906 GB, free: 47.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003959/0.482, allocations: 107.2 kB / 0.5907 GB, free: 47.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4821, allocations: 56.09 kB / 0.5908 GB, free: 47.41 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4821, allocations: 0 / 0.5908 GB, free: 47.41 MB / 446.1 MB Notification: Performance of Templates: time 0.02462/0.5068, allocations: 15 MB / 0.6054 GB, free: 41.61 MB / 446.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches