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.002447/0.002447, allocations: 89.48 kB / 19.44 MB, free: 332 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.00314/0.00314, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.492 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.061/1.061, allocations: 118.6 MB / 378.2 MB, free: 1.48 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.633e-06/1.633e-06, allocations: 0 / 482.9 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.533e-05, allocations: 3.719 kB / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02739/0.02742, allocations: 24.85 MB / 0.4958 GB, free: 7.074 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.0415, allocations: 8.983 MB / 0.5046 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.0429, allocations: 47.56 kB / 0.5046 GB, free: 14.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.04409, allocations: 385 kB / 0.505 GB, free: 14.67 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.04671, allocations: 0.8883 MB / 0.5059 GB, free: 13.85 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.04814, allocations: 498 kB / 0.5064 GB, free: 13.36 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.05, allocations: 1.302 MB / 0.5076 GB, free: 12.05 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.05033, allocations: 148.1 kB / 0.5078 GB, free: 11.89 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.05155, allocations: 0.7011 MB / 0.5085 GB, free: 11.19 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005675/0.05212, allocations: 350.8 kB / 0.5088 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.05223, allocations: 60 kB / 0.5088 GB, free: 10.79 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.0536, allocations: 487.1 kB / 0.5093 GB, free: 10.31 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.0538, allocations: 167.2 kB / 0.5095 GB, free: 10.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.05421, allocations: 303.1 kB / 0.5098 GB, free: 9.852 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.05639, allocations: 1.254 MB / 0.511 GB, free: 8.594 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.05639, allocations: 8 kB / 0.511 GB, free: 8.586 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0564, allocations: 0 / 0.511 GB, free: 8.586 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.05641, allocations: 4 kB / 0.511 GB, free: 8.582 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.002654/0.05906, allocations: 1.401 MB / 0.5124 GB, free: 7.137 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.05911, allocations: 12.03 kB / 0.5124 GB, free: 7.125 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004894/0.0596, allocations: 184.1 kB / 0.5125 GB, free: 6.945 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.06093, allocations: 0.6604 MB / 0.5132 GB, free: 6.258 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.06099, allocations: 45.69 kB / 0.5132 GB, free: 6.215 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.0611, allocations: 60.38 kB / 0.5133 GB, free: 6.156 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.0623, allocations: 0.648 MB / 0.5139 GB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.06233, allocations: 4.125 kB / 0.5139 GB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.06239, allocations: 35.92 kB / 0.514 GB, free: 5.438 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.06241, allocations: 16 kB / 0.514 GB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.06365, allocations: 480.9 kB / 0.5144 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004216/0.06786, allocations: 2.543 MB / 0.5169 GB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.06919, allocations: 0.599 MB / 0.5175 GB, free: 1.699 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.06963, allocations: 237.3 kB / 0.5177 GB, free: 1.461 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002198/0.07183, allocations: 1.123 MB / 0.5188 GB, free: 328 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.07187, allocations: 49.81 kB / 0.5189 GB, free: 268 kB / 442.7 MB Notification: Performance of pre-optimization done (n=58): time 2.144e-06/0.07188, allocations: 0 / 0.5189 GB, free: 268 kB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.004123/0.076, allocations: 1.065 MB / 0.5199 GB, free: 15.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.07608, allocations: 85.55 kB / 0.52 GB, free: 15.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.07714, allocations: 0.7964 MB / 0.5208 GB, free: 14.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.07719, allocations: 33.7 kB / 0.5208 GB, free: 14.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007787/0.07796, allocations: 0.4954 MB / 0.5213 GB, free: 13.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.0782, allocations: 226.1 kB / 0.5215 GB, free: 13.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.07842, allocations: 140.3 kB / 0.5216 GB, free: 13.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000319/0.07874, allocations: 0.5082 MB / 0.5221 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.07909, allocations: 165.9 kB / 0.5223 GB, free: 12.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.07965, allocations: 361.2 kB / 0.5226 GB, free: 12.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009699/0.08062, allocations: 0.5809 MB / 0.5232 GB, free: 11.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.08063, allocations: 4 kB / 0.5232 GB, free: 11.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002616/0.08324, allocations: 0.8743 MB / 0.5241 GB, free: 10.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.08327, allocations: 10.81 kB / 0.5241 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.08328, allocations: 7.984 kB / 0.5241 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/0.08537, allocations: 335 kB / 0.5244 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.08583, allocations: 119.8 kB / 0.5245 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/0.08968, allocations: 3.75 MB / 0.5282 GB, free: 6.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.09021, allocations: 59.8 kB / 0.5282 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.09027, allocations: 28.09 kB / 0.5283 GB, free: 6.207 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.0004063/0.09068, allocations: 252.3 kB / 0.5285 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.09089, allocations: 111.4 kB / 0.5286 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.09327, allocations: 0.8661 MB / 0.5295 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.09328, allocations: 4 kB / 0.5295 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.09328, allocations: 7.938 kB / 0.5295 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.09329, allocations: 4 kB / 0.5295 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.09622, allocations: 1.406 MB / 0.5308 GB, free: 3.477 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.09623, allocations: 8.062 kB / 0.5309 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.09658, allocations: 71.91 kB / 0.5309 GB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.09855, allocations: 326.8 kB / 0.5312 GB, free: 3.066 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.0986, allocations: 19.98 kB / 0.5313 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003837/0.1024, allocations: 3.762 MB / 0.5349 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1024, allocations: 0 / 0.5349 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.105, allocations: 1.144 MB / 0.536 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.1054, allocations: 131.2 kB / 0.5362 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.846e-05/0.1055, allocations: 12 kB / 0.5362 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.1058, allocations: 12 kB / 0.5362 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.106, allocations: 44.3 kB / 0.5362 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.106, allocations: 23.98 kB / 0.5363 GB, free: 13.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007498/0.1068, allocations: 0.5068 MB / 0.5367 GB, free: 13.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1068, allocations: 4 kB / 0.5368 GB, free: 13.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001032/0.1078, allocations: 299.3 kB / 0.537 GB, free: 12.9 MB / 474.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.0007085/0.1085, allocations: 378.4 kB / 0.5374 GB, free: 12.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.1101, allocations: 0.69 MB / 0.5381 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1101, allocations: 0 / 0.5381 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.1111, allocations: 461.8 kB / 0.5385 GB, free: 11.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.1127, allocations: 275.1 kB / 0.5388 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.1157, allocations: 1.489 MB / 0.5402 GB, free: 9.555 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.1162, allocations: 374.6 kB / 0.5406 GB, free: 9.164 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004703/0.1167, allocations: 124.5 kB / 0.5407 GB, free: 9.059 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.1168, allocations: 64.48 kB / 0.5408 GB, free: 8.996 MB / 474.7 MB Notification: Performance of SimCode: time 1.492e-06/0.1168, allocations: 0 / 0.5408 GB, free: 8.996 MB / 474.7 MB Notification: Performance of Templates: time 0.0391/0.1559, allocations: 15.05 MB / 0.5555 GB, free: 10.23 MB / 490.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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 240] 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.490637648967095]