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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002271/0.002271, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002495/0.002495, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.606/1.606, allocations: 177.1 MB / 203.1 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.155/1.155, allocations: 118.6 MB / 378.2 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 482.9 MB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.851e-05, allocations: 2.312 kB / 482.9 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02049/0.02051, allocations: 19.06 MB / 0.4902 GB, free: 11.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009689/0.0302, allocations: 6.186 MB / 0.4962 GB, free: 6.73 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.03093, allocations: 35.69 kB / 0.4963 GB, free: 6.695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008848/0.03182, allocations: 266.1 kB / 0.4965 GB, free: 6.504 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.03368, allocations: 0.6086 MB / 0.4971 GB, free: 6.008 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.03479, allocations: 377.1 kB / 0.4975 GB, free: 5.734 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.03604, allocations: 0.9223 MB / 0.4984 GB, free: 4.891 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.03629, allocations: 95.27 kB / 0.4985 GB, free: 4.797 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009612/0.03725, allocations: 0.5079 MB / 0.499 GB, free: 4.391 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/0.03766, allocations: 242.5 kB / 0.4992 GB, free: 4.199 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.03775, allocations: 40 kB / 0.4992 GB, free: 4.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000949/0.0387, allocations: 334.2 kB / 0.4995 GB, free: 3.859 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.03886, allocations: 112.1 kB / 0.4996 GB, free: 3.766 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.03915, allocations: 207.4 kB / 0.4998 GB, free: 3.578 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.04064, allocations: 0.8703 MB / 0.5007 GB, free: 2.891 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.04065, allocations: 4 kB / 0.5007 GB, free: 2.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.04065, allocations: 0 / 0.5007 GB, free: 2.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.04066, allocations: 4 kB / 0.5007 GB, free: 2.883 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002221/0.04288, allocations: 1.087 MB / 0.5018 GB, free: 1.832 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.04291, allocations: 8.031 kB / 0.5018 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.04327, allocations: 131 kB / 0.5019 GB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.04428, allocations: 0.5279 MB / 0.5024 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.04432, allocations: 29.38 kB / 0.5024 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.1e-05/0.0444, allocations: 44.38 kB / 0.5025 GB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.04524, allocations: 438.5 kB / 0.5029 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.04527, allocations: 11.88 kB / 0.5029 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.04531, allocations: 16.83 kB / 0.5029 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.04532, allocations: 12 kB / 0.5029 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.046, allocations: 311.7 kB / 0.5032 GB, free: 448 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.04903, allocations: 1.829 MB / 0.505 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007883/0.04982, allocations: 383.9 kB / 0.5054 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.05013, allocations: 166 kB / 0.5055 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.05172, allocations: 0.8579 MB / 0.5064 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.05176, allocations: 49.31 kB / 0.5064 GB, free: 13.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 4.188e-06/0.05176, allocations: 7.812 kB / 0.5064 GB, free: 13.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.002757/0.05452, allocations: 0.6717 MB / 0.5071 GB, free: 12.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.05461, allocations: 85.11 kB / 0.5072 GB, free: 12.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007949/0.0554, allocations: 0.6158 MB / 0.5078 GB, free: 11.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.05544, allocations: 33.83 kB / 0.5078 GB, free: 11.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.0558, allocations: 387.2 kB / 0.5082 GB, free: 11.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.05595, allocations: 146.8 kB / 0.5083 GB, free: 11.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.05611, allocations: 95.8 kB / 0.5084 GB, free: 10.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005843/0.0567, allocations: 0.5587 MB / 0.509 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.05692, allocations: 96.95 kB / 0.509 GB, free: 10.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.05729, allocations: 233.5 kB / 0.5093 GB, free: 10 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/0.05791, allocations: 364.2 kB / 0.5096 GB, free: 9.598 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.05792, allocations: 3.938 kB / 0.5096 GB, free: 9.594 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001178/0.0591, allocations: 0.5234 MB / 0.5101 GB, free: 9.055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.05911, allocations: 4 kB / 0.5101 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.05912, allocations: 4 kB / 0.5101 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.06035, allocations: 191.3 kB / 0.5103 GB, free: 8.852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.06066, allocations: 75.89 kB / 0.5104 GB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.06332, allocations: 2.802 MB / 0.5131 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.06364, allocations: 39.73 kB / 0.5132 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.06369, allocations: 16 kB / 0.5132 GB, free: 5.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (42): * Single equations (assignments): 40 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.06399, allocations: 228.4 kB / 0.5134 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.06414, allocations: 71.62 kB / 0.5135 GB, free: 5.465 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.06527, allocations: 0.5285 MB / 0.514 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.06527, allocations: 4.141 kB / 0.514 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.06528, allocations: 0 / 0.514 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.06528, allocations: 3.984 kB / 0.514 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.06746, allocations: 1.026 MB / 0.515 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.06747, allocations: 11.98 kB / 0.515 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.06769, allocations: 51.86 kB / 0.5151 GB, free: 3.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.06879, allocations: 187.3 kB / 0.5152 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.06882, allocations: 8 kB / 0.5152 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002881/0.0717, allocations: 2.806 MB / 0.518 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.0717, allocations: 0 / 0.518 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.07337, allocations: 0.8306 MB / 0.5188 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.07357, allocations: 91.47 kB / 0.5189 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.07364, allocations: 15.94 kB / 0.5189 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.07389, allocations: 15.98 kB / 0.5189 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.07398, allocations: 27.95 kB / 0.5189 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.074, allocations: 12 kB / 0.519 GB, free: 15.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005514/0.07456, allocations: 414.7 kB / 0.5193 GB, free: 15.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07456, allocations: 0 / 0.5193 GB, free: 15.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000694/0.07525, allocations: 191.6 kB / 0.5195 GB, free: 14.99 MB / 458.7 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004813/0.07573, allocations: 282.2 kB / 0.5198 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.07678, allocations: 494.1 kB / 0.5203 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.07679, allocations: 0 / 0.5203 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.07742, allocations: 362.2 kB / 0.5206 GB, free: 13.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.07857, allocations: 204.3 kB / 0.5208 GB, free: 13.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.08063, allocations: 1.071 MB / 0.5219 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.08096, allocations: 280.1 kB / 0.5221 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.08123, allocations: 86.05 kB / 0.5222 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.08135, allocations: 48.48 kB / 0.5223 GB, free: 12.1 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/0.08135, allocations: 4 kB / 0.5223 GB, free: 12.09 MB / 458.7 MB Notification: Performance of Templates: time 0.02179/0.1031, allocations: 10.33 MB / 0.5323 GB, free: 1.973 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.343718547024764]