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.005505/0.005505, allocations: 100 kB / 15.73 MB, free: 6.059 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.001106/0.001106, allocations: 197 kB / 16.67 MB, free: 5.969 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7019/0.7019, allocations: 91.18 MB / 381.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 79.88 kB / 0.5168 GB, free: 4.137 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3247, allocations: 67.68 MB / 0.5829 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01336/0.3381, allocations: 17.33 MB / 0.5999 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007005/0.3452, allocations: 6.77 MB / 0.6065 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005352/0.3458, allocations: 23.81 kB / 0.6065 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007685/0.3465, allocations: 282.1 kB / 0.6068 GB, free: 5.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.3479, allocations: 0.5239 MB / 0.6073 GB, free: 5.141 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.3487, allocations: 362.7 kB / 0.6076 GB, free: 4.785 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008368/0.3495, allocations: 0.7892 MB / 0.6084 GB, free: 3.992 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.3498, allocations: 137.5 kB / 0.6085 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.3503, allocations: 334.5 kB / 0.6088 GB, free: 3.527 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.3507, allocations: 302.5 kB / 0.6091 GB, free: 3.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.3507, allocations: 43.94 kB / 0.6092 GB, free: 3.188 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008076/0.3515, allocations: 359.7 kB / 0.6095 GB, free: 2.836 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3517, allocations: 111.5 kB / 0.6096 GB, free: 2.727 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.3519, allocations: 294.3 kB / 0.6099 GB, free: 2.438 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.3531, allocations: 0.8339 MB / 0.6107 GB, free: 1.605 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3531, allocations: 0 / 0.6107 GB, free: 1.605 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3531, allocations: 0 / 0.6107 GB, free: 1.605 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3531, allocations: 0 / 0.6107 GB, free: 1.605 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.001403/0.3545, allocations: 0.9766 MB / 0.6117 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.3546, allocations: 15.97 kB / 0.6117 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.3548, allocations: 76.47 kB / 0.6118 GB, free: 496 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.3555, allocations: 0.5118 MB / 0.6123 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.3556, allocations: 32.94 kB / 0.6123 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.3556, allocations: 43.98 kB / 0.6123 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.3564, allocations: 459.8 kB / 0.6128 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3564, allocations: 0 / 0.6128 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.3564, allocations: 20 kB / 0.6128 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3564, allocations: 12 kB / 0.6128 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.3571, allocations: 411.7 kB / 0.6132 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.3596, allocations: 2.061 MB / 0.6152 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.3603, allocations: 416.8 kB / 0.6156 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.3606, allocations: 189.6 kB / 0.6158 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/0.3622, allocations: 1.404 MB / 0.6172 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.3623, allocations: 38.89 kB / 0.6172 GB, free: 10.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.472e-06/0.3623, allocations: 0 / 0.6172 GB, free: 10.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.005536/0.3678, allocations: 1.464 MB / 0.6186 GB, free: 8.965 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3679, allocations: 93.02 kB / 0.6187 GB, free: 8.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.3684, allocations: 467 kB / 0.6192 GB, free: 8.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3685, allocations: 29.7 kB / 0.6192 GB, free: 8.352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.3687, allocations: 288.7 kB / 0.6195 GB, free: 8.062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.3688, allocations: 150.7 kB / 0.6196 GB, free: 7.914 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.3689, allocations: 74.12 kB / 0.6197 GB, free: 7.836 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3691, allocations: 366.8 kB / 0.62 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.3693, allocations: 120.8 kB / 0.6201 GB, free: 7.348 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.3696, allocations: 189.8 kB / 0.6203 GB, free: 7.145 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.3701, allocations: 327 kB / 0.6206 GB, free: 6.809 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3701, allocations: 4 kB / 0.6206 GB, free: 6.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002541/0.3727, allocations: 0.7991 MB / 0.6214 GB, free: 5.992 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.3727, allocations: 4 kB / 0.6214 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3728, allocations: 4 kB / 0.6214 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/0.3753, allocations: 493.2 kB / 0.6219 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.3756, allocations: 67.91 kB / 0.622 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.3774, allocations: 2.208 MB / 0.6241 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.3778, allocations: 35.73 kB / 0.6242 GB, free: 3.023 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.3778, allocations: 19.94 kB / 0.6242 GB, free: 3.004 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.000265/0.3781, allocations: 165.7 kB / 0.6243 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.3782, allocations: 59.61 kB / 0.6244 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.381, allocations: 0.8613 MB / 0.6252 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.381, allocations: 4 kB / 0.6252 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3811, allocations: 7.984 kB / 0.6252 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3811, allocations: 0 / 0.6252 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.3843, allocations: 1.368 MB / 0.6266 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3843, allocations: 0 / 0.6266 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.3846, allocations: 51.92 kB / 0.6266 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/0.387, allocations: 497.3 kB / 0.6271 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.3871, allocations: 8 kB / 0.6271 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.3889, allocations: 2.208 MB / 0.6293 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3889, allocations: 0 / 0.6293 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.3921, allocations: 1.1 MB / 0.6303 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.3923, allocations: 168.6 kB / 0.6305 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.3924, allocations: 12 kB / 0.6305 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3927, allocations: 8 kB / 0.6305 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.3928, allocations: 35.95 kB / 0.6305 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.3928, allocations: 16 kB / 0.6306 GB, free: 12.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.3932, allocations: 338.8 kB / 0.6309 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3932, allocations: 0 / 0.6309 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006668/0.3939, allocations: 195.5 kB / 0.6311 GB, free: 11.61 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.0004405/0.3943, allocations: 306.1 kB / 0.6314 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009355/0.3953, allocations: 485.4 kB / 0.6318 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3953, allocations: 0 / 0.6318 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.3958, allocations: 310.9 kB / 0.6321 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008611/0.3967, allocations: 158.7 kB / 0.6323 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.3987, allocations: 1.116 MB / 0.6334 GB, free: 9.199 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.3992, allocations: 0.8666 MB / 0.6342 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.3994, allocations: 87.58 kB / 0.6343 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3996, allocations: 47.42 kB / 0.6343 GB, free: 8.176 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3996, allocations: 0 / 0.6343 GB, free: 8.176 MB / 494.1 MB Notification: Performance of Templates: time 0.0176/0.4172, allocations: 10.52 MB / 0.6446 GB, free: 13.75 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