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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001848/0.001848, allocations: 107.2 kB / 15.99 MB, free: 5.895 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.001955/0.001955, allocations: 191.7 kB / 16.91 MB, free: 5.746 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.7045/0.7045, allocations: 89.45 MB / 380.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 87.84 kB / 458.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1261, allocations: 67.29 MB / 0.5133 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2225/0.3486, allocations: 22.87 MB / 0.5357 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007623/0.3563, allocations: 9.372 MB / 0.5448 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008899/0.3572, allocations: 15.53 kB / 0.5448 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009649/0.3582, allocations: 355.2 kB / 0.5452 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.3601, allocations: 0.6792 MB / 0.5458 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3611, allocations: 433 kB / 0.5462 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009805/0.3621, allocations: 1.039 MB / 0.5472 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.3624, allocations: 233.8 kB / 0.5475 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.3629, allocations: 408.8 kB / 0.5479 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.3633, allocations: 419.8 kB / 0.5483 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.24e-05/0.3633, allocations: 61.16 kB / 0.5483 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.3645, allocations: 0.5123 MB / 0.5488 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.3647, allocations: 151.9 kB / 0.549 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.3649, allocations: 408.3 kB / 0.5494 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.3658, allocations: 0.7791 MB / 0.5501 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3658, allocations: 1.875 kB / 0.5501 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3658, allocations: 0 / 0.5501 GB, free: 29.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3658, allocations: 0.9375 kB / 0.5501 GB, free: 29.05 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001743/0.3675, allocations: 1.145 MB / 0.5512 GB, free: 28.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3676, allocations: 9.375 kB / 0.5512 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.3678, allocations: 93.78 kB / 0.5513 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.3684, allocations: 476.3 kB / 0.5518 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.3684, allocations: 49 kB / 0.5518 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.224e-05/0.3685, allocations: 60.5 kB / 0.5519 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.3695, allocations: 0.6683 MB / 0.5525 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3695, allocations: 5.656 kB / 0.5526 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.3695, allocations: 27.98 kB / 0.5526 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.3696, allocations: 20.06 kB / 0.5526 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009386/0.3705, allocations: 0.6213 MB / 0.5532 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.3734, allocations: 2.977 MB / 0.5561 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.3744, allocations: 0.6624 MB / 0.5568 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.3747, allocations: 288.6 kB / 0.557 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.3764, allocations: 1.9 MB / 0.5589 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.3765, allocations: 41.88 kB / 0.5589 GB, free: 23.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 1.964e-06/0.3765, allocations: 4 kB / 0.5589 GB, free: 23.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01019/0.3867, allocations: 2.419 MB / 0.5613 GB, free: 22.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3867, allocations: 84.45 kB / 0.5614 GB, free: 22.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.3873, allocations: 478.3 kB / 0.5618 GB, free: 22.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.3874, allocations: 36.23 kB / 0.5619 GB, free: 22.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.3876, allocations: 333 kB / 0.5622 GB, free: 22.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3877, allocations: 231 kB / 0.5624 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3879, allocations: 112.7 kB / 0.5625 GB, free: 22.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.388, allocations: 372.5 kB / 0.5629 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.3883, allocations: 205.1 kB / 0.5631 GB, free: 21.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.3887, allocations: 302.9 kB / 0.5634 GB, free: 21.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.3895, allocations: 0.5309 MB / 0.5639 GB, free: 21.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3895, allocations: 1.938 kB / 0.5639 GB, free: 21.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005137/0.3946, allocations: 1.366 MB / 0.5652 GB, free: 20.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3947, allocations: 4.938 kB / 0.5652 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3947, allocations: 3.312 kB / 0.5652 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005166/0.3999, allocations: 0.9347 MB / 0.5661 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.4003, allocations: 99.27 kB / 0.5662 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.4022, allocations: 2.942 MB / 0.5691 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.4028, allocations: 75.64 kB / 0.5692 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.4028, allocations: 23.5 kB / 0.5692 GB, free: 17.87 MB / 446.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.0002532/0.4031, allocations: 187.1 kB / 0.5694 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4032, allocations: 66.86 kB / 0.5694 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005217/0.4084, allocations: 1.476 MB / 0.5709 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.4085, allocations: 7.031 kB / 0.5709 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4085, allocations: 3.031 kB / 0.5709 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4085, allocations: 3.797 kB / 0.5709 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/0.4144, allocations: 2.112 MB / 0.5729 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.4144, allocations: 2.531 kB / 0.5729 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.4147, allocations: 78.47 kB / 0.573 GB, free: 16.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005087/0.4198, allocations: 0.9401 MB / 0.5739 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/0.4199, allocations: 17.59 kB / 0.574 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.4217, allocations: 2.935 MB / 0.5768 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4218, allocations: 5.938 kB / 0.5768 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.4273, allocations: 1.749 MB / 0.5785 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.4276, allocations: 201.3 kB / 0.5787 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.4277, allocations: 12.12 kB / 0.5787 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.4281, allocations: 38.73 kB / 0.5788 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.4282, allocations: 44.97 kB / 0.5788 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.4282, allocations: 20.75 kB / 0.5788 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003808/0.4286, allocations: 342.5 kB / 0.5792 GB, free: 12.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4286, allocations: 0 / 0.5792 GB, free: 12.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008975/0.4295, allocations: 293 kB / 0.5794 GB, free: 12.22 MB / 446.1 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 (41): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.0005156/0.4301, allocations: 390.3 kB / 0.5798 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.4315, allocations: 0.7178 MB / 0.5805 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4315, allocations: 0 / 0.5805 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.4322, allocations: 443.7 kB / 0.5809 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.4333, allocations: 207.9 kB / 0.5811 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.4355, allocations: 1.712 MB / 0.5828 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4359, allocations: 0.9123 MB / 0.5837 GB, free: 9.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.436, allocations: 52.14 kB / 0.5838 GB, free: 9.59 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.436, allocations: 0 / 0.5838 GB, free: 9.59 MB / 446.1 MB Notification: Performance of Templates: time 0.02063/0.4566, allocations: 19.78 MB / 0.6031 GB, free: 11.38 MB / 462.1 MB 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