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.001531/0.001531, allocations: 114.9 kB / 16.37 MB, free: 6.016 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.001728/0.001728, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6651/0.6651, allocations: 89.49 MB / 380.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 75.88 kB / 459.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1162, allocations: 67.3 MB / 0.5146 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2141/0.3304, allocations: 22.69 MB / 0.5368 GB, free: 35.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006915/0.3373, allocations: 9.392 MB / 0.546 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005865/0.3379, allocations: 15.19 kB / 0.546 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007144/0.3387, allocations: 396.8 kB / 0.5463 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.34, allocations: 0.7518 MB / 0.5471 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.3408, allocations: 481.6 kB / 0.5475 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007162/0.3416, allocations: 1.035 MB / 0.5485 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.3419, allocations: 219.3 kB / 0.5488 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.3423, allocations: 417.3 kB / 0.5492 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.3427, allocations: 419.2 kB / 0.5496 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/0.3427, allocations: 60.25 kB / 0.5496 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.3438, allocations: 0.5079 MB / 0.5501 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.344, allocations: 150.9 kB / 0.5503 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.3443, allocations: 403.9 kB / 0.5506 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.3455, allocations: 1.093 MB / 0.5517 GB, free: 29.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3455, allocations: 0 / 0.5517 GB, free: 29.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3456, allocations: 3.938 kB / 0.5517 GB, free: 29.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.3456, allocations: 0 / 0.5517 GB, free: 29.41 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.001723/0.3473, allocations: 1.142 MB / 0.5528 GB, free: 28.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3473, allocations: 9.312 kB / 0.5528 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.3476, allocations: 94.53 kB / 0.5529 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.3482, allocations: 475.7 kB / 0.5534 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.3482, allocations: 52.17 kB / 0.5534 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.3483, allocations: 61.22 kB / 0.5535 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009169/0.3493, allocations: 0.673 MB / 0.5541 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.3493, allocations: 1.469 kB / 0.5541 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.3493, allocations: 29.56 kB / 0.5542 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.3494, allocations: 15.88 kB / 0.5542 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/0.3503, allocations: 0.6245 MB / 0.5548 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/0.3531, allocations: 2.972 MB / 0.5577 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/0.354, allocations: 0.6649 MB / 0.5583 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.3544, allocations: 281.6 kB / 0.5586 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.3561, allocations: 1.909 MB / 0.5605 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.3561, allocations: 38.91 kB / 0.5605 GB, free: 23.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 1.663e-06/0.3561, allocations: 0 / 0.5605 GB, free: 23.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.0094/0.3655, allocations: 2.418 MB / 0.5629 GB, free: 22.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.3655, allocations: 93.12 kB / 0.563 GB, free: 22.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.366, allocations: 477.8 kB / 0.5634 GB, free: 22.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3661, allocations: 36.33 kB / 0.5635 GB, free: 22.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3662, allocations: 325.3 kB / 0.5638 GB, free: 22.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.3664, allocations: 231.5 kB / 0.564 GB, free: 22.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.3665, allocations: 112.5 kB / 0.5641 GB, free: 22.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.3666, allocations: 376.5 kB / 0.5645 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.367, allocations: 210.4 kB / 0.5647 GB, free: 21.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.3673, allocations: 294.7 kB / 0.5649 GB, free: 21.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007197/0.3681, allocations: 0.5266 MB / 0.5655 GB, free: 21.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3681, allocations: 0 / 0.5655 GB, free: 21.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004805/0.3729, allocations: 1.369 MB / 0.5668 GB, free: 20.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3729, allocations: 7.453 kB / 0.5668 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3729, allocations: 4.875 kB / 0.5668 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004885/0.3778, allocations: 0.9384 MB / 0.5677 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.3782, allocations: 103.9 kB / 0.5678 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.38, allocations: 2.939 MB / 0.5707 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.3804, allocations: 55.2 kB / 0.5707 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.3805, allocations: 32 kB / 0.5708 GB, free: 17.91 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.0002246/0.3807, allocations: 197.2 kB / 0.571 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3809, allocations: 66.05 kB / 0.571 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005022/0.3859, allocations: 1.472 MB / 0.5725 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3859, allocations: 9.516 kB / 0.5725 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3859, allocations: 2.406 kB / 0.5725 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3859, allocations: 3.562 kB / 0.5725 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005644/0.3916, allocations: 2.106 MB / 0.5745 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3916, allocations: 0.6094 kB / 0.5745 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.3919, allocations: 77.91 kB / 0.5746 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004763/0.3967, allocations: 0.9311 MB / 0.5755 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.3967, allocations: 21.19 kB / 0.5755 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.3985, allocations: 2.94 MB / 0.5784 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3985, allocations: 3.266 kB / 0.5784 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00532/0.4039, allocations: 1.75 MB / 0.5801 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.4042, allocations: 200.7 kB / 0.5803 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4043, allocations: 12.62 kB / 0.5803 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.4047, allocations: 19.06 kB / 0.5803 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4048, allocations: 44.33 kB / 0.5804 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.4048, allocations: 25.06 kB / 0.5804 GB, free: 12.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003993/0.4052, allocations: 344.2 kB / 0.5807 GB, free: 12.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4052, allocations: 5.25 kB / 0.5807 GB, free: 12.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008884/0.4061, allocations: 293.7 kB / 0.581 GB, free: 12.26 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.0006077/0.4067, allocations: 384 kB / 0.5814 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.4082, allocations: 0.7019 MB / 0.5821 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4082, allocations: 0 / 0.5821 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.409, allocations: 449.6 kB / 0.5825 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4101, allocations: 206.9 kB / 0.5827 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.4124, allocations: 1.378 MB / 0.584 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.4129, allocations: 0.9125 MB / 0.5849 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003971/0.4133, allocations: 91.02 kB / 0.585 GB, free: 9.973 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.4134, allocations: 48.28 kB / 0.5851 GB, free: 9.961 MB / 446.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4134, allocations: 4 kB / 0.5851 GB, free: 9.957 MB / 446.1 MB Notification: Performance of Templates: time 0.02148/0.4349, allocations: 15.47 MB / 0.6002 GB, free: 15 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 gbode -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