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.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001355/0.001355, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6765/0.6765, allocations: 91.18 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 83.86 kB / 0.5175 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2787, allocations: 67.68 MB / 0.5836 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.0186/0.2974, allocations: 22.84 MB / 0.6059 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009721/0.3071, allocations: 9.446 MB / 0.6152 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006281/0.3078, allocations: 31.81 kB / 0.6152 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000972/0.3088, allocations: 405.3 kB / 0.6156 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.311, allocations: 0.7995 MB / 0.6163 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3121, allocations: 478.4 kB / 0.6168 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.3133, allocations: 1.151 MB / 0.6179 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.3136, allocations: 235.1 kB / 0.6182 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006874/0.3143, allocations: 474 kB / 0.6186 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.3149, allocations: 437.8 kB / 0.619 GB, free: 9.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.284e-05/0.315, allocations: 60 kB / 0.6191 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.3163, allocations: 0.5112 MB / 0.6196 GB, free: 9.156 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.3164, allocations: 167.2 kB / 0.6197 GB, free: 8.992 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.3168, allocations: 433.5 kB / 0.6202 GB, free: 8.566 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.3184, allocations: 1.185 MB / 0.6213 GB, free: 7.379 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3184, allocations: 4 kB / 0.6213 GB, free: 7.375 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3184, allocations: 0 / 0.6213 GB, free: 7.375 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3185, allocations: 0 / 0.6213 GB, free: 7.375 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002127/0.3206, allocations: 1.254 MB / 0.6225 GB, free: 6.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3206, allocations: 12.02 kB / 0.6225 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.3209, allocations: 107.7 kB / 0.6227 GB, free: 5.953 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.3219, allocations: 0.6477 MB / 0.6233 GB, free: 5.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.3219, allocations: 45.31 kB / 0.6233 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/0.322, allocations: 63.98 kB / 0.6234 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.3231, allocations: 0.6692 MB / 0.624 GB, free: 4.469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.3231, allocations: 3.938 kB / 0.624 GB, free: 4.465 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.3232, allocations: 28 kB / 0.6241 GB, free: 4.438 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.3232, allocations: 16 kB / 0.6241 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.3242, allocations: 0.6219 MB / 0.6247 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.3277, allocations: 2.999 MB / 0.6276 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3288, allocations: 0.6649 MB / 0.6283 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/0.3292, allocations: 285.8 kB / 0.6285 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002039/0.3313, allocations: 1.908 MB / 0.6304 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.3313, allocations: 39.12 kB / 0.6304 GB, free: 13.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 4.058e-06/0.3314, allocations: 0 / 0.6304 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01001/0.3414, allocations: 2.428 MB / 0.6328 GB, free: 10.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3414, allocations: 85.67 kB / 0.6329 GB, free: 10.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/0.3421, allocations: 0.5941 MB / 0.6335 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.3422, allocations: 33.7 kB / 0.6335 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.3424, allocations: 376.3 kB / 0.6339 GB, free: 9.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.3426, allocations: 228.7 kB / 0.6341 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3428, allocations: 118.2 kB / 0.6342 GB, free: 9.422 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.343, allocations: 386.7 kB / 0.6346 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.3433, allocations: 209.2 kB / 0.6348 GB, free: 8.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.3438, allocations: 302.8 kB / 0.6351 GB, free: 8.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/0.3446, allocations: 0.5237 MB / 0.6356 GB, free: 7.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3446, allocations: 7.938 kB / 0.6356 GB, free: 7.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005048/0.3497, allocations: 1.369 MB / 0.6369 GB, free: 6.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3497, allocations: 11.94 kB / 0.6369 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3497, allocations: 4.062 kB / 0.6369 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005095/0.3548, allocations: 0.9352 MB / 0.6378 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.3553, allocations: 103.8 kB / 0.6379 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.3578, allocations: 2.946 MB / 0.6408 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.3582, allocations: 55.28 kB / 0.6409 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.3583, allocations: 31.98 kB / 0.6409 GB, free: 2.277 MB / 494.1 MB 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.000309/0.3586, allocations: 197.7 kB / 0.6411 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.3588, allocations: 75.06 kB / 0.6412 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/0.3641, allocations: 1.489 MB / 0.6426 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3641, allocations: 3.984 kB / 0.6426 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3641, allocations: 4 kB / 0.6426 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.3644, allocations: 207.8 kB / 0.6428 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.3645, allocations: 19.98 kB / 0.6428 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/0.3648, allocations: 16 kB / 0.6429 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.3649, allocations: 64.39 kB / 0.6429 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002503/0.3675, allocations: 1.019 MB / 0.6439 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001461/0.3689, allocations: 1.12 MB / 0.645 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003848/0.3693, allocations: 240.4 kB / 0.6452 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004821/0.3698, allocations: 419 kB / 0.6456 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of Backend: time 4.7e-07/0.3698, allocations: 0 / 0.6456 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.3718, allocations: 0.9133 MB / 0.6465 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002799/0.3747, allocations: 2.158 MB / 0.6486 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.02663/0.4013, allocations: 15.67 MB / 0.6639 GB, free: 10.68 MB / 0.5137 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (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) diffSimulationResults("ThermofluidStream_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/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches