Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008931/0.0008932, allocations: 175.1 kB / 15.43 MB, free: 6.203 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.233/1.233, allocations: 225.7 MB / 241.9 MB, free: 14.47 MB / 202.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.0008047/0.0008047, allocations: 93.62 kB / 293 MB, free: 4.992 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.6574/0.6574, allocations: 91.64 MB / 435.8 MB, free: 32.7 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 15.98 kB / 0.5038 GB, free: 4.086 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2995, allocations: 69.3 MB / 0.5714 GB, free: 34.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01713/0.3167, allocations: 22.65 MB / 0.5936 GB, free: 23.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008391/0.3251, allocations: 12.1 MB / 0.6054 GB, free: 13.04 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008111/0.326, allocations: 18.97 kB / 0.6054 GB, free: 13.03 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009033/0.3269, allocations: 350.8 kB / 0.6057 GB, free: 12.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.3288, allocations: 0.6714 MB / 0.6064 GB, free: 12.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3298, allocations: 422.4 kB / 0.6068 GB, free: 12.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.3312, allocations: 1.162 MB / 0.6079 GB, free: 11.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.3315, allocations: 202.8 kB / 0.6081 GB, free: 11.61 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005438/0.3321, allocations: 361 kB / 0.6085 GB, free: 11.45 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.3325, allocations: 375.5 kB / 0.6088 GB, free: 11.29 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.3325, allocations: 28.94 kB / 0.6088 GB, free: 11.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.3339, allocations: 491.7 kB / 0.6093 GB, free: 11.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.253e-05/0.334, allocations: 111.1 kB / 0.6094 GB, free: 11.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.3344, allocations: 383.5 kB / 0.6098 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.3357, allocations: 1.045 MB / 0.6108 GB, free: 10.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3357, allocations: 0 / 0.6108 GB, free: 10.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3357, allocations: 0 / 0.6108 GB, free: 10.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.3357, allocations: 4 kB / 0.6108 GB, free: 10.47 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001482/0.3372, allocations: 0.9919 MB / 0.6118 GB, free: 9.762 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3373, allocations: 13.3 kB / 0.6118 GB, free: 9.758 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.3375, allocations: 93.19 kB / 0.6119 GB, free: 9.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.3379, allocations: 455.8 kB / 0.6123 GB, free: 9.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.338, allocations: 49.41 kB / 0.6124 GB, free: 9.336 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/0.3381, allocations: 59.62 kB / 0.6124 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008871/0.3389, allocations: 0.6734 MB / 0.6131 GB, free: 9.008 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.339, allocations: 0 / 0.6131 GB, free: 9.008 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.339, allocations: 26.75 kB / 0.6131 GB, free: 8.988 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.339, allocations: 13.25 kB / 0.6131 GB, free: 8.988 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008069/0.3399, allocations: 0.6305 MB / 0.6137 GB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.3425, allocations: 3.003 MB / 0.6167 GB, free: 6.434 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009036/0.3434, allocations: 0.7323 MB / 0.6174 GB, free: 6.078 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.3438, allocations: 297.9 kB / 0.6177 GB, free: 5.949 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.3453, allocations: 1.917 MB / 0.6195 GB, free: 4.215 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3453, allocations: 35.12 kB / 0.6196 GB, free: 4.172 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 3.246e-06/0.3453, allocations: 8.031 kB / 0.6196 GB, free: 4.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.008521/0.3539, allocations: 2.456 MB / 0.622 GB, free: 3.348 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.3539, allocations: 86.67 kB / 0.6221 GB, free: 3.254 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.3543, allocations: 428 kB / 0.6225 GB, free: 3.047 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3544, allocations: 36.67 kB / 0.6225 GB, free: 3.008 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.3545, allocations: 314.1 kB / 0.6228 GB, free: 2.758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.3546, allocations: 232.3 kB / 0.623 GB, free: 2.574 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.3546, allocations: 15.06 kB / 0.623 GB, free: 2.562 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.3547, allocations: 367.4 kB / 0.6234 GB, free: 2.227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.3551, allocations: 218.5 kB / 0.6236 GB, free: 2.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.3554, allocations: 314.7 kB / 0.6239 GB, free: 1.969 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.3561, allocations: 0.5534 MB / 0.6244 GB, free: 1.648 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3561, allocations: 0 / 0.6244 GB, free: 1.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004346/0.3604, allocations: 1.376 MB / 0.6258 GB, free: 1.219 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3605, allocations: 3.219 kB / 0.6258 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3605, allocations: 7.062 kB / 0.6258 GB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004494/0.365, allocations: 0.9257 MB / 0.6267 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.3654, allocations: 103.1 kB / 0.6268 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.3674, allocations: 2.835 MB / 0.6296 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.3679, allocations: 66.86 kB / 0.6296 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.368, allocations: 25.97 kB / 0.6297 GB, free: 14.41 MB / 458.7 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002708/0.3683, allocations: 189 kB / 0.6298 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3684, allocations: 60.84 kB / 0.6299 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.3731, allocations: 1.435 MB / 0.6313 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3731, allocations: 6.562 kB / 0.6313 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3731, allocations: 3.422 kB / 0.6313 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3731, allocations: 7.578 kB / 0.6313 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005514/0.3786, allocations: 2.155 MB / 0.6334 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3787, allocations: 3.031 kB / 0.6334 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.379, allocations: 83.72 kB / 0.6335 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004633/0.3836, allocations: 0.923 MB / 0.6344 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.3837, allocations: 22.16 kB / 0.6344 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.386, allocations: 2.826 MB / 0.6372 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.386, allocations: 0.9375 kB / 0.6372 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005225/0.3912, allocations: 1.814 MB / 0.6389 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.3916, allocations: 201.5 kB / 0.6391 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.3917, allocations: 16.12 kB / 0.6392 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.3921, allocations: 38.05 kB / 0.6392 GB, free: 9.094 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3922, allocations: 47.91 kB / 0.6392 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.3922, allocations: 18.97 kB / 0.6393 GB, free: 9.082 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003276/0.3926, allocations: 289.5 kB / 0.6395 GB, free: 8.941 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3926, allocations: 0 / 0.6395 GB, free: 8.941 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008826/0.3935, allocations: 301 kB / 0.6398 GB, free: 8.855 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005737/0.394, allocations: 406.8 kB / 0.6402 GB, free: 8.652 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.3954, allocations: 0.7258 MB / 0.6409 GB, free: 8.332 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3955, allocations: 0 / 0.6409 GB, free: 8.332 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007731/0.3962, allocations: 479.7 kB / 0.6414 GB, free: 8.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/0.3972, allocations: 179.5 kB / 0.6415 GB, free: 8.027 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3995, allocations: 1.731 MB / 0.6432 GB, free: 6.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.4, allocations: 0.9087 MB / 0.6441 GB, free: 6.215 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.4003, allocations: 94.69 kB / 0.6442 GB, free: 6.176 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4004, allocations: 47.45 kB / 0.6443 GB, free: 6.168 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4004, allocations: 0 / 0.6443 GB, free: 6.168 MB / 458.7 MB Notification: Performance of Templates: time 0.02398/0.4244, allocations: 14.37 MB / 0.6583 GB, free: 1.328 MB / 458.7 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","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches