Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.007036/0.007036, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001612/0.001612, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.391/1.391, 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.6846/0.6846, allocations: 93.7 MB / 384.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 79.86 kB / 0.5204 GB, free: 5.816 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1288, allocations: 68.27 MB / 0.5871 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.2805/0.4093, allocations: 17.32 MB / 0.604 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00858/0.4179, allocations: 6.806 MB / 0.6106 GB, free: 8.598 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.4191, allocations: 21.12 kB / 0.6107 GB, free: 8.59 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.4202, allocations: 283.7 kB / 0.6109 GB, free: 8.422 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.4223, allocations: 0.5388 MB / 0.6115 GB, free: 8.082 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.4236, allocations: 361.2 kB / 0.6118 GB, free: 7.891 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.4249, allocations: 0.8124 MB / 0.6126 GB, free: 7.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.4251, allocations: 147.9 kB / 0.6127 GB, free: 7.43 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006486/0.4258, allocations: 346 kB / 0.6131 GB, free: 7.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.4262, allocations: 299.5 kB / 0.6134 GB, free: 7.117 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.4263, allocations: 41 kB / 0.6134 GB, free: 7.117 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.4275, allocations: 361.8 kB / 0.6137 GB, free: 7.012 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.4276, allocations: 102.5 kB / 0.6138 GB, free: 6.945 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.428, allocations: 301.9 kB / 0.6141 GB, free: 6.758 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.43, allocations: 0.8462 MB / 0.6149 GB, free: 6.395 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.43, allocations: 0 / 0.6149 GB, free: 6.395 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.43, allocations: 0 / 0.6149 GB, free: 6.395 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.43, allocations: 0 / 0.6149 GB, free: 6.395 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.001891/0.4319, allocations: 0.9792 MB / 0.6159 GB, free: 5.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.432, allocations: 9.688 kB / 0.6159 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.4322, allocations: 82.78 kB / 0.616 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.4331, allocations: 0.5287 MB / 0.6165 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.4331, allocations: 33.53 kB / 0.6165 GB, free: 5.227 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.4332, allocations: 46.83 kB / 0.6166 GB, free: 5.207 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.4339, allocations: 451.6 kB / 0.617 GB, free: 4.996 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.434, allocations: 7.016 kB / 0.617 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.434, allocations: 19.34 kB / 0.617 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.434, allocations: 10.56 kB / 0.6171 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/0.4347, allocations: 410.3 kB / 0.6174 GB, free: 4.832 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.4375, allocations: 2.056 MB / 0.6194 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.4382, allocations: 407.1 kB / 0.6198 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.4385, allocations: 184.4 kB / 0.62 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/0.4401, allocations: 1.415 MB / 0.6214 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4401, allocations: 37.39 kB / 0.6214 GB, free: 1.578 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/0.4401, allocations: 0 / 0.6214 GB, free: 1.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.006499/0.4467, allocations: 1.458 MB / 0.6229 GB, free: 1.059 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.4467, allocations: 93.77 kB / 0.6229 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000693/0.4474, allocations: 484.6 kB / 0.6234 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.4475, allocations: 30.8 kB / 0.6234 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.4477, allocations: 291.5 kB / 0.6237 GB, free: 460 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.4478, allocations: 148.1 kB / 0.6239 GB, free: 340 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.448, allocations: 74.59 kB / 0.6239 GB, free: 296 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4482, allocations: 365.6 kB / 0.6243 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.4484, allocations: 127.2 kB / 0.6244 GB, free: 15.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.4488, allocations: 186.1 kB / 0.6246 GB, free: 15.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/0.4494, allocations: 337 kB / 0.6249 GB, free: 15.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.4494, allocations: 1.094 kB / 0.6249 GB, free: 15.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002919/0.4523, allocations: 0.7952 MB / 0.6257 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4523, allocations: 8.672 kB / 0.6257 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.4524, allocations: 1.156 kB / 0.6257 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/0.4552, allocations: 493.2 kB / 0.6262 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.4555, allocations: 65.08 kB / 0.6262 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.4575, allocations: 2.207 MB / 0.6284 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.458, allocations: 38.81 kB / 0.6284 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.458, allocations: 20.3 kB / 0.6284 GB, free: 13.14 MB / 494.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.0003249/0.4584, allocations: 166 kB / 0.6286 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.4585, allocations: 58.28 kB / 0.6286 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.4615, allocations: 0.8701 MB / 0.6295 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4616, allocations: 4.641 kB / 0.6295 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4616, allocations: 1.406 kB / 0.6295 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.4616, allocations: 6.953 kB / 0.6295 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.4653, allocations: 1.367 MB / 0.6308 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.4653, allocations: 1.938 kB / 0.6308 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.4655, allocations: 52.52 kB / 0.6309 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/0.4683, allocations: 497.4 kB / 0.6314 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/0.4684, allocations: 8.781 kB / 0.6314 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.4703, allocations: 2.207 MB / 0.6335 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4703, allocations: 1.094 kB / 0.6335 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.4735, allocations: 1.113 MB / 0.6346 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.4738, allocations: 168.7 kB / 0.6348 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/0.4739, allocations: 6.656 kB / 0.6348 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.4742, allocations: 16.2 kB / 0.6348 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.4743, allocations: 33.03 kB / 0.6348 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.4743, allocations: 17.55 kB / 0.6348 GB, free: 8.887 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004635/0.4748, allocations: 348 kB / 0.6352 GB, free: 8.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4748, allocations: 0 / 0.6352 GB, free: 8.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007792/0.4756, allocations: 192.8 kB / 0.6354 GB, free: 8.625 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.0005416/0.4761, allocations: 302.7 kB / 0.6357 GB, free: 8.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.4772, allocations: 476 kB / 0.6361 GB, free: 8.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4772, allocations: 0 / 0.6361 GB, free: 8.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.4778, allocations: 311.7 kB / 0.6364 GB, free: 7.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.4788, allocations: 158.2 kB / 0.6366 GB, free: 7.863 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.481, allocations: 1.126 MB / 0.6377 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.4815, allocations: 0.8665 MB / 0.6385 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.4818, allocations: 87.2 kB / 0.6386 GB, free: 6.297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.482, allocations: 44.52 kB / 0.6386 GB, free: 6.281 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.482, allocations: 1.219 kB / 0.6386 GB, free: 6.281 MB / 494.1 MB Notification: Performance of Templates: time 0.0247/0.5067, allocations: 10.55 MB / 0.6489 GB, free: 0.8672 MB / 494.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches