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.0009995/0.0009997, allocations: 104.1 kB / 16.36 MB, free: 6.285 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.001041/0.001041, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6545/0.6545, allocations: 89.5 MB / 380.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001597, allocations: 75.88 kB / 459.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1121, allocations: 67.31 MB / 0.5146 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.2055/0.3177, allocations: 17.19 MB / 0.5314 GB, free: 38.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.3234, allocations: 6.726 MB / 0.538 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004758/0.3239, allocations: 13.91 kB / 0.538 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.3247, allocations: 281.5 kB / 0.5383 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.3262, allocations: 497.9 kB / 0.5387 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008239/0.327, allocations: 372.2 kB / 0.5391 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007769/0.3278, allocations: 0.7098 MB / 0.5398 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.328, allocations: 133.1 kB / 0.5399 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.3284, allocations: 307 kB / 0.5402 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.3287, allocations: 277.3 kB / 0.5405 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.236e-05/0.3288, allocations: 38.91 kB / 0.5405 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008298/0.3296, allocations: 364.9 kB / 0.5409 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.3297, allocations: 101.1 kB / 0.5409 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.3299, allocations: 272.1 kB / 0.5412 GB, free: 34.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008225/0.3307, allocations: 0.7495 MB / 0.5419 GB, free: 34.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3308, allocations: 0 / 0.5419 GB, free: 34.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3308, allocations: 0 / 0.5419 GB, free: 34.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3308, allocations: 0.7188 kB / 0.5419 GB, free: 34.55 MB / 446.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.001213/0.332, allocations: 0.874 MB / 0.5428 GB, free: 33.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.332, allocations: 12.44 kB / 0.5428 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.3322, allocations: 60.28 kB / 0.5429 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.3327, allocations: 389.4 kB / 0.5432 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3327, allocations: 27.81 kB / 0.5433 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.3328, allocations: 41.7 kB / 0.5433 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.3334, allocations: 464.7 kB / 0.5437 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3334, allocations: 2.25 kB / 0.5437 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.3334, allocations: 18.27 kB / 0.5438 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3335, allocations: 13.16 kB / 0.5438 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.334, allocations: 408.4 kB / 0.5442 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.3359, allocations: 2.03 MB / 0.5461 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.3365, allocations: 418.3 kB / 0.5465 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.3368, allocations: 179.5 kB / 0.5467 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/0.3379, allocations: 1.41 MB / 0.5481 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.338, allocations: 36.48 kB / 0.5481 GB, free: 31.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.493e-06/0.338, allocations: 0 / 0.5481 GB, free: 31.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=41): time 0.005566/0.3435, allocations: 1.439 MB / 0.5495 GB, free: 30.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.3436, allocations: 91.58 kB / 0.5496 GB, free: 30.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.3439, allocations: 371.3 kB / 0.55 GB, free: 30.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3439, allocations: 36.89 kB / 0.55 GB, free: 30.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3441, allocations: 252.5 kB / 0.5503 GB, free: 30.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.3441, allocations: 142.8 kB / 0.5504 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.932e-05/0.3442, allocations: 74.77 kB / 0.5505 GB, free: 30.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.3443, allocations: 360.9 kB / 0.5508 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3445, allocations: 121.1 kB / 0.5509 GB, free: 29.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.3448, allocations: 186.9 kB / 0.5511 GB, free: 29.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.3453, allocations: 331.2 kB / 0.5514 GB, free: 29.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3453, allocations: 1.688 kB / 0.5514 GB, free: 29.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002672/0.348, allocations: 0.7888 MB / 0.5522 GB, free: 29.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.348, allocations: 6.375 kB / 0.5522 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.348, allocations: 0.7812 kB / 0.5522 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/0.3507, allocations: 492.2 kB / 0.5527 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.351, allocations: 67.92 kB / 0.5527 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.3524, allocations: 2.199 MB / 0.5549 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.3526, allocations: 36.97 kB / 0.5549 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.3527, allocations: 14.12 kB / 0.5549 GB, free: 27.78 MB / 446.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.0001707/0.3529, allocations: 165.8 kB / 0.5551 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.353, allocations: 48.77 kB / 0.5551 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.3558, allocations: 0.8494 MB / 0.556 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.3558, allocations: 6 kB / 0.556 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3558, allocations: 1.062 kB / 0.556 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3558, allocations: 2.531 kB / 0.556 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.3591, allocations: 1.341 MB / 0.5573 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3591, allocations: 6.188 kB / 0.5573 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.3593, allocations: 48.33 kB / 0.5573 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/0.3619, allocations: 497.5 kB / 0.5578 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.362, allocations: 15.89 kB / 0.5578 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.3634, allocations: 2.195 MB / 0.56 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3635, allocations: 1 kB / 0.56 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.3664, allocations: 1.1 MB / 0.561 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.3666, allocations: 155.4 kB / 0.5612 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.3667, allocations: 11.45 kB / 0.5612 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.367, allocations: 10.89 kB / 0.5612 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.367, allocations: 28.61 kB / 0.5612 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.3671, allocations: 13.81 kB / 0.5612 GB, free: 23.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.3674, allocations: 281.9 kB / 0.5615 GB, free: 23.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3674, allocations: 0 / 0.5615 GB, free: 23.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006595/0.3681, allocations: 193.5 kB / 0.5617 GB, free: 23.65 MB / 446.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.0004207/0.3685, allocations: 296.3 kB / 0.562 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000916/0.3694, allocations: 485.7 kB / 0.5624 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3694, allocations: 0 / 0.5624 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004729/0.3699, allocations: 314.8 kB / 0.5627 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/0.3708, allocations: 154.4 kB / 0.5629 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3724, allocations: 0.9927 MB / 0.5639 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3727, allocations: 0.8352 MB / 0.5647 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.373, allocations: 67.75 kB / 0.5647 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.926e-05/0.3731, allocations: 37.45 kB / 0.5648 GB, free: 21.71 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3731, allocations: 0 / 0.5648 GB, free: 21.71 MB / 446.1 MB Notification: Performance of Templates: time 0.01901/0.3921, allocations: 10.23 MB / 0.5748 GB, free: 20.2 MB / 446.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches