Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008465/0.0008466, allocations: 178.2 kB / 15.43 MB, free: 6.156 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 225.7 MB / 241.9 MB, free: 396 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007485/0.0007485, allocations: 88.61 kB / 293.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6536/0.6536, allocations: 91.65 MB / 435.8 MB, free: 23.57 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 8 kB / 0.5038 GB, free: 8.316 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2852, allocations: 69.28 MB / 0.5714 GB, free: 45.53 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01166/0.2969, allocations: 17.11 MB / 0.5881 GB, free: 34.83 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005241/0.3022, allocations: 8.58 MB / 0.5965 GB, free: 27.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.3026, allocations: 9.469 kB / 0.5965 GB, free: 27.58 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005361/0.3031, allocations: 248.1 kB / 0.5968 GB, free: 27.45 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008931/0.304, allocations: 456.2 kB / 0.5972 GB, free: 27.18 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.3047, allocations: 312.2 kB / 0.5975 GB, free: 27.01 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.3052, allocations: 0.8013 MB / 0.5983 GB, free: 26.65 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.3054, allocations: 122 kB / 0.5984 GB, free: 26.6 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.3058, allocations: 259.8 kB / 0.5986 GB, free: 26.48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.306, allocations: 254.9 kB / 0.5989 GB, free: 26.37 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.3061, allocations: 21.66 kB / 0.5989 GB, free: 26.37 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007017/0.3068, allocations: 346.5 kB / 0.5992 GB, free: 26.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.3068, allocations: 70.38 kB / 0.5993 GB, free: 26.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.307, allocations: 263.8 kB / 0.5996 GB, free: 26.06 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007537/0.3078, allocations: 0.7223 MB / 0.6003 GB, free: 25.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3078, allocations: 0 / 0.6003 GB, free: 25.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3078, allocations: 0 / 0.6003 GB, free: 25.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.3078, allocations: 3.938 kB / 0.6003 GB, free: 25.8 MB / 442.7 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.001065/0.3089, allocations: 0.7678 MB / 0.601 GB, free: 25.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3089, allocations: 12.83 kB / 0.601 GB, free: 25.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3091, allocations: 68.34 kB / 0.6011 GB, free: 25.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.3094, allocations: 364.6 kB / 0.6014 GB, free: 24.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3094, allocations: 28.19 kB / 0.6015 GB, free: 24.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.3095, allocations: 43.38 kB / 0.6015 GB, free: 24.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.3101, allocations: 457.5 kB / 0.602 GB, free: 24.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3101, allocations: 3.906 kB / 0.602 GB, free: 24.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.3101, allocations: 15 kB / 0.602 GB, free: 24.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3102, allocations: 19.56 kB / 0.602 GB, free: 24.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/0.3107, allocations: 413.7 kB / 0.6024 GB, free: 24.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.3125, allocations: 2.064 MB / 0.6044 GB, free: 22.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.3132, allocations: 465.6 kB / 0.6048 GB, free: 22.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.3134, allocations: 195.2 kB / 0.605 GB, free: 22.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.3145, allocations: 1.432 MB / 0.6064 GB, free: 21.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.3145, allocations: 41.28 kB / 0.6065 GB, free: 21.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.3145, allocations: 0 / 0.6065 GB, free: 21.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.005184/0.3197, allocations: 1.474 MB / 0.6079 GB, free: 20.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.3197, allocations: 83.23 kB / 0.608 GB, free: 20.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.32, allocations: 324.9 kB / 0.6083 GB, free: 20.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.32, allocations: 29.7 kB / 0.6083 GB, free: 20.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.3201, allocations: 242.1 kB / 0.6086 GB, free: 20.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.3202, allocations: 152.6 kB / 0.6087 GB, free: 19.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.3202, allocations: 4 kB / 0.6087 GB, free: 19.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.3203, allocations: 360.4 kB / 0.609 GB, free: 19.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3205, allocations: 132.3 kB / 0.6092 GB, free: 19.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3207, allocations: 195 kB / 0.6094 GB, free: 19.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.3212, allocations: 357.3 kB / 0.6097 GB, free: 19.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3212, allocations: 0 / 0.6097 GB, free: 19.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002376/0.3236, allocations: 0.8 MB / 0.6105 GB, free: 18.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3236, allocations: 9.688 kB / 0.6105 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3236, allocations: 0 / 0.6105 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/0.3259, allocations: 495.8 kB / 0.611 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.3262, allocations: 69.16 kB / 0.611 GB, free: 18.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.3274, allocations: 2.088 MB / 0.6131 GB, free: 16.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.3277, allocations: 49.33 kB / 0.6131 GB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.3278, allocations: 16.31 kB / 0.6131 GB, free: 16.88 MB / 442.7 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001707/0.328, allocations: 163.7 kB / 0.6133 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.328, allocations: 43.25 kB / 0.6133 GB, free: 16.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.3307, allocations: 0.839 MB / 0.6141 GB, free: 16.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3307, allocations: 9.875 kB / 0.6142 GB, free: 16.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3308, allocations: 5.125 kB / 0.6142 GB, free: 16.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3308, allocations: 3.281 kB / 0.6142 GB, free: 16.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.334, allocations: 1.39 MB / 0.6155 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.334, allocations: 5.562 kB / 0.6155 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.3342, allocations: 54.47 kB / 0.6156 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/0.3367, allocations: 500 kB / 0.6161 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.3367, allocations: 19.95 kB / 0.6161 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.3379, allocations: 2.084 MB / 0.6181 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3379, allocations: 0 / 0.6181 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.3407, allocations: 1.161 MB / 0.6192 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3409, allocations: 152.6 kB / 0.6194 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.3409, allocations: 14.56 kB / 0.6194 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.3412, allocations: 22.16 kB / 0.6194 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/0.3413, allocations: 32.89 kB / 0.6195 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.3413, allocations: 15.22 kB / 0.6195 GB, free: 12.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.3415, allocations: 232.1 kB / 0.6197 GB, free: 12.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3415, allocations: 0 / 0.6197 GB, free: 12.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005904/0.3421, allocations: 188.6 kB / 0.6199 GB, free: 12.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000349/0.3425, allocations: 301 kB / 0.6202 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008599/0.3434, allocations: 0.5129 MB / 0.6207 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3434, allocations: 0 / 0.6207 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.3438, allocations: 337.2 kB / 0.621 GB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007549/0.3446, allocations: 123.5 kB / 0.6211 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.3459, allocations: 1.222 MB / 0.6223 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3462, allocations: 0.8317 MB / 0.6231 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.3464, allocations: 63.64 kB / 0.6232 GB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.3465, allocations: 36.78 kB / 0.6232 GB, free: 10.54 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3465, allocations: 5.312 kB / 0.6232 GB, free: 10.53 MB / 442.7 MB Notification: Performance of Templates: time 0.01517/0.3617, allocations: 9.366 MB / 0.6324 GB, free: 8.207 MB / 442.7 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","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches