Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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,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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007692/0.007692, allocations: 101.3 kB / 15.73 MB, free: 5.492 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.001805/0.001805, allocations: 188.8 kB / 16.67 MB, free: 5.422 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.714/0.714, allocations: 91.18 MB / 381.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 79.88 kB / 0.5168 GB, free: 4.105 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3213, allocations: 67.69 MB / 0.5829 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01369/0.335, allocations: 17.33 MB / 0.5999 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007713/0.3428, allocations: 6.77 MB / 0.6065 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007547/0.3436, allocations: 27.81 kB / 0.6065 GB, free: 5.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.3444, allocations: 282.1 kB / 0.6068 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.3459, allocations: 0.5239 MB / 0.6073 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.3469, allocations: 362.7 kB / 0.6076 GB, free: 4.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009329/0.3479, allocations: 0.7854 MB / 0.6084 GB, free: 3.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.3481, allocations: 145.5 kB / 0.6085 GB, free: 3.836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.3487, allocations: 350.4 kB / 0.6089 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.349, allocations: 294.5 kB / 0.6091 GB, free: 3.203 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.3491, allocations: 40 kB / 0.6092 GB, free: 3.164 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008882/0.35, allocations: 359.6 kB / 0.6095 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.3501, allocations: 107.4 kB / 0.6096 GB, free: 2.707 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.3504, allocations: 294.4 kB / 0.6099 GB, free: 2.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.3515, allocations: 0.8348 MB / 0.6107 GB, free: 1.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3515, allocations: 0 / 0.6107 GB, free: 1.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3515, allocations: 0 / 0.6107 GB, free: 1.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3515, allocations: 0 / 0.6107 GB, free: 1.586 MB / 462.1 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.001507/0.353, allocations: 0.9626 MB / 0.6117 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3531, allocations: 8.031 kB / 0.6117 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.3533, allocations: 76.08 kB / 0.6117 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.3541, allocations: 0.5114 MB / 0.6122 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.3541, allocations: 32.94 kB / 0.6123 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.3542, allocations: 36 kB / 0.6123 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.3549, allocations: 463.8 kB / 0.6128 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3549, allocations: 4 kB / 0.6128 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.3549, allocations: 20 kB / 0.6128 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.355, allocations: 8 kB / 0.6128 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.3556, allocations: 411.7 kB / 0.6132 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.3581, allocations: 2.06 MB / 0.6152 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.3588, allocations: 405.2 kB / 0.6156 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.3591, allocations: 181.7 kB / 0.6157 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/0.3606, allocations: 1.408 MB / 0.6171 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3606, allocations: 42.89 kB / 0.6172 GB, free: 10.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.3606, allocations: 0 / 0.6172 GB, free: 10.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.005582/0.3662, allocations: 1.456 MB / 0.6186 GB, free: 8.988 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.3663, allocations: 93.02 kB / 0.6187 GB, free: 8.879 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.3668, allocations: 467 kB / 0.6191 GB, free: 8.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.3669, allocations: 29.7 kB / 0.6191 GB, free: 8.375 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3671, allocations: 288.3 kB / 0.6194 GB, free: 8.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3672, allocations: 141.9 kB / 0.6196 GB, free: 7.945 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3673, allocations: 74.12 kB / 0.6196 GB, free: 7.867 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3675, allocations: 362.8 kB / 0.62 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.3677, allocations: 128.8 kB / 0.6201 GB, free: 7.375 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.3679, allocations: 185.8 kB / 0.6203 GB, free: 7.176 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.3684, allocations: 331 kB / 0.6206 GB, free: 6.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3685, allocations: 0 / 0.6206 GB, free: 6.836 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002605/0.3711, allocations: 0.8065 MB / 0.6214 GB, free: 6.016 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3711, allocations: 8 kB / 0.6214 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.3711, allocations: 0 / 0.6214 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/0.3737, allocations: 485.3 kB / 0.6218 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.3739, allocations: 71.83 kB / 0.6219 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.3757, allocations: 2.193 MB / 0.6241 GB, free: 3.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.376, allocations: 39.56 kB / 0.6241 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.376, allocations: 23.92 kB / 0.6241 GB, free: 3.031 MB / 478.1 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002215/0.3763, allocations: 161.8 kB / 0.6243 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3764, allocations: 55.34 kB / 0.6243 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.3792, allocations: 0.8684 MB / 0.6252 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3792, allocations: 8 kB / 0.6252 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3792, allocations: 0 / 0.6252 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3792, allocations: 3.984 kB / 0.6252 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.3825, allocations: 1.372 MB / 0.6265 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3825, allocations: 0 / 0.6265 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.3827, allocations: 47.97 kB / 0.6266 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/0.3852, allocations: 493.3 kB / 0.627 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.3852, allocations: 15.92 kB / 0.6271 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.387, allocations: 2.197 MB / 0.6292 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.387, allocations: 0 / 0.6292 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.3899, allocations: 1.104 MB / 0.6303 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.3901, allocations: 156.4 kB / 0.6304 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.3902, allocations: 15.94 kB / 0.6304 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.3905, allocations: 11.98 kB / 0.6305 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.3906, allocations: 32.03 kB / 0.6305 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.3906, allocations: 15.98 kB / 0.6305 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003983/0.391, allocations: 338.8 kB / 0.6308 GB, free: 11.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.391, allocations: 0 / 0.6308 GB, free: 11.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006874/0.3917, allocations: 195.6 kB / 0.631 GB, free: 11.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004063/0.3921, allocations: 307 kB / 0.6313 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008568/0.393, allocations: 485.4 kB / 0.6318 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.393, allocations: 0 / 0.6318 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.3935, allocations: 314.9 kB / 0.6321 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.3944, allocations: 160.2 kB / 0.6322 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3964, allocations: 1.093 MB / 0.6333 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.397, allocations: 0.8667 MB / 0.6341 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.3973, allocations: 83.84 kB / 0.6342 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3974, allocations: 43.42 kB / 0.6343 GB, free: 8.25 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3974, allocations: 0 / 0.6343 GB, free: 8.25 MB / 494.1 MB Notification: Performance of Templates: time 0.01739/0.4148, allocations: 10.52 MB / 0.6445 GB, free: 13.83 MB / 0.4981 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches