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.001034/0.001034, allocations: 103 kB / 16.27 MB, free: 6.414 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.001024/0.001024, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.665/0.665, allocations: 91.19 MB / 382.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 79.88 kB / 461 MB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1161, allocations: 67.68 MB / 0.5163 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2056/0.3217, allocations: 22.83 MB / 0.5386 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007004/0.3287, allocations: 9.444 MB / 0.5478 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005689/0.3293, allocations: 30.03 kB / 0.5478 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007714/0.3302, allocations: 416.2 kB / 0.5482 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.3316, allocations: 0.7825 MB / 0.549 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007904/0.3324, allocations: 477 kB / 0.5494 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007266/0.3331, allocations: 1.13 MB / 0.5505 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000294/0.3334, allocations: 230.4 kB / 0.5508 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.334, allocations: 461.8 kB / 0.5512 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.3343, allocations: 436.6 kB / 0.5516 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.83e-05/0.3344, allocations: 59.47 kB / 0.5517 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.3355, allocations: 0.5074 MB / 0.5522 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3357, allocations: 157.2 kB / 0.5523 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.336, allocations: 440.6 kB / 0.5527 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.3371, allocations: 1.164 MB / 0.5539 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3371, allocations: 1.875 kB / 0.5539 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3371, allocations: 1.344 kB / 0.5539 GB, free: 27.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3371, allocations: 0 / 0.5539 GB, free: 27.12 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.00173/0.3389, allocations: 1.258 MB / 0.5551 GB, free: 26.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3389, allocations: 9.812 kB / 0.5551 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.3392, allocations: 106.9 kB / 0.5552 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.3399, allocations: 0.5921 MB / 0.5558 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.3399, allocations: 47.06 kB / 0.5558 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/0.34, allocations: 66.2 kB / 0.5559 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.3409, allocations: 0.6707 MB / 0.5566 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3409, allocations: 5.281 kB / 0.5566 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.341, allocations: 25.5 kB / 0.5566 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.341, allocations: 17.56 kB / 0.5566 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/0.342, allocations: 0.6239 MB / 0.5572 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.3449, allocations: 3.018 MB / 0.5602 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009678/0.3458, allocations: 0.6658 MB / 0.5608 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.3462, allocations: 286 kB / 0.5611 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/0.3479, allocations: 1.908 MB / 0.5629 GB, free: 20.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3479, allocations: 38.47 kB / 0.563 GB, free: 20.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 1.874e-06/0.3479, allocations: 0 / 0.563 GB, free: 20.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.009771/0.3577, allocations: 2.435 MB / 0.5654 GB, free: 20.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.3577, allocations: 84.69 kB / 0.5654 GB, free: 19.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.3584, allocations: 0.5909 MB / 0.566 GB, free: 19.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.3584, allocations: 40.11 kB / 0.5661 GB, free: 19.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.3586, allocations: 377.5 kB / 0.5664 GB, free: 19.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.3587, allocations: 227.4 kB / 0.5666 GB, free: 19.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.3589, allocations: 120.5 kB / 0.5668 GB, free: 19.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.359, allocations: 388 kB / 0.5671 GB, free: 18.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.3593, allocations: 205.5 kB / 0.5673 GB, free: 18.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.3597, allocations: 294.9 kB / 0.5676 GB, free: 18.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.3604, allocations: 0.5313 MB / 0.5681 GB, free: 18.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3605, allocations: 2.25 kB / 0.5681 GB, free: 18.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004799/0.3653, allocations: 1.375 MB / 0.5695 GB, free: 17.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3653, allocations: 10.81 kB / 0.5695 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3653, allocations: 6.688 kB / 0.5695 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/0.3702, allocations: 0.9304 MB / 0.5704 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.3706, allocations: 103.2 kB / 0.5705 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.3724, allocations: 2.941 MB / 0.5734 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.3728, allocations: 59.33 kB / 0.5734 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.3728, allocations: 23.5 kB / 0.5734 GB, free: 14.83 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.0002366/0.3731, allocations: 206 kB / 0.5736 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3732, allocations: 79.86 kB / 0.5737 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/0.3783, allocations: 1.486 MB / 0.5752 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3783, allocations: 7.5 kB / 0.5752 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3783, allocations: 6.281 kB / 0.5752 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3783, allocations: 7.234 kB / 0.5752 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005679/0.384, allocations: 2.137 MB / 0.5773 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/0.384, allocations: 2.125 kB / 0.5773 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.3843, allocations: 75.67 kB / 0.5773 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004985/0.3893, allocations: 0.9367 MB / 0.5783 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.3894, allocations: 16.95 kB / 0.5783 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.3911, allocations: 2.948 MB / 0.5812 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3911, allocations: 5.312 kB / 0.5812 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/0.3963, allocations: 1.761 MB / 0.5829 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.3965, allocations: 211.2 kB / 0.5831 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.3966, allocations: 12.97 kB / 0.5831 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.397, allocations: 16.03 kB / 0.5831 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.3971, allocations: 47.84 kB / 0.5832 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.3971, allocations: 19.59 kB / 0.5832 GB, free: 9.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004938/0.3976, allocations: 421.7 kB / 0.5836 GB, free: 9.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.3976, allocations: 0 / 0.5836 GB, free: 9.199 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008527/0.3985, allocations: 301.4 kB / 0.5839 GB, free: 9.109 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.0004819/0.399, allocations: 402.3 kB / 0.5842 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.4003, allocations: 0.7088 MB / 0.5849 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4004, allocations: 4.062 kB / 0.5849 GB, free: 8.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006471/0.401, allocations: 444.3 kB / 0.5854 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.4022, allocations: 215.3 kB / 0.5856 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.4044, allocations: 1.575 MB / 0.5871 GB, free: 7.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.4048, allocations: 0.9492 MB / 0.588 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.405, allocations: 67.52 kB / 0.5881 GB, free: 6.656 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.405, allocations: 0 / 0.5881 GB, free: 6.656 MB / 446.1 MB Notification: Performance of Templates: time 0.02166/0.4266, allocations: 22.09 MB / 0.6097 GB, free: 3.719 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