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.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.001763/0.001763, allocations: 84.73 kB / 19.44 MB, free: 352 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.002121/0.002121, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.483/1.483, allocations: 177.1 MB / 203.1 MB, free: 5.371 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.099/1.099, allocations: 118.6 MB / 378.2 MB, free: 1.453 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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.999e-05, allocations: 2.312 kB / 482.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02473/0.02476, allocations: 22.23 MB / 0.4933 GB, free: 9.426 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.03792, allocations: 7.922 MB / 0.501 GB, free: 2.547 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.03907, allocations: 47.56 kB / 0.5011 GB, free: 2.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.04033, allocations: 377.2 kB / 0.5014 GB, free: 2.23 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002948/0.04328, allocations: 0.8966 MB / 0.5023 GB, free: 1.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.04474, allocations: 497.6 kB / 0.5028 GB, free: 1.066 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.04686, allocations: 1.302 MB / 0.504 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.0472, allocations: 144.1 kB / 0.5042 GB, free: 15.6 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.04843, allocations: 0.6972 MB / 0.5049 GB, free: 14.9 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.04904, allocations: 350.8 kB / 0.5052 GB, free: 14.56 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.04917, allocations: 60 kB / 0.5052 GB, free: 14.5 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.05064, allocations: 487.1 kB / 0.5057 GB, free: 14.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.05085, allocations: 171.2 kB / 0.5059 GB, free: 13.86 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.05126, allocations: 295.2 kB / 0.5062 GB, free: 13.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.05359, allocations: 1.254 MB / 0.5074 GB, free: 12.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.0536, allocations: 4 kB / 0.5074 GB, free: 12.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0536, allocations: 0 / 0.5074 GB, free: 12.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.05362, allocations: 0 / 0.5074 GB, free: 12.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002601/0.05622, allocations: 1.255 MB / 0.5086 GB, free: 11.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.05626, allocations: 8.031 kB / 0.5086 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004784/0.05674, allocations: 180.1 kB / 0.5088 GB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.05805, allocations: 0.6654 MB / 0.5094 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.05811, allocations: 45.69 kB / 0.5095 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.05822, allocations: 64.36 kB / 0.5095 GB, free: 10.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.05978, allocations: 0.6861 MB / 0.5102 GB, free: 9.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.0598, allocations: 192 / 0.5102 GB, free: 9.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.05988, allocations: 27.94 kB / 0.5102 GB, free: 9.293 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.0599, allocations: 16 kB / 0.5103 GB, free: 9.277 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.0611, allocations: 0.6453 MB / 0.5109 GB, free: 8.633 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.06498, allocations: 2.141 MB / 0.513 GB, free: 6.426 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.06621, allocations: 0.5752 MB / 0.5135 GB, free: 5.824 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.06665, allocations: 231.6 kB / 0.5138 GB, free: 5.594 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00217/0.06882, allocations: 0.9744 MB / 0.5147 GB, free: 4.602 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.06888, allocations: 50.98 kB / 0.5148 GB, free: 4.543 MB / 442.7 MB Notification: Performance of pre-optimization done (n=58): time 1.823e-06/0.06889, allocations: 3.938 kB / 0.5148 GB, free: 4.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.00417/0.07306, allocations: 1.041 MB / 0.5158 GB, free: 3.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.07313, allocations: 85.61 kB / 0.5159 GB, free: 3.379 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009167/0.07405, allocations: 0.6491 MB / 0.5165 GB, free: 2.719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.0741, allocations: 37.7 kB / 0.5165 GB, free: 2.676 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/0.07475, allocations: 440.5 kB / 0.517 GB, free: 2.242 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.07498, allocations: 210.2 kB / 0.5172 GB, free: 2.035 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.07519, allocations: 126.8 kB / 0.5173 GB, free: 1.906 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.07539, allocations: 330 kB / 0.5176 GB, free: 1.578 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.07576, allocations: 169.9 kB / 0.5177 GB, free: 1.414 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.07629, allocations: 305.2 kB / 0.518 GB, free: 1.066 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/0.07722, allocations: 0.5027 MB / 0.5185 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.07723, allocations: 0 / 0.5185 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002678/0.0799, allocations: 0.87 MB / 0.5194 GB, free: 15.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.07993, allocations: 4 kB / 0.5194 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.07994, allocations: 7.984 kB / 0.5194 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.08199, allocations: 318.4 kB / 0.5197 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.08244, allocations: 119.8 kB / 0.5198 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/0.0855, allocations: 2.678 MB / 0.5224 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.08605, allocations: 59.56 kB / 0.5225 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/0.08612, allocations: 27.98 kB / 0.5225 GB, free: 12.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (67): * Single equations (assignments): 64 * 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,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003875/0.0865, allocations: 205.8 kB / 0.5227 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.08673, allocations: 107.4 kB / 0.5228 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.08899, allocations: 0.8261 MB / 0.5236 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.089, allocations: 8 kB / 0.5236 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.089, allocations: 0 / 0.5236 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.08901, allocations: 3.938 kB / 0.5236 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.09202, allocations: 1.233 MB / 0.5248 GB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.09202, allocations: 4 kB / 0.5248 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.09237, allocations: 71.91 kB / 0.5249 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.09429, allocations: 314.3 kB / 0.5252 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.09434, allocations: 15.98 kB / 0.5252 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/0.09723, allocations: 2.678 MB / 0.5278 GB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.09723, allocations: 0 / 0.5278 GB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.09952, allocations: 1.051 MB / 0.5289 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.09985, allocations: 123.3 kB / 0.529 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/0.09995, allocations: 23.88 kB / 0.529 GB, free: 5.352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.1003, allocations: 16 kB / 0.529 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.1004, allocations: 44.3 kB / 0.5291 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.1005, allocations: 16 kB / 0.5291 GB, free: 5.277 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006515/0.1011, allocations: 455 kB / 0.5295 GB, free: 4.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1011, allocations: 0 / 0.5295 GB, free: 4.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009601/0.1021, allocations: 291.4 kB / 0.5298 GB, free: 4.555 MB / 458.7 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 (42): * Single equations (assignments): 39 * 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,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006544/0.1027, allocations: 377.5 kB / 0.5301 GB, free: 4.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.1042, allocations: 0.5957 MB / 0.5307 GB, free: 3.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1042, allocations: 0 / 0.5307 GB, free: 3.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.1051, allocations: 373.2 kB / 0.5311 GB, free: 3.191 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.1065, allocations: 277.1 kB / 0.5313 GB, free: 2.938 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.1093, allocations: 1.47 MB / 0.5328 GB, free: 1.418 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.1098, allocations: 378.5 kB / 0.5331 GB, free: 1.023 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003969/0.1102, allocations: 126 kB / 0.5333 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.1103, allocations: 64.48 kB / 0.5333 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1103, allocations: 0 / 0.5333 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of Templates: time 0.03161/0.142, allocations: 15 MB / 0.548 GB, free: 2.133 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.563163165934384]