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.004743/0.004743, allocations: 100.4 kB / 15.87 MB, free: 5.867 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.001186/0.001186, allocations: 192.3 kB / 16.79 MB, free: 5.809 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.303/1.303, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.643/0.643, allocations: 89.51 MB / 380.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 72.45 kB / 458.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 67.31 MB / 0.5132 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02139/0.1259, allocations: 22.92 MB / 0.5356 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009404/0.1353, allocations: 9.43 MB / 0.5448 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006057/0.136, allocations: 19.88 kB / 0.5448 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009251/0.1369, allocations: 350.1 kB / 0.5451 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.1386, allocations: 0.6757 MB / 0.5458 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.1396, allocations: 422.7 kB / 0.5462 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.1407, allocations: 1.174 MB / 0.5474 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.141, allocations: 194.1 kB / 0.5475 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.1415, allocations: 394.3 kB / 0.5479 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.1419, allocations: 402 kB / 0.5483 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.18e-05/0.1419, allocations: 40 kB / 0.5483 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.1432, allocations: 491.5 kB / 0.5488 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1433, allocations: 135.3 kB / 0.5489 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.1436, allocations: 381.9 kB / 0.5493 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000848/0.1445, allocations: 0.7717 MB / 0.5501 GB, free: 7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1445, allocations: 7.938 kB / 0.5501 GB, free: 6.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1445, allocations: 0 / 0.5501 GB, free: 6.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.1445, allocations: 3.938 kB / 0.5501 GB, free: 6.988 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001935/0.1465, allocations: 1.14 MB / 0.5512 GB, free: 5.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1465, allocations: 12.03 kB / 0.5512 GB, free: 5.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002404/0.1468, allocations: 91.81 kB / 0.5513 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.1474, allocations: 477.4 kB / 0.5517 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.1474, allocations: 49.69 kB / 0.5518 GB, free: 5.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.1475, allocations: 60.38 kB / 0.5518 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1485, allocations: 0.6732 MB / 0.5525 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.1486, allocations: 4 kB / 0.5525 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.1486, allocations: 24 kB / 0.5525 GB, free: 4.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.1486, allocations: 16 kB / 0.5525 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009693/0.1496, allocations: 0.6219 MB / 0.5531 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.1529, allocations: 2.98 MB / 0.5561 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.154, allocations: 0.6747 MB / 0.5567 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.1544, allocations: 291.3 kB / 0.557 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/0.1564, allocations: 1.901 MB / 0.5588 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1564, allocations: 39.06 kB / 0.5589 GB, free: 13.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.014e-06/0.1564, allocations: 0 / 0.5589 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.009822/0.1662, allocations: 2.42 MB / 0.5612 GB, free: 10.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1664, allocations: 85.67 kB / 0.5613 GB, free: 10.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.1669, allocations: 471 kB / 0.5618 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.167, allocations: 37.7 kB / 0.5618 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.1672, allocations: 332.3 kB / 0.5621 GB, free: 9.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.1673, allocations: 228.7 kB / 0.5623 GB, free: 9.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.1675, allocations: 110.3 kB / 0.5625 GB, free: 9.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1677, allocations: 382.7 kB / 0.5628 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.168, allocations: 209.2 kB / 0.563 GB, free: 8.969 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.1684, allocations: 294.8 kB / 0.5633 GB, free: 8.652 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/0.1693, allocations: 0.5315 MB / 0.5638 GB, free: 8.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1693, allocations: 0 / 0.5638 GB, free: 8.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005008/0.1743, allocations: 1.361 MB / 0.5651 GB, free: 6.719 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1743, allocations: 5.875 kB / 0.5652 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1743, allocations: 4 kB / 0.5652 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/0.1796, allocations: 0.943 MB / 0.5661 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.18, allocations: 99.83 kB / 0.5662 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.1824, allocations: 2.826 MB / 0.5689 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.183, allocations: 67.58 kB / 0.569 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.183, allocations: 31.92 kB / 0.569 GB, free: 2.555 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.0002808/0.1833, allocations: 189.7 kB / 0.5692 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.1835, allocations: 67.23 kB / 0.5693 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/0.1889, allocations: 1.482 MB / 0.5707 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.1889, allocations: 8 kB / 0.5707 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1889, allocations: 3.938 kB / 0.5707 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.189, allocations: 3.984 kB / 0.5707 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005889/0.1949, allocations: 2.101 MB / 0.5728 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1949, allocations: 0 / 0.5728 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.1952, allocations: 71.91 kB / 0.5729 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005163/0.2004, allocations: 0.939 MB / 0.5738 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-05/0.2005, allocations: 23.98 kB / 0.5738 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.2027, allocations: 2.826 MB / 0.5766 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2028, allocations: 4.125 kB / 0.5766 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/0.2083, allocations: 1.744 MB / 0.5783 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.2086, allocations: 200.1 kB / 0.5785 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.2087, allocations: 19.94 kB / 0.5785 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.2091, allocations: 23.98 kB / 0.5785 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.2092, allocations: 44.5 kB / 0.5785 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.2093, allocations: 23.98 kB / 0.5786 GB, free: 8.445 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003828/0.2096, allocations: 346.8 kB / 0.5789 GB, free: 8.109 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2097, allocations: 4 kB / 0.5789 GB, free: 8.105 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008535/0.2105, allocations: 295.4 kB / 0.5792 GB, free: 7.816 MB / 462.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.0005328/0.211, allocations: 390 kB / 0.5795 GB, free: 7.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.2124, allocations: 0.6862 MB / 0.5802 GB, free: 6.734 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2124, allocations: 3.938 kB / 0.5802 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007131/0.2131, allocations: 454.3 kB / 0.5807 GB, free: 6.277 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.2142, allocations: 190.1 kB / 0.5808 GB, free: 6.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.2167, allocations: 1.712 MB / 0.5825 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.2171, allocations: 0.9147 MB / 0.5834 GB, free: 3.391 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.2173, allocations: 51.44 kB / 0.5835 GB, free: 3.34 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2173, allocations: 0 / 0.5835 GB, free: 3.34 MB / 462.1 MB Notification: Performance of Templates: time 0.2149/0.4322, allocations: 19.76 MB / 0.6027 GB, free: 68.85 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 -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