Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 108.6 kB / 18.68 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005154/0.005154, allocations: 198 kB / 21.93 MB, free: 5.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 250.6 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7736/0.7736, allocations: 94.59 MB / 400.4 MB, free: 15.8 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 85.66 kB / 0.5464 GB, free: 42.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1477, allocations: 71.86 MB / 0.6166 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02855/0.1763, allocations: 23.29 MB / 0.6393 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.1884, allocations: 9.567 MB / 0.6487 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009637/0.1894, allocations: 27.81 kB / 0.6487 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.1908, allocations: 413.2 kB / 0.6491 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.1941, allocations: 0.8112 MB / 0.6499 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.1957, allocations: 478.3 kB / 0.6503 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.1973, allocations: 1.166 MB / 0.6515 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.1976, allocations: 151.5 kB / 0.6516 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008299/0.1985, allocations: 489.9 kB / 0.6521 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.199, allocations: 449.7 kB / 0.6525 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1991, allocations: 56 kB / 0.6526 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.2007, allocations: 0.5112 MB / 0.6531 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.2009, allocations: 163.2 kB / 0.6532 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004369/0.2014, allocations: 433.5 kB / 0.6536 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.2034, allocations: 1.214 MB / 0.6548 GB, free: 1.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2034, allocations: 4 kB / 0.6548 GB, free: 1.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2034, allocations: 0 / 0.6548 GB, free: 1.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2034, allocations: 4 kB / 0.6548 GB, free: 1.262 MB / 494.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.002468/0.2059, allocations: 1.286 MB / 0.6561 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2059, allocations: 8.031 kB / 0.6561 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.2062, allocations: 116.2 kB / 0.6562 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.2076, allocations: 0.6616 MB / 0.6568 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/0.2076, allocations: 49.31 kB / 0.6569 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.2078, allocations: 64 kB / 0.657 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.2089, allocations: 0.6652 MB / 0.6576 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.209, allocations: 7.938 kB / 0.6576 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.209, allocations: 24 kB / 0.6576 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.209, allocations: 16 kB / 0.6576 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2101, allocations: 0.6219 MB / 0.6583 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.2142, allocations: 3.019 MB / 0.6612 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.2153, allocations: 0.6094 MB / 0.6618 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.2158, allocations: 259.3 kB / 0.662 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0024/0.2182, allocations: 1.909 MB / 0.6639 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.2183, allocations: 39.12 kB / 0.6639 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 1.964e-06/0.2183, allocations: 0 / 0.6639 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.0106/0.2289, allocations: 2.424 MB / 0.6663 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.2289, allocations: 85.67 kB / 0.6664 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008528/0.2298, allocations: 0.5943 MB / 0.667 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.285e-05/0.2298, allocations: 33.7 kB / 0.667 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.2302, allocations: 388.9 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.2304, allocations: 245.8 kB / 0.6676 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.2306, allocations: 114.3 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2308, allocations: 338 kB / 0.668 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.2312, allocations: 201.2 kB / 0.6682 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.2317, allocations: 294.8 kB / 0.6685 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/0.2326, allocations: 0.5276 MB / 0.669 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.2326, allocations: 11.88 kB / 0.669 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005299/0.2379, allocations: 1.365 MB / 0.6704 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.238, allocations: 8 kB / 0.6704 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.238, allocations: 3.938 kB / 0.6704 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/0.2433, allocations: 0.9354 MB / 0.6713 GB, free: 15.54 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.2437, allocations: 99.89 kB / 0.6714 GB, free: 15.45 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.2468, allocations: 2.948 MB / 0.6743 GB, free: 12.31 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.2473, allocations: 63.61 kB / 0.6743 GB, free: 12.25 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.2474, allocations: 24 kB / 0.6744 GB, free: 12.23 MB / 0.5138 GB 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.000384/0.2477, allocations: 197.7 kB / 0.6745 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.2479, allocations: 83.44 kB / 0.6746 GB, free: 11.94 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/0.2534, allocations: 1.485 MB / 0.6761 GB, free: 10.44 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2534, allocations: 7.922 kB / 0.6761 GB, free: 10.43 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2534, allocations: 0 / 0.6761 GB, free: 10.43 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.2537, allocations: 212.3 kB / 0.6763 GB, free: 10.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/0.2538, allocations: 12 kB / 0.6763 GB, free: 10.19 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.2541, allocations: 12.19 kB / 0.6763 GB, free: 10.18 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.2542, allocations: 72.39 kB / 0.6764 GB, free: 10.11 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002651/0.2569, allocations: 1.031 MB / 0.6774 GB, free: 9.062 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001674/0.2586, allocations: 1.116 MB / 0.6785 GB, free: 7.93 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004649/0.259, allocations: 228.3 kB / 0.6787 GB, free: 7.707 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0005557/0.2596, allocations: 431 kB / 0.6791 GB, free: 7.293 MB / 0.5138 GB Notification: Performance of Backend: time 2.81e-07/0.2596, allocations: 0 / 0.6791 GB, free: 7.293 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.002198/0.2618, allocations: 0.8793 MB / 0.68 GB, free: 6.402 MB / 0.5138 GB Notification: Performance of SimCode: time 0.003164/0.2649, allocations: 2.196 MB / 0.6821 GB, free: 4.16 MB / 0.5138 GB Notification: Performance of Templates: time 0.0286/0.2935, allocations: 16.13 MB / 0.6979 GB, free: 4.172 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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.2687746790470555]