Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.00177/0.00177, allocations: 189 kB / 17.3 MB, free: 5.613 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.323/1.323, allocations: 222.9 MB / 241 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.6516/0.6516, allocations: 89.49 MB / 380.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 75.88 kB / 459.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1239, allocations: 67.31 MB / 0.5146 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.1979/0.3219, allocations: 22.7 MB / 0.5368 GB, free: 36.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006707/0.3286, allocations: 9.385 MB / 0.5459 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.3291, allocations: 16.88 kB / 0.546 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.3299, allocations: 404 kB / 0.5464 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.3313, allocations: 0.7441 MB / 0.5471 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.3321, allocations: 481.2 kB / 0.5475 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007558/0.3329, allocations: 1.04 MB / 0.5486 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.3332, allocations: 220.6 kB / 0.5488 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/0.3336, allocations: 415.9 kB / 0.5492 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.3339, allocations: 416.5 kB / 0.5496 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.74e-05/0.334, allocations: 58.28 kB / 0.5496 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.335, allocations: 0.5089 MB / 0.5501 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.393e-05/0.3351, allocations: 155 kB / 0.5503 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.3354, allocations: 399.8 kB / 0.5506 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3365, allocations: 1.101 MB / 0.5517 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3365, allocations: 0 / 0.5517 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3365, allocations: 0 / 0.5517 GB, free: 29.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3365, allocations: 0 / 0.5517 GB, free: 29.54 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001644/0.3382, allocations: 1.138 MB / 0.5528 GB, free: 28.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.3382, allocations: 8.062 kB / 0.5528 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.3384, allocations: 95.12 kB / 0.5529 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.339, allocations: 488.5 kB / 0.5534 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.339, allocations: 47.56 kB / 0.5534 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.879e-05/0.3391, allocations: 61.75 kB / 0.5535 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.34, allocations: 0.6717 MB / 0.5541 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.3401, allocations: 1.312 kB / 0.5542 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.3401, allocations: 24.97 kB / 0.5542 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.3401, allocations: 18.69 kB / 0.5542 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.341, allocations: 0.6275 MB / 0.5548 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.3439, allocations: 2.961 MB / 0.5577 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000954/0.3449, allocations: 0.6643 MB / 0.5583 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.3452, allocations: 291.3 kB / 0.5586 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.3468, allocations: 1.892 MB / 0.5605 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.3469, allocations: 43.44 kB / 0.5605 GB, free: 23.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.755e-06/0.3469, allocations: 1.281 kB / 0.5605 GB, free: 23.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.009067/0.3559, allocations: 2.419 MB / 0.5629 GB, free: 23.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.356, allocations: 86.28 kB / 0.563 GB, free: 23.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.3565, allocations: 481.7 kB / 0.5634 GB, free: 22.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.3566, allocations: 35.83 kB / 0.5635 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.3568, allocations: 329.4 kB / 0.5638 GB, free: 22.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3569, allocations: 232 kB / 0.564 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.3571, allocations: 111.2 kB / 0.5641 GB, free: 22.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.3572, allocations: 377.8 kB / 0.5645 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.3575, allocations: 205.2 kB / 0.5646 GB, free: 21.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.3579, allocations: 298.8 kB / 0.5649 GB, free: 21.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.3586, allocations: 0.5264 MB / 0.5654 GB, free: 21.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3586, allocations: 1.719 kB / 0.5655 GB, free: 21.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004707/0.3633, allocations: 1.372 MB / 0.5668 GB, free: 20.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3634, allocations: 10.34 kB / 0.5668 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3634, allocations: 2.312 kB / 0.5668 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004809/0.3682, allocations: 0.9339 MB / 0.5677 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.3686, allocations: 99.17 kB / 0.5678 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.3705, allocations: 2.951 MB / 0.5707 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.371, allocations: 55.77 kB / 0.5707 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.371, allocations: 27.33 kB / 0.5708 GB, free: 18.04 MB / 446.1 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002536/0.3713, allocations: 192.5 kB / 0.571 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3714, allocations: 65.44 kB / 0.571 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004986/0.3764, allocations: 1.469 MB / 0.5725 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3764, allocations: 12.88 kB / 0.5725 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3764, allocations: 1.406 kB / 0.5725 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3765, allocations: 4.406 kB / 0.5725 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00553/0.382, allocations: 2.107 MB / 0.5745 GB, free: 16.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.382, allocations: 1.094 kB / 0.5745 GB, free: 16.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.3823, allocations: 75.5 kB / 0.5746 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004686/0.387, allocations: 0.9345 MB / 0.5755 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.3871, allocations: 20.95 kB / 0.5755 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.3888, allocations: 2.941 MB / 0.5784 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3888, allocations: 1.062 kB / 0.5784 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.3939, allocations: 1.746 MB / 0.5801 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.3942, allocations: 204.2 kB / 0.5803 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.982e-05/0.3943, allocations: 13.39 kB / 0.5803 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.3947, allocations: 23.59 kB / 0.5803 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3948, allocations: 44.5 kB / 0.5804 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.3948, allocations: 21.09 kB / 0.5804 GB, free: 12.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003563/0.3952, allocations: 344.2 kB / 0.5807 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3952, allocations: 0 / 0.5807 GB, free: 12.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008163/0.396, allocations: 291.9 kB / 0.581 GB, free: 12.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004692/0.3965, allocations: 396.3 kB / 0.5814 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.3977, allocations: 0.7008 MB / 0.5821 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3977, allocations: 0 / 0.5821 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.3984, allocations: 444.5 kB / 0.5825 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3994, allocations: 204.1 kB / 0.5827 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.4014, allocations: 1.374 MB / 0.584 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.4018, allocations: 0.9167 MB / 0.5849 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.4022, allocations: 96.52 kB / 0.585 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4023, allocations: 47.64 kB / 0.5851 GB, free: 10.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4023, allocations: 0 / 0.5851 GB, free: 10.09 MB / 446.1 MB Notification: Performance of Templates: time 0.3929/0.7952, allocations: 15.47 MB / 0.6002 GB, free: 14.98 MB / 462.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -s cvode -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches