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.008036/0.008036, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001824/0.001824, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6724/0.6724, allocations: 91.19 MB / 381.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 79.88 kB / 0.5168 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1291, allocations: 67.7 MB / 0.5829 GB, free: 5.242 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.2901/0.4192, allocations: 17.31 MB / 0.5999 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007514/0.4268, allocations: 6.77 MB / 0.6065 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.4275, allocations: 21 kB / 0.6065 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.4283, allocations: 284.8 kB / 0.6068 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.43, allocations: 0.5402 MB / 0.6073 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009891/0.431, allocations: 362.4 kB / 0.6076 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008302/0.4319, allocations: 0.7863 MB / 0.6084 GB, free: 12.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.4321, allocations: 156.1 kB / 0.6085 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005175/0.4327, allocations: 353.7 kB / 0.6089 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.433, allocations: 290.5 kB / 0.6092 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.4331, allocations: 36.97 kB / 0.6092 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000891/0.434, allocations: 355.4 kB / 0.6095 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.4341, allocations: 116.5 kB / 0.6096 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.4344, allocations: 304.1 kB / 0.6099 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.4357, allocations: 0.8267 MB / 0.6107 GB, free: 11.01 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4357, allocations: 2.625 kB / 0.6107 GB, free: 11.01 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4357, allocations: 0 / 0.6107 GB, free: 11.01 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4357, allocations: 0 / 0.6107 GB, free: 11.01 MB / 478.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.001531/0.4372, allocations: 0.9625 MB / 0.6117 GB, free: 10.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4373, allocations: 9.656 kB / 0.6117 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.4375, allocations: 73.61 kB / 0.6118 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.4384, allocations: 0.5034 MB / 0.6123 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.4384, allocations: 34.22 kB / 0.6123 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.049e-05/0.4385, allocations: 42.58 kB / 0.6123 GB, free: 9.871 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.4393, allocations: 457 kB / 0.6128 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4393, allocations: 0 / 0.6128 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.4393, allocations: 15.97 kB / 0.6128 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4393, allocations: 11.09 kB / 0.6128 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.44, allocations: 412.8 kB / 0.6132 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.4429, allocations: 2.062 MB / 0.6152 GB, free: 7.891 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.4437, allocations: 407 kB / 0.6156 GB, free: 7.688 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.444, allocations: 186.5 kB / 0.6158 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.4454, allocations: 1.405 MB / 0.6171 GB, free: 6.285 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4455, allocations: 41.52 kB / 0.6172 GB, free: 6.238 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.603e-06/0.4455, allocations: 4 kB / 0.6172 GB, free: 6.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.006084/0.4516, allocations: 1.448 MB / 0.6186 GB, free: 5.723 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.4516, allocations: 93.92 kB / 0.6187 GB, free: 5.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.4522, allocations: 466.3 kB / 0.6191 GB, free: 5.398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.4523, allocations: 35.8 kB / 0.6192 GB, free: 5.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.4525, allocations: 285.9 kB / 0.6194 GB, free: 5.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.4526, allocations: 142.6 kB / 0.6196 GB, free: 5.016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.4528, allocations: 74.89 kB / 0.6196 GB, free: 4.973 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4529, allocations: 364.8 kB / 0.62 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.4532, allocations: 122.8 kB / 0.6201 GB, free: 4.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.4536, allocations: 186.7 kB / 0.6203 GB, free: 4.484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006483/0.4542, allocations: 336.2 kB / 0.6206 GB, free: 4.301 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4542, allocations: 4.5 kB / 0.6206 GB, free: 4.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00288/0.4571, allocations: 0.7947 MB / 0.6214 GB, free: 4.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4572, allocations: 12.38 kB / 0.6214 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4572, allocations: 1.25 kB / 0.6214 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/0.4599, allocations: 494.8 kB / 0.6219 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.4602, allocations: 64.97 kB / 0.6219 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.4621, allocations: 2.193 MB / 0.6241 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.4624, allocations: 46.27 kB / 0.6241 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.4625, allocations: 17.06 kB / 0.6241 GB, free: 1.82 MB / 478.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.0002456/0.4627, allocations: 168.2 kB / 0.6243 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.4628, allocations: 54.09 kB / 0.6243 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.4659, allocations: 0.8596 MB / 0.6252 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4659, allocations: 5.141 kB / 0.6252 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4659, allocations: 1.25 kB / 0.6252 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4659, allocations: 2.859 kB / 0.6252 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.4695, allocations: 1.369 MB / 0.6265 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4695, allocations: 5.438 kB / 0.6265 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.4698, allocations: 45.89 kB / 0.6266 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/0.4723, allocations: 0.4883 MB / 0.6271 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.4723, allocations: 13.44 kB / 0.6271 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.4745, allocations: 2.203 MB / 0.6292 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4745, allocations: 1.469 kB / 0.6292 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/0.4784, allocations: 1.107 MB / 0.6303 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/0.4789, allocations: 160.5 kB / 0.6305 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.4791, allocations: 12.81 kB / 0.6305 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.4795, allocations: 8.25 kB / 0.6305 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.4797, allocations: 27.97 kB / 0.6305 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.4797, allocations: 15.41 kB / 0.6305 GB, free: 13.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006065/0.4803, allocations: 342.2 kB / 0.6308 GB, free: 13.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4803, allocations: 0 / 0.6308 GB, free: 13.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001139/0.4815, allocations: 200.2 kB / 0.631 GB, free: 13.54 MB / 494.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.0006334/0.4821, allocations: 297.2 kB / 0.6313 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.4836, allocations: 486.5 kB / 0.6318 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4836, allocations: 0 / 0.6318 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000743/0.4844, allocations: 317.6 kB / 0.6321 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.4858, allocations: 153.1 kB / 0.6322 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.4887, allocations: 1.103 MB / 0.6333 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.4894, allocations: 0.8604 MB / 0.6342 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004173/0.4898, allocations: 80.52 kB / 0.6342 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.49, allocations: 45.02 kB / 0.6343 GB, free: 11.49 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.49, allocations: 4 kB / 0.6343 GB, free: 11.49 MB / 494.1 MB Notification: Performance of Templates: time 0.03393/0.5239, allocations: 10.52 MB / 0.6446 GB, free: 6.168 MB / 494.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