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.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.001607/0.001607, allocations: 84.52 kB / 19.16 MB, free: 2.535 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.00174/0.00174, allocations: 167.3 kB / 22.44 MB, free: 5.344 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.404/1.404, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.696/0.696, allocations: 74.91 MB / 334.1 MB, free: 8 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_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.003563/0.003563, allocations: 92.28 kB / 496 MB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1158, allocations: 73.03 MB / 0.5557 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02525/0.1411, allocations: 21.07 MB / 0.5763 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.1522, allocations: 8.648 MB / 0.5847 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000629/0.1529, allocations: 43.62 kB / 0.5848 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000935/0.1538, allocations: 357.2 kB / 0.5851 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.1558, allocations: 0.8187 MB / 0.5859 GB, free: 404 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1568, allocations: 470.2 kB / 0.5863 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.1582, allocations: 1.166 MB / 0.5875 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.1585, allocations: 152 kB / 0.5876 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.1595, allocations: 0.6968 MB / 0.5883 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005181/0.16, allocations: 409.7 kB / 0.5887 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.262e-05/0.1601, allocations: 60 kB / 0.5888 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1611, allocations: 483.1 kB / 0.5892 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.1613, allocations: 159.2 kB / 0.5894 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.1617, allocations: 354.1 kB / 0.5897 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.1633, allocations: 1.264 MB / 0.5909 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1634, allocations: 8 kB / 0.5909 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1634, allocations: 0 / 0.5909 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.1634, allocations: 0 / 0.5909 GB, free: 11.18 MB / 0.4981 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.002186/0.1656, allocations: 1.212 MB / 0.5921 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1656, allocations: 8.031 kB / 0.5921 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.1659, allocations: 116.3 kB / 0.5922 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.167, allocations: 0.584 MB / 0.5928 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.1671, allocations: 45.31 kB / 0.5929 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.1672, allocations: 63.98 kB / 0.5929 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.1683, allocations: 0.677 MB / 0.5936 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.1683, allocations: 3.984 kB / 0.5936 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/0.1684, allocations: 28 kB / 0.5936 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1684, allocations: 12 kB / 0.5936 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.1695, allocations: 0.6337 MB / 0.5942 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.1728, allocations: 2.044 MB / 0.5962 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.1739, allocations: 0.6216 MB / 0.5968 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.1744, allocations: 252.4 kB / 0.5971 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.1758, allocations: 0.7872 MB / 0.5979 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1758, allocations: 43.22 kB / 0.5979 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.134e-06/0.1758, allocations: 0 / 0.5979 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.0105/0.1863, allocations: 2.256 MB / 0.6001 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.1864, allocations: 89.7 kB / 0.6002 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/0.1872, allocations: 0.5707 MB / 0.6007 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.1872, allocations: 37.7 kB / 0.6008 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.1875, allocations: 388.8 kB / 0.6011 GB, free: 492 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.1877, allocations: 245.9 kB / 0.6014 GB, free: 244 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.1879, allocations: 118.3 kB / 0.6015 GB, free: 120 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1881, allocations: 386.7 kB / 0.6019 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.1885, allocations: 213.2 kB / 0.6021 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.189, allocations: 303.7 kB / 0.6024 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.1899, allocations: 0.5366 MB / 0.6029 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1899, allocations: 4 kB / 0.6029 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005199/0.1951, allocations: 1.381 MB / 0.6042 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1952, allocations: 9.812 kB / 0.6042 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1952, allocations: 8.062 kB / 0.6043 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005167/0.2003, allocations: 0.9313 MB / 0.6052 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.2007, allocations: 99.83 kB / 0.6053 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.2035, allocations: 2.828 MB / 0.608 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.2039, allocations: 55.56 kB / 0.6081 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.2039, allocations: 28 kB / 0.6081 GB, free: 9.113 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0002924/0.2042, allocations: 189.7 kB / 0.6083 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.2044, allocations: 91.41 kB / 0.6084 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005405/0.2098, allocations: 1.47 MB / 0.6098 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.2098, allocations: 15.98 kB / 0.6098 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2098, allocations: 0 / 0.6098 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.2098, allocations: 7.984 kB / 0.6098 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/0.2159, allocations: 1.954 MB / 0.6117 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2159, allocations: 0 / 0.6117 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.2162, allocations: 67.91 kB / 0.6118 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005166/0.2214, allocations: 0.9393 MB / 0.6127 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.2214, allocations: 23.98 kB / 0.6127 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/0.2242, allocations: 2.803 MB / 0.6155 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2242, allocations: 4.031 kB / 0.6155 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.2297, allocations: 1.763 MB / 0.6172 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.23, allocations: 135.3 kB / 0.6173 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-05/0.2301, allocations: 19.89 kB / 0.6173 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.2304, allocations: 19.94 kB / 0.6174 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.2305, allocations: 56.44 kB / 0.6174 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.2306, allocations: 20.19 kB / 0.6174 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005363/0.2311, allocations: 407 kB / 0.6178 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2311, allocations: 4 kB / 0.6178 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008192/0.2319, allocations: 283.4 kB / 0.6181 GB, free: 14.59 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 (40): * Single equations (assignments): 37 * 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.000576/0.2325, allocations: 390.8 kB / 0.6185 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.2339, allocations: 0.6568 MB / 0.6191 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2339, allocations: 0 / 0.6191 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007502/0.2346, allocations: 426.3 kB / 0.6195 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.2356, allocations: 203.2 kB / 0.6197 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.2382, allocations: 1.544 MB / 0.6212 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.2386, allocations: 369.2 kB / 0.6216 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003358/0.2389, allocations: 111 kB / 0.6217 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.2391, allocations: 60.48 kB / 0.6217 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.2391, allocations: 3.938 kB / 0.6217 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.02516/0.2642, allocations: 14.49 MB / 0.6359 GB, free: 12.53 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (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) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 5.801555262878537]