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.001013/0.001013, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001611/0.001611, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.9843/0.9843, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7299/0.7299, allocations: 118.7 MB / 378.9 MB, free: 1.34 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 2.154e-06/2.154e-06, allocations: 0 / 430.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.436e-05, allocations: 5.547 kB / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01198/0.01202, allocations: 8.312 MB / 439.2 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004839/0.01685, allocations: 2.442 MB / 441.6 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008315/0.01769, allocations: 51.5 kB / 441.7 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.01823, allocations: 178.3 kB / 441.8 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.02031, allocations: 0.6475 MB / 442.5 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.02107, allocations: 311.2 kB / 442.8 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.02243, allocations: 1.302 MB / 444.1 MB, free: 4 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1979/0.2203, allocations: 152.1 kB / 444.2 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.2214, allocations: 0.703 MB / 444.9 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.2218, allocations: 347.7 kB / 445.3 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.437e-05/0.2219, allocations: 58.25 kB / 445.3 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.2223, allocations: 183 kB / 445.5 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2224, allocations: 170.3 kB / 445.7 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.2226, allocations: 301.2 kB / 446 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008459/0.2235, allocations: 0.8185 MB / 446.8 MB, free: 17.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.2235, allocations: 2.312 kB / 446.8 MB, free: 17.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2235, allocations: 0 / 446.8 MB, free: 17.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.2235, allocations: 0.6094 kB / 446.8 MB, free: 17.48 MB / 410.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.001217/0.2247, allocations: 1.195 MB / 448 MB, free: 16.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.2247, allocations: 9.375 kB / 448 MB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.225, allocations: 138 kB / 448.1 MB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.2257, allocations: 0.612 MB / 448.7 MB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.2257, allocations: 49.28 kB / 448.8 MB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.2257, allocations: 64.22 kB / 448.9 MB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.2263, allocations: 484.2 kB / 449.3 MB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.2264, allocations: 0.9844 kB / 449.3 MB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.2264, allocations: 28.84 kB / 449.4 MB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.2264, allocations: 16.16 kB / 449.4 MB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.2268, allocations: 242.2 kB / 449.6 MB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.229, allocations: 1.631 MB / 451.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.2297, allocations: 473.1 kB / 451.7 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.2298, allocations: 133.2 kB / 451.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.231, allocations: 0.7456 MB / 452.6 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.231, allocations: 39.47 kB / 452.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 1.873e-06/0.231, allocations: 0.5469 kB / 452.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.002054/0.233, allocations: 0.7029 MB / 453.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.2331, allocations: 87.55 kB / 453.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.2335, allocations: 0.5829 MB / 454 MB, free: 14.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.2335, allocations: 32.8 kB / 454 MB, free: 14.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.2337, allocations: 343.4 kB / 454.4 MB, free: 14.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.2338, allocations: 205.8 kB / 454.6 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.2339, allocations: 114.4 kB / 454.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.625e-05/0.2339, allocations: 332.2 kB / 455 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.234, allocations: 60.8 kB / 455.1 MB, free: 14.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.2342, allocations: 204.7 kB / 455.3 MB, free: 14.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.2345, allocations: 331 kB / 455.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2345, allocations: 4.406 kB / 455.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007119/0.2352, allocations: 473 kB / 456 MB, free: 13.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2352, allocations: 4.25 kB / 456 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2352, allocations: 6.688 kB / 456.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.2363, allocations: 283.9 kB / 456.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.2366, allocations: 123.8 kB / 456.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009999/0.2376, allocations: 2.394 MB / 458.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.2379, allocations: 55.19 kB / 458.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.2379, allocations: 21.94 kB / 458.9 MB, free: 11.69 MB / 410.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 (thermalConvection.turb_flag,thermalConvection1.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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.0001504/0.2381, allocations: 151.4 kB / 459.1 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2382, allocations: 66.94 kB / 459.1 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.2394, allocations: 0.6065 MB / 459.7 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2394, allocations: 11.97 kB / 459.8 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2394, allocations: 0.9062 kB / 459.8 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2394, allocations: 3.703 kB / 459.8 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.2406, allocations: 0.7847 MB / 460.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2406, allocations: 2.391 kB / 460.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.2408, allocations: 86.47 kB / 460.6 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009854/0.2418, allocations: 282.8 kB / 460.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.2418, allocations: 12.72 kB / 460.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009626/0.2428, allocations: 2.381 MB / 463.3 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2428, allocations: 2 kB / 463.3 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/0.2436, allocations: 0.6387 MB / 463.9 MB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2437, allocations: 97.34 kB / 464 MB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.2438, allocations: 17.45 kB / 464.1 MB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2439, allocations: 16.42 kB / 464.1 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.244, allocations: 33.22 kB / 464.1 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.244, allocations: 19.89 kB / 464.1 MB, free: 8.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.2442, allocations: 284.7 kB / 464.4 MB, free: 8.324 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2442, allocations: 0.7656 kB / 464.4 MB, free: 8.324 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003696/0.2445, allocations: 233.5 kB / 464.6 MB, free: 8.117 MB / 410.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 (39): * Single equations (assignments): 36 * 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.0001605/0.2447, allocations: 158.8 kB / 464.8 MB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000479/0.2452, allocations: 437.9 kB / 465.2 MB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.2452, allocations: 11.84 kB / 465.2 MB, free: 7.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.2456, allocations: 315.3 kB / 465.5 MB, free: 7.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.2466, allocations: 280.2 kB / 465.8 MB, free: 7.102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.2485, allocations: 1.374 MB / 467.2 MB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.753e-05/0.2486, allocations: 159.1 kB / 467.3 MB, free: 5.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.2488, allocations: 112.4 kB / 467.4 MB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.2491, allocations: 228.5 kB / 467.7 MB, free: 5.285 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2491, allocations: 0 / 467.7 MB, free: 5.285 MB / 410.7 MB Notification: Performance of Templates: time 0.01599/0.2651, allocations: 13.06 MB / 480.7 MB, free: 8.848 MB / 426.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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8869501873850822]