Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.00132/0.00132, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.283/1.283, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6773/0.6773, allocations: 91.19 MB / 382.2 MB, free: 7.551 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 83.88 kB / 461 MB, free: 9.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1202, allocations: 67.67 MB / 0.5163 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.2228/0.3431, allocations: 17.33 MB / 0.5332 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0051/0.3482, allocations: 6.763 MB / 0.5398 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.3486, allocations: 21.28 kB / 0.5398 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005776/0.3493, allocations: 282.9 kB / 0.5401 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009839/0.3503, allocations: 0.532 MB / 0.5406 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.3509, allocations: 363.2 kB / 0.5409 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.3514, allocations: 0.7862 MB / 0.5417 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.3517, allocations: 146.7 kB / 0.5418 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.3521, allocations: 344.6 kB / 0.5422 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.3523, allocations: 291 kB / 0.5425 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.3524, allocations: 40.5 kB / 0.5425 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006937/0.3531, allocations: 356.4 kB / 0.5428 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.763e-05/0.3532, allocations: 112.5 kB / 0.5429 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.3534, allocations: 298.5 kB / 0.5432 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007751/0.3541, allocations: 0.7992 MB / 0.544 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3542, allocations: 3.312 kB / 0.544 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3542, allocations: 0 / 0.544 GB, free: 32.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3542, allocations: 0.9688 kB / 0.544 GB, free: 32.36 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001212/0.3554, allocations: 0.963 MB / 0.5449 GB, free: 31.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.3554, allocations: 12.09 kB / 0.545 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.3556, allocations: 78.25 kB / 0.545 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.3561, allocations: 481.6 kB / 0.5455 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3561, allocations: 35.64 kB / 0.5455 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.3562, allocations: 44.78 kB / 0.5456 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.3568, allocations: 454.7 kB / 0.546 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3568, allocations: 0.8906 kB / 0.546 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.3568, allocations: 15.88 kB / 0.546 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3568, allocations: 9.875 kB / 0.546 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.3574, allocations: 418.8 kB / 0.5464 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3592, allocations: 2.075 MB / 0.5485 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.3598, allocations: 405.5 kB / 0.5488 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.3601, allocations: 183.2 kB / 0.549 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.3612, allocations: 1.402 MB / 0.5504 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.3612, allocations: 36.64 kB / 0.5504 GB, free: 28.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.3612, allocations: 1.594 kB / 0.5504 GB, free: 28.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=41): time 0.005475/0.3667, allocations: 1.459 MB / 0.5518 GB, free: 28.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.3667, allocations: 88.28 kB / 0.5519 GB, free: 28.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.3672, allocations: 464.2 kB / 0.5524 GB, free: 28.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3672, allocations: 35.42 kB / 0.5524 GB, free: 28.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3673, allocations: 289.4 kB / 0.5527 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.3674, allocations: 146.8 kB / 0.5528 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.3675, allocations: 72.22 kB / 0.5529 GB, free: 27.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.3676, allocations: 369.6 kB / 0.5532 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3678, allocations: 120.6 kB / 0.5534 GB, free: 27.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.368, allocations: 184.5 kB / 0.5535 GB, free: 27.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.3685, allocations: 333.1 kB / 0.5539 GB, free: 27.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3685, allocations: 1.031 kB / 0.5539 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00254/0.3711, allocations: 0.8019 MB / 0.5546 GB, free: 27.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3711, allocations: 5.5 kB / 0.5546 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3711, allocations: 1.375 kB / 0.5546 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.3737, allocations: 489.6 kB / 0.5551 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.3739, allocations: 65.66 kB / 0.5552 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.3752, allocations: 2.2 MB / 0.5573 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.3755, allocations: 42.42 kB / 0.5574 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.3755, allocations: 16.27 kB / 0.5574 GB, free: 24.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.3757, allocations: 175.7 kB / 0.5575 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.3758, allocations: 54.53 kB / 0.5576 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.3785, allocations: 0.8569 MB / 0.5584 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3785, allocations: 9.688 kB / 0.5584 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3785, allocations: 1.219 kB / 0.5584 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3785, allocations: 2.109 kB / 0.5584 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.3817, allocations: 1.374 MB / 0.5598 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3817, allocations: 4.266 kB / 0.5598 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.3819, allocations: 47.94 kB / 0.5598 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002686/0.3846, allocations: 0.4919 MB / 0.5603 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.3846, allocations: 12.78 kB / 0.5603 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.3861, allocations: 2.197 MB / 0.5625 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3861, allocations: 1.094 kB / 0.5625 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.3889, allocations: 1.096 MB / 0.5635 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3891, allocations: 162.5 kB / 0.5637 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.3891, allocations: 12.84 kB / 0.5637 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.3894, allocations: 8.906 kB / 0.5637 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.3895, allocations: 31.56 kB / 0.5638 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.3895, allocations: 15.17 kB / 0.5638 GB, free: 20.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003778/0.3899, allocations: 337 kB / 0.5641 GB, free: 20.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3899, allocations: 1.125 kB / 0.5641 GB, free: 20.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006443/0.3905, allocations: 198.6 kB / 0.5643 GB, free: 20.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003993/0.391, allocations: 299.3 kB / 0.5646 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009157/0.3919, allocations: 486.1 kB / 0.565 GB, free: 20.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3919, allocations: 8.312 kB / 0.565 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.3924, allocations: 312.6 kB / 0.5653 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.3933, allocations: 153.1 kB / 0.5655 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.3952, allocations: 1.14 MB / 0.5666 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3956, allocations: 0.8635 MB / 0.5674 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3957, allocations: 46.25 kB / 0.5675 GB, free: 18.65 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3957, allocations: 0 / 0.5675 GB, free: 18.65 MB / 446.1 MB Notification: Performance of Templates: time 0.01806/0.4138, allocations: 13.39 MB / 0.5806 GB, free: 14.73 MB / 446.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches