Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001641/0.001641, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001691/0.001691, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7243/0.7243, allocations: 93.69 MB / 384.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 87.81 kB / 464.1 MB, free: 6.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1396, allocations: 68.27 MB / 0.5198 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.2127/0.3523, allocations: 17.31 MB / 0.5368 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005523/0.3578, allocations: 6.802 MB / 0.5434 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005487/0.3584, allocations: 24.94 kB / 0.5434 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000727/0.3592, allocations: 280 kB / 0.5437 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.3606, allocations: 0.541 MB / 0.5442 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007762/0.3614, allocations: 353.6 kB / 0.5446 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007778/0.3622, allocations: 0.8057 MB / 0.5453 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.3624, allocations: 152.3 kB / 0.5455 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.3629, allocations: 345 kB / 0.5458 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.3632, allocations: 303 kB / 0.5461 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.3632, allocations: 37.25 kB / 0.5461 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008527/0.3641, allocations: 363.1 kB / 0.5465 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.3642, allocations: 112.6 kB / 0.5466 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.3644, allocations: 290 kB / 0.5469 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008971/0.3653, allocations: 0.8203 MB / 0.5477 GB, free: 29.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3653, allocations: 0 / 0.5477 GB, free: 29.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3653, allocations: 0 / 0.5477 GB, free: 29.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.3653, allocations: 0 / 0.5477 GB, free: 29.65 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.001243/0.3666, allocations: 0.9671 MB / 0.5486 GB, free: 29.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3666, allocations: 10 kB / 0.5486 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3668, allocations: 74.62 kB / 0.5487 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.3673, allocations: 486.1 kB / 0.5492 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.3674, allocations: 37.44 kB / 0.5492 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.3675, allocations: 44.75 kB / 0.5492 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005946/0.3681, allocations: 457.6 kB / 0.5497 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3681, allocations: 0 / 0.5497 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.3681, allocations: 22.75 kB / 0.5497 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3681, allocations: 10.78 kB / 0.5497 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/0.3687, allocations: 407 kB / 0.5501 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.3706, allocations: 2.081 MB / 0.5521 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.3712, allocations: 415 kB / 0.5525 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.3715, allocations: 178.4 kB / 0.5527 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.3726, allocations: 1.406 MB / 0.5541 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.3726, allocations: 37.08 kB / 0.5541 GB, free: 25.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.3726, allocations: 0.9688 kB / 0.5541 GB, free: 25.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=41): time 0.005343/0.378, allocations: 1.46 MB / 0.5555 GB, free: 24.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.378, allocations: 89.05 kB / 0.5556 GB, free: 24.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.3785, allocations: 477.2 kB / 0.5561 GB, free: 24.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3785, allocations: 30.89 kB / 0.5561 GB, free: 24.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3787, allocations: 298.6 kB / 0.5564 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.3787, allocations: 142.8 kB / 0.5565 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.3788, allocations: 73.72 kB / 0.5566 GB, free: 24.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.3789, allocations: 365.4 kB / 0.5569 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.3791, allocations: 125 kB / 0.5571 GB, free: 23.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.3794, allocations: 181.3 kB / 0.5572 GB, free: 23.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.3798, allocations: 333.7 kB / 0.5575 GB, free: 23.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3798, allocations: 0 / 0.5575 GB, free: 23.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002547/0.3824, allocations: 0.8018 MB / 0.5583 GB, free: 23.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3824, allocations: 6.281 kB / 0.5583 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3825, allocations: 1.656 kB / 0.5583 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/0.385, allocations: 492 kB / 0.5588 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.3853, allocations: 65.97 kB / 0.5589 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.3867, allocations: 2.202 MB / 0.561 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.3871, allocations: 43.36 kB / 0.5611 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.3871, allocations: 20.58 kB / 0.5611 GB, free: 20.89 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.0002194/0.3873, allocations: 166.2 kB / 0.5612 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.3875, allocations: 62.38 kB / 0.5613 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.3901, allocations: 0.8535 MB / 0.5621 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3902, allocations: 4.375 kB / 0.5621 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3902, allocations: 6.219 kB / 0.5621 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3902, allocations: 4.641 kB / 0.5621 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.3934, allocations: 1.371 MB / 0.5635 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3934, allocations: 1.469 kB / 0.5635 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.3936, allocations: 47.61 kB / 0.5635 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/0.3961, allocations: 498.2 kB / 0.564 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.3962, allocations: 18.95 kB / 0.564 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.3975, allocations: 2.2 MB / 0.5662 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3975, allocations: 1.125 kB / 0.5662 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.4004, allocations: 1.1 MB / 0.5672 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.4006, allocations: 169.4 kB / 0.5674 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-05/0.4007, allocations: 8.969 kB / 0.5674 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.401, allocations: 10.52 kB / 0.5674 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.4011, allocations: 36.25 kB / 0.5675 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.4011, allocations: 15.69 kB / 0.5675 GB, free: 16.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.4015, allocations: 349.9 kB / 0.5678 GB, free: 16.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4015, allocations: 0 / 0.5678 GB, free: 16.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006935/0.4022, allocations: 191.1 kB / 0.568 GB, free: 16.63 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.0004174/0.4027, allocations: 303.9 kB / 0.5683 GB, free: 16.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009665/0.4036, allocations: 473.9 kB / 0.5687 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4036, allocations: 1.469 kB / 0.5687 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.4041, allocations: 320.2 kB / 0.569 GB, free: 16.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009454/0.4051, allocations: 154.1 kB / 0.5692 GB, free: 16.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.4068, allocations: 1.159 MB / 0.5703 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.4072, allocations: 0.8697 MB / 0.5712 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.4073, allocations: 47.58 kB / 0.5712 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4073, allocations: 0 / 0.5712 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Templates: time 0.01755/0.4249, allocations: 13.53 MB / 0.5844 GB, free: 10.53 MB / 446.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches