Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.006434/0.006434, allocations: 101 kB / 15.73 MB, free: 6.445 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.001614/0.001614, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.685/0.685, allocations: 93.69 MB / 384.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 83.84 kB / 0.5204 GB, free: 5.805 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 68.26 MB / 0.5871 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2977/0.4245, allocations: 22.85 MB / 0.6094 GB, free: 9.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.4368, allocations: 9.459 MB / 0.6186 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.438, allocations: 41.28 kB / 0.6187 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.4392, allocations: 412.3 kB / 0.6191 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003177/0.4424, allocations: 0.7904 MB / 0.6198 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.4443, allocations: 472.1 kB / 0.6203 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.4465, allocations: 1.159 MB / 0.6214 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.447, allocations: 242.5 kB / 0.6217 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.4483, allocations: 471.8 kB / 0.6221 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009352/0.4493, allocations: 441 kB / 0.6225 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.4494, allocations: 59 kB / 0.6226 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.452, allocations: 0.5069 MB / 0.6231 GB, free: 468 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.4522, allocations: 164.4 kB / 0.6232 GB, free: 352 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005628/0.4528, allocations: 437.8 kB / 0.6237 GB, free: 80 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00342/0.4562, allocations: 1.199 MB / 0.6248 GB, free: 15.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4563, allocations: 5.375 kB / 0.6248 GB, free: 15.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4563, allocations: 0 / 0.6248 GB, free: 15.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.4563, allocations: 0.5625 kB / 0.6248 GB, free: 15.56 MB / 494.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.002901/0.4592, allocations: 1.289 MB / 0.6261 GB, free: 14.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4593, allocations: 8.781 kB / 0.6261 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.4596, allocations: 115.4 kB / 0.6262 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.4611, allocations: 0.6658 MB / 0.6269 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.4611, allocations: 47.39 kB / 0.6269 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.4613, allocations: 65.02 kB / 0.627 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.4625, allocations: 0.6635 MB / 0.6276 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.4626, allocations: 1.734 kB / 0.6276 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.4626, allocations: 29.19 kB / 0.6276 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.4627, allocations: 19.94 kB / 0.6277 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.4638, allocations: 0.6223 MB / 0.6283 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/0.4682, allocations: 3.007 MB / 0.6312 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.4693, allocations: 0.6643 MB / 0.6319 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.4698, allocations: 290.5 kB / 0.6321 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002344/0.4721, allocations: 1.906 MB / 0.634 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.4722, allocations: 37.53 kB / 0.634 GB, free: 8.984 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.424e-06/0.4722, allocations: 1.719 kB / 0.634 GB, free: 8.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.0104/0.4826, allocations: 2.446 MB / 0.6364 GB, free: 7.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.4827, allocations: 83.3 kB / 0.6365 GB, free: 7.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.4837, allocations: 0.597 MB / 0.6371 GB, free: 7.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.4838, allocations: 37.14 kB / 0.6371 GB, free: 7.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.4842, allocations: 392.5 kB / 0.6375 GB, free: 6.871 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.4845, allocations: 235.6 kB / 0.6377 GB, free: 6.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.4847, allocations: 122.1 kB / 0.6378 GB, free: 6.586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4848, allocations: 326.7 kB / 0.6381 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.4853, allocations: 205.9 kB / 0.6383 GB, free: 6.168 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.4858, allocations: 296.7 kB / 0.6386 GB, free: 5.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.4867, allocations: 0.5306 MB / 0.6391 GB, free: 5.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.4867, allocations: 0.8125 kB / 0.6391 GB, free: 5.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005315/0.492, allocations: 1.391 MB / 0.6405 GB, free: 4.992 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4921, allocations: 6.906 kB / 0.6405 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4921, allocations: 5.906 kB / 0.6405 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005286/0.4974, allocations: 0.9263 MB / 0.6414 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.498, allocations: 103.4 kB / 0.6415 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.5008, allocations: 2.943 MB / 0.6444 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/0.5015, allocations: 59.17 kB / 0.6444 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/0.5016, allocations: 25.81 kB / 0.6445 GB, free: 1.777 MB / 494.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.0005063/0.5021, allocations: 206.4 kB / 0.6447 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.5023, allocations: 80.45 kB / 0.6447 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005397/0.5078, allocations: 1.488 MB / 0.6462 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.5078, allocations: 7.094 kB / 0.6462 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5078, allocations: 13.03 kB / 0.6462 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.5078, allocations: 5.047 kB / 0.6462 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/0.5142, allocations: 2.15 MB / 0.6483 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.5143, allocations: 2.094 kB / 0.6483 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.5146, allocations: 72.78 kB / 0.6484 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004939/0.5196, allocations: 0.9349 MB / 0.6493 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.5197, allocations: 18.77 kB / 0.6493 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.5222, allocations: 2.944 MB / 0.6522 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5222, allocations: 1.5 kB / 0.6522 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/0.5279, allocations: 1.778 MB / 0.6539 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.5284, allocations: 213.8 kB / 0.6541 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5286, allocations: 21.95 kB / 0.6542 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.5289, allocations: 14.31 kB / 0.6542 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.5291, allocations: 48.16 kB / 0.6542 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.5291, allocations: 17.72 kB / 0.6542 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005622/0.5297, allocations: 432.5 kB / 0.6546 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5297, allocations: 0 / 0.6546 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001011/0.5307, allocations: 292.6 kB / 0.6549 GB, free: 10.68 MB / 0.4981 GB 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.0006067/0.5313, allocations: 399.1 kB / 0.6553 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.5327, allocations: 0.6921 MB / 0.656 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5327, allocations: 0.5 kB / 0.656 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.5335, allocations: 449.6 kB / 0.6564 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5347, allocations: 225.6 kB / 0.6566 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.5375, allocations: 1.561 MB / 0.6582 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.5381, allocations: 0.9464 MB / 0.6591 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004428/0.5386, allocations: 112.3 kB / 0.6592 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.5387, allocations: 59.42 kB / 0.6592 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.5387, allocations: 7.875 kB / 0.6592 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of Templates: time 0.02663/0.5653, allocations: 15.93 MB / 0.6748 GB, free: 7.703 MB / 0.5137 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches