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.000943/0.0009429, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006562/0.006562, allocations: 172.9 kB / 16.26 MB, free: 6.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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.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.6527/0.6527, allocations: 91.33 MB / 382.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 10.19 kB / 462.7 MB, free: 23.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 69.23 MB / 0.5195 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01906/0.1283, allocations: 17.12 MB / 0.5362 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00755/0.1359, allocations: 6.743 MB / 0.5428 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006433/0.1366, allocations: 23.81 kB / 0.5428 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.1373, allocations: 242.7 kB / 0.543 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.1387, allocations: 493.1 kB / 0.5435 GB, free: 428 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007788/0.1394, allocations: 323 kB / 0.5438 GB, free: 104 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009871/0.1405, allocations: 0.8712 MB / 0.5447 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.1407, allocations: 137.1 kB / 0.5448 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.1412, allocations: 298.5 kB / 0.5451 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.1415, allocations: 274.5 kB / 0.5453 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.1416, allocations: 20 kB / 0.5454 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008074/0.1424, allocations: 339.6 kB / 0.5457 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.65e-05/0.1425, allocations: 79.5 kB / 0.5458 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.1428, allocations: 303.9 kB / 0.546 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000905/0.1437, allocations: 0.7551 MB / 0.5468 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1437, allocations: 0 / 0.5468 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1437, allocations: 4 kB / 0.5468 GB, free: 13.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.1437, allocations: 0 / 0.5468 GB, free: 13.03 MB / 430.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.001396/0.1451, allocations: 0.8492 MB / 0.5476 GB, free: 12.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1452, allocations: 8.031 kB / 0.5476 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.1454, allocations: 76.08 kB / 0.5477 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.1461, allocations: 495.4 kB / 0.5482 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.1461, allocations: 40.94 kB / 0.5482 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.1462, allocations: 40 kB / 0.5482 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007816/0.147, allocations: 459.8 kB / 0.5487 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.147, allocations: 0 / 0.5487 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.1471, allocations: 23.98 kB / 0.5487 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.1471, allocations: 8 kB / 0.5487 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/0.1478, allocations: 415.7 kB / 0.5491 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.1503, allocations: 2.06 MB / 0.5511 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.1511, allocations: 409.2 kB / 0.5515 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.1514, allocations: 185.7 kB / 0.5517 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.1529, allocations: 1.408 MB / 0.5531 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1529, allocations: 38.89 kB / 0.5531 GB, free: 6.066 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.1529, allocations: 0 / 0.5531 GB, free: 6.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005894/0.1588, allocations: 1.46 MB / 0.5545 GB, free: 4.559 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.1589, allocations: 96.98 kB / 0.5546 GB, free: 4.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.1594, allocations: 466.8 kB / 0.5551 GB, free: 3.977 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.1594, allocations: 37.7 kB / 0.5551 GB, free: 3.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1596, allocations: 280.4 kB / 0.5554 GB, free: 3.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1598, allocations: 134 kB / 0.5555 GB, free: 3.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.1598, allocations: 41.7 kB / 0.5555 GB, free: 3.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.16, allocations: 370.8 kB / 0.5559 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.1602, allocations: 128.8 kB / 0.556 GB, free: 2.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.1605, allocations: 189.8 kB / 0.5562 GB, free: 2.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.1611, allocations: 331 kB / 0.5565 GB, free: 2.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1611, allocations: 4 kB / 0.5565 GB, free: 2.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002756/0.1638, allocations: 0.7988 MB / 0.5573 GB, free: 1.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1639, allocations: 8 kB / 0.5573 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1639, allocations: 0 / 0.5573 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/0.1667, allocations: 493.2 kB / 0.5578 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.1669, allocations: 67.91 kB / 0.5578 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.1687, allocations: 2.09 MB / 0.5599 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.169, allocations: 47.7 kB / 0.5599 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.1691, allocations: 12 kB / 0.5599 GB, free: 14.74 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.0002152/0.1693, allocations: 177.6 kB / 0.5601 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1694, allocations: 51.34 kB / 0.5602 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/0.1724, allocations: 0.8742 MB / 0.561 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1724, allocations: 4 kB / 0.561 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1724, allocations: 4 kB / 0.561 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1724, allocations: 4 kB / 0.561 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.1759, allocations: 1.36 MB / 0.5623 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1759, allocations: 0 / 0.5623 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.1761, allocations: 47.92 kB / 0.5624 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002705/0.1788, allocations: 497.3 kB / 0.5629 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.1789, allocations: 8 kB / 0.5629 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.1806, allocations: 2.098 MB / 0.5649 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1806, allocations: 0 / 0.5649 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.1838, allocations: 1.098 MB / 0.566 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.184, allocations: 168.3 kB / 0.5662 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.1841, allocations: 20 kB / 0.5662 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.1844, allocations: 15.98 kB / 0.5662 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.1845, allocations: 31.89 kB / 0.5662 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.1845, allocations: 16 kB / 0.5662 GB, free: 7.977 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004016/0.1849, allocations: 334.9 kB / 0.5666 GB, free: 7.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1849, allocations: 0 / 0.5666 GB, free: 7.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006925/0.1856, allocations: 195.7 kB / 0.5667 GB, free: 7.461 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.0004578/0.1861, allocations: 287.2 kB / 0.567 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.1871, allocations: 486.1 kB / 0.5675 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1871, allocations: 0 / 0.5675 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.1877, allocations: 322.7 kB / 0.5678 GB, free: 6.355 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.1889, allocations: 156.7 kB / 0.5679 GB, free: 6.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.191, allocations: 1.391 MB / 0.5693 GB, free: 4.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.1916, allocations: 0.8632 MB / 0.5701 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.1919, allocations: 75.84 kB / 0.5702 GB, free: 3.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.192, allocations: 43.44 kB / 0.5702 GB, free: 3.777 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.192, allocations: 0 / 0.5702 GB, free: 3.777 MB / 446.1 MB Notification: Performance of Templates: time 0.228/0.42, allocations: 9.952 MB / 0.58 GB, free: 55.53 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches