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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 215.1 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7879/0.7879, allocations: 100.3 MB / 412.7 MB, free: 3.652 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 92.73 kB / 0.5638 GB, free: 35.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.13, allocations: 74.46 MB / 0.6365 GB, free: 7.125 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02824/0.1582, allocations: 23.35 MB / 0.6593 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.1703, allocations: 9.571 MB / 0.6686 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006986/0.171, allocations: 43.62 kB / 0.6687 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.1721, allocations: 413.2 kB / 0.6691 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.1742, allocations: 0.8151 MB / 0.6699 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1754, allocations: 470.4 kB / 0.6703 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.1769, allocations: 1.174 MB / 0.6715 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.1772, allocations: 156 kB / 0.6716 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/0.1781, allocations: 0.494 MB / 0.6721 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006037/0.1787, allocations: 445.7 kB / 0.6725 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.1788, allocations: 56 kB / 0.6726 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.1802, allocations: 0.519 MB / 0.6731 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.1804, allocations: 163.2 kB / 0.6732 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.1808, allocations: 441.5 kB / 0.6736 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.1828, allocations: 1.218 MB / 0.6748 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1828, allocations: 0 / 0.6748 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1828, allocations: 0 / 0.6748 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.1828, allocations: 3.938 kB / 0.6748 GB, free: 15.66 MB / 0.5137 GB 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.00235/0.1851, allocations: 1.212 MB / 0.676 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1852, allocations: 9.469 kB / 0.676 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.1854, allocations: 116.2 kB / 0.6761 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.1866, allocations: 0.5725 MB / 0.6767 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.1866, allocations: 49.31 kB / 0.6767 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1867, allocations: 67.94 kB / 0.6768 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.1879, allocations: 0.6769 MB / 0.6775 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.1879, allocations: 0 / 0.6775 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.188, allocations: 24 kB / 0.6775 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.188, allocations: 16 kB / 0.6775 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.1892, allocations: 0.6493 MB / 0.6781 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.1935, allocations: 2.976 MB / 0.6811 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.1947, allocations: 0.6194 MB / 0.6817 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.1951, allocations: 266.8 kB / 0.6819 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/0.1971, allocations: 1.068 MB / 0.683 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1972, allocations: 39.22 kB / 0.683 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.004e-06/0.1972, allocations: 4 kB / 0.683 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01078/0.208, allocations: 2.209 MB / 0.6852 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.208, allocations: 85.77 kB / 0.6852 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.2088, allocations: 0.6021 MB / 0.6858 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/0.2089, allocations: 33.7 kB / 0.6859 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.2092, allocations: 388.9 kB / 0.6862 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.2095, allocations: 234 kB / 0.6865 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.2097, allocations: 118.3 kB / 0.6866 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2098, allocations: 334 kB / 0.6869 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.2102, allocations: 209.2 kB / 0.6871 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.2107, allocations: 298.8 kB / 0.6874 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009458/0.2117, allocations: 0.5436 MB / 0.6879 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2117, allocations: 0 / 0.6879 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005447/0.2171, allocations: 1.389 MB / 0.6893 GB, free: 400 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2171, allocations: 8 kB / 0.6893 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2171, allocations: 0 / 0.6893 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005471/0.2226, allocations: 0.9391 MB / 0.6902 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.223, allocations: 103.8 kB / 0.6903 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.226, allocations: 2.863 MB / 0.6931 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.2265, allocations: 51.56 kB / 0.6931 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.2265, allocations: 28 kB / 0.6931 GB, free: 12.23 MB / 0.5294 GB 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.0003394/0.2269, allocations: 203.9 kB / 0.6933 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.227, allocations: 83.44 kB / 0.6934 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/0.2328, allocations: 1.487 MB / 0.6949 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.2328, allocations: 4 kB / 0.6949 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2329, allocations: 7.938 kB / 0.6949 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.2329, allocations: 3.984 kB / 0.6949 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006529/0.2394, allocations: 2.123 MB / 0.697 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2394, allocations: 4 kB / 0.697 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.2397, allocations: 71.91 kB / 0.697 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0053/0.245, allocations: 0.9315 MB / 0.6979 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.2451, allocations: 27.98 kB / 0.698 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/0.248, allocations: 2.846 MB / 0.7008 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.248, allocations: 0 / 0.7008 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005832/0.2538, allocations: 1.772 MB / 0.7025 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.2541, allocations: 139.2 kB / 0.7026 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.2542, allocations: 19.89 kB / 0.7026 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.2546, allocations: 19.98 kB / 0.7027 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.2547, allocations: 48.52 kB / 0.7027 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.2548, allocations: 19.98 kB / 0.7027 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005758/0.2553, allocations: 431 kB / 0.7031 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2553, allocations: 4 kB / 0.7031 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008909/0.2562, allocations: 291.3 kB / 0.7034 GB, free: 1.418 MB / 0.5294 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.0005747/0.2568, allocations: 391.3 kB / 0.7038 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.2582, allocations: 0.6757 MB / 0.7044 GB, free: 352 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2582, allocations: 0 / 0.7044 GB, free: 352 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007981/0.259, allocations: 438.9 kB / 0.7049 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.2602, allocations: 220.2 kB / 0.7051 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.2629, allocations: 1.559 MB / 0.7066 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.2636, allocations: 0.9463 MB / 0.7075 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003828/0.264, allocations: 115.4 kB / 0.7076 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2641, allocations: 59.42 kB / 0.7077 GB, free: 12.97 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2641, allocations: 0 / 0.7077 GB, free: 12.97 MB / 0.545 GB Notification: Performance of Templates: time 0.02995/0.2941, allocations: 16.52 MB / 0.7238 GB, free: 12.61 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.285422056913376]