Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.001208/0.001208, allocations: 177.8 kB / 15.43 MB, free: 5.707 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.214/1.214, allocations: 225.7 MB / 241.9 MB, free: 376 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.0008148/0.0008148, allocations: 93.73 kB / 293.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6439/0.6439, allocations: 90.99 MB / 435.2 MB, free: 24.44 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002799, allocations: 12 kB / 0.5029 GB, free: 9.387 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2828, allocations: 69.1 MB / 0.5704 GB, free: 45.68 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01475/0.2975, allocations: 22.65 MB / 0.5925 GB, free: 31.2 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007274/0.3049, allocations: 12.1 MB / 0.6044 GB, free: 20.94 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005792/0.3055, allocations: 14.31 kB / 0.6044 GB, free: 20.94 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008148/0.3063, allocations: 343.6 kB / 0.6047 GB, free: 20.76 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.3078, allocations: 0.6823 MB / 0.6054 GB, free: 20.34 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008884/0.3087, allocations: 416.3 kB / 0.6058 GB, free: 20.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.3098, allocations: 1.161 MB / 0.6069 GB, free: 19.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.31, allocations: 197.9 kB / 0.6071 GB, free: 19.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005872/0.3106, allocations: 360.2 kB / 0.6074 GB, free: 19.34 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.3111, allocations: 373.8 kB / 0.6078 GB, free: 19.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.288e-05/0.3112, allocations: 28.41 kB / 0.6078 GB, free: 19.18 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.3123, allocations: 492.7 kB / 0.6083 GB, free: 19.03 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3124, allocations: 115.9 kB / 0.6084 GB, free: 18.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.3127, allocations: 380.3 kB / 0.6088 GB, free: 18.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.314, allocations: 1.049 MB / 0.6098 GB, free: 18.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.314, allocations: 0 / 0.6098 GB, free: 18.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.314, allocations: 2.719 kB / 0.6098 GB, free: 18.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.3141, allocations: 0 / 0.6098 GB, free: 18.36 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.001569/0.3156, allocations: 0.9948 MB / 0.6108 GB, free: 17.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3157, allocations: 15.33 kB / 0.6108 GB, free: 17.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.3159, allocations: 90.94 kB / 0.6109 GB, free: 17.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.3164, allocations: 452.2 kB / 0.6113 GB, free: 17.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.3164, allocations: 47.94 kB / 0.6113 GB, free: 17.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.3165, allocations: 63.41 kB / 0.6114 GB, free: 17.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008701/0.3174, allocations: 0.6671 MB / 0.612 GB, free: 16.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.3174, allocations: 0 / 0.612 GB, free: 16.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.3175, allocations: 30.06 kB / 0.6121 GB, free: 16.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.3175, allocations: 13.47 kB / 0.6121 GB, free: 16.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.3183, allocations: 0.6293 MB / 0.6127 GB, free: 16.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.3209, allocations: 3.002 MB / 0.6156 GB, free: 14.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.3219, allocations: 0.727 MB / 0.6163 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.3223, allocations: 297.8 kB / 0.6166 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.3238, allocations: 1.927 MB / 0.6185 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.3239, allocations: 38.22 kB / 0.6185 GB, free: 12.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 1.963e-06/0.3239, allocations: 0 / 0.6185 GB, free: 12.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.008954/0.3328, allocations: 2.451 MB / 0.6209 GB, free: 11.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.3329, allocations: 84.7 kB / 0.621 GB, free: 11.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.3333, allocations: 427.3 kB / 0.6214 GB, free: 10.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.3333, allocations: 36.2 kB / 0.6215 GB, free: 10.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3334, allocations: 323.4 kB / 0.6218 GB, free: 10.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3336, allocations: 232.7 kB / 0.622 GB, free: 10.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.3336, allocations: 14.97 kB / 0.622 GB, free: 10.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.3337, allocations: 367 kB / 0.6224 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.334, allocations: 218.2 kB / 0.6226 GB, free: 10.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3344, allocations: 310.5 kB / 0.6229 GB, free: 9.836 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/0.3352, allocations: 0.56 MB / 0.6234 GB, free: 9.512 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3352, allocations: 0 / 0.6234 GB, free: 9.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004468/0.3396, allocations: 1.373 MB / 0.6247 GB, free: 9.082 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3397, allocations: 6.781 kB / 0.6248 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3397, allocations: 2.391 kB / 0.6248 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004578/0.3443, allocations: 0.9319 MB / 0.6257 GB, free: 8.938 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.3446, allocations: 104 kB / 0.6258 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.3463, allocations: 2.829 MB / 0.6285 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.3467, allocations: 75.2 kB / 0.6286 GB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.3468, allocations: 28.27 kB / 0.6286 GB, free: 6.258 MB / 442.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.0002003/0.347, allocations: 185.7 kB / 0.6288 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.144e-05/0.3471, allocations: 65.5 kB / 0.6289 GB, free: 6.059 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/0.3518, allocations: 1.43 MB / 0.6303 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3519, allocations: 10.92 kB / 0.6303 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3519, allocations: 4 kB / 0.6303 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3519, allocations: 3.281 kB / 0.6303 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/0.3573, allocations: 2.151 MB / 0.6324 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3573, allocations: 1 kB / 0.6324 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.3576, allocations: 82.64 kB / 0.6325 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004473/0.3621, allocations: 0.9328 MB / 0.6334 GB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.3622, allocations: 19.47 kB / 0.6334 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.3637, allocations: 2.82 MB / 0.6361 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3638, allocations: 1.219 kB / 0.6361 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00488/0.3686, allocations: 1.812 MB / 0.6379 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3689, allocations: 206.2 kB / 0.6381 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.369, allocations: 15.78 kB / 0.6381 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.3693, allocations: 29.84 kB / 0.6382 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3694, allocations: 51.36 kB / 0.6382 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.3695, allocations: 21.75 kB / 0.6382 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002941/0.3698, allocations: 293.6 kB / 0.6385 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3698, allocations: 0 / 0.6385 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007928/0.3706, allocations: 295 kB / 0.6388 GB, free: 0.6953 MB / 442.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.0005077/0.3711, allocations: 422.1 kB / 0.6392 GB, free: 476 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.3723, allocations: 0.7302 MB / 0.6399 GB, free: 140 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3723, allocations: 0 / 0.6399 GB, free: 140 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007279/0.3731, allocations: 470.6 kB / 0.6404 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3741, allocations: 182.7 kB / 0.6405 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3764, allocations: 1.731 MB / 0.6422 GB, free: 14.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.3769, allocations: 0.9086 MB / 0.6431 GB, free: 14.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.3772, allocations: 91.62 kB / 0.6432 GB, free: 13.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3774, allocations: 48.34 kB / 0.6432 GB, free: 13.96 MB / 458.7 MB Notification: Performance of SimCode: time 4.1e-07/0.3774, allocations: 4 kB / 0.6432 GB, free: 13.96 MB / 458.7 MB Notification: Performance of Templates: time 0.02147/0.3988, allocations: 14.37 MB / 0.6573 GB, free: 0.6016 MB / 458.7 MB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches