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.001538/0.001538, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001734/0.001734, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.797 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.7312/0.7312, allocations: 100.9 MB / 413.3 MB, free: 2.867 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.002386/0.002386, allocations: 82.75 kB / 0.5646 GB, free: 35.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1126, allocations: 74.62 MB / 0.6374 GB, free: 5.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02404/0.1366, allocations: 21.17 MB / 0.6581 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.1474, allocations: 8.668 MB / 0.6666 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.1481, allocations: 43.56 kB / 0.6666 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1492, allocations: 361.5 kB / 0.6669 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.1515, allocations: 0.8112 MB / 0.6677 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1527, allocations: 470.5 kB / 0.6682 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.1543, allocations: 1.17 MB / 0.6693 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.1546, allocations: 148 kB / 0.6695 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000902/0.1555, allocations: 489.9 kB / 0.6699 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006184/0.1561, allocations: 409.7 kB / 0.6703 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1562, allocations: 60 kB / 0.6704 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.1574, allocations: 479.6 kB / 0.6708 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.1576, allocations: 167.1 kB / 0.671 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.158, allocations: 354.1 kB / 0.6713 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.16, allocations: 1.21 MB / 0.6725 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.16, allocations: 0 / 0.6725 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.16, allocations: 0 / 0.6725 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.16, allocations: 3.938 kB / 0.6725 GB, free: 1.852 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.002373/0.1624, allocations: 1.212 MB / 0.6737 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1624, allocations: 9.469 kB / 0.6737 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003514/0.1628, allocations: 116.2 kB / 0.6738 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.164, allocations: 0.5841 MB / 0.6744 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.1641, allocations: 45.31 kB / 0.6744 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1642, allocations: 60 kB / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1653, allocations: 0.6769 MB / 0.6752 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.1654, allocations: 0 / 0.6752 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-05/0.1654, allocations: 31.94 kB / 0.6752 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.1654, allocations: 16 kB / 0.6752 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1665, allocations: 0.6336 MB / 0.6758 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.1701, allocations: 2.039 MB / 0.6778 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.1712, allocations: 0.6183 MB / 0.6784 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.1716, allocations: 255.5 kB / 0.6787 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.1731, allocations: 0.7873 MB / 0.6794 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.1731, allocations: 43.2 kB / 0.6795 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.154e-06/0.1731, allocations: 0 / 0.6795 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.009907/0.183, allocations: 2.256 MB / 0.6817 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.1831, allocations: 93.75 kB / 0.6818 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.1838, allocations: 0.5668 MB / 0.6823 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.1839, allocations: 37.7 kB / 0.6824 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.1842, allocations: 388.8 kB / 0.6827 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.1844, allocations: 241.9 kB / 0.683 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.1846, allocations: 118.3 kB / 0.6831 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.1848, allocations: 386.7 kB / 0.6834 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.1852, allocations: 209.2 kB / 0.6836 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.1857, allocations: 303.7 kB / 0.6839 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009197/0.1866, allocations: 0.5444 MB / 0.6845 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1866, allocations: 0 / 0.6845 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005005/0.1916, allocations: 1.377 MB / 0.6858 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1916, allocations: 7.938 kB / 0.6858 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1916, allocations: 16 kB / 0.6858 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005005/0.1966, allocations: 0.939 MB / 0.6867 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.197, allocations: 95.89 kB / 0.6868 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.1997, allocations: 2.825 MB / 0.6896 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.2002, allocations: 55.56 kB / 0.6896 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.2002, allocations: 27.98 kB / 0.6897 GB, free: 15.79 MB / 0.5294 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.0003266/0.2005, allocations: 193.7 kB / 0.6899 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.2007, allocations: 83.42 kB / 0.6899 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/0.2059, allocations: 1.472 MB / 0.6914 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.2059, allocations: 12 kB / 0.6914 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2059, allocations: 0 / 0.6914 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2059, allocations: 8.172 kB / 0.6914 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005915/0.2119, allocations: 1.958 MB / 0.6933 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2119, allocations: 4 kB / 0.6933 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.2122, allocations: 71.91 kB / 0.6934 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004875/0.217, allocations: 0.9313 MB / 0.6943 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.2171, allocations: 16 kB / 0.6943 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.2197, allocations: 2.815 MB / 0.6971 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2197, allocations: 0 / 0.6971 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.2252, allocations: 1.767 MB / 0.6988 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.2255, allocations: 131.5 kB / 0.6989 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2256, allocations: 19.95 kB / 0.6989 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.226, allocations: 23.98 kB / 0.6989 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2261, allocations: 44.52 kB / 0.699 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.2261, allocations: 23.98 kB / 0.699 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005505/0.2267, allocations: 411.1 kB / 0.6994 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2267, allocations: 0 / 0.6994 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008705/0.2275, allocations: 287.4 kB / 0.6997 GB, free: 5.262 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.0005819/0.2281, allocations: 379.2 kB / 0.7 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.2295, allocations: 0.6723 MB / 0.7007 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2295, allocations: 0 / 0.7007 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.2303, allocations: 430.3 kB / 0.7011 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2313, allocations: 201.2 kB / 0.7013 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.2341, allocations: 1.557 MB / 0.7028 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.2345, allocations: 357.6 kB / 0.7032 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003338/0.2348, allocations: 111.5 kB / 0.7033 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.2349, allocations: 51.42 kB / 0.7033 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.2349, allocations: 4 kB / 0.7033 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of Templates: time 0.02788/0.2628, allocations: 15.6 MB / 0.7186 GB, free: 2.109 MB / 0.545 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: 5.9030103627592325]